From patchwork Wed Aug 21 18:42:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171989 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp1347792ily; Wed, 21 Aug 2019 11:44:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwSB46wV52Nhoi/+2RUv46QP3zEmRwP5a0lJRpGKWM868lx3Xbhx4b0lp9ZFr8EeAzEnEuX X-Received: by 2002:a17:902:a410:: with SMTP id p16mr19532407plq.150.1566413083036; Wed, 21 Aug 2019 11:44:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566413083; cv=none; d=google.com; s=arc-20160816; b=J/GPva46Lm8y1gqHCKn5311Pt9coWbVZTcfeOmGiUjix1V0+N28efIlFH8owgyOxyU TMoM3PmRXF/TReGsrdqpr5l/Q0fLB1KfjNUoMmFySRCUkymP0KZx7wXEN1kwZNNKvJkN t8zWz2wIwPjYWJT8+htIAGBvNhiooR03omSSjCvhBnHlxYKi8C3eDLjH5jgNCnwCA3RM tAhqLUlQC6Umj5k5JpesOwabG0GYPctfODgKH2iYRClJZDc95YyRP+JspuVDl/c81gwv l9yzfpDbHR0HbGR0QnOp/QRi/Y2XF6p2G4ILxwysgmQYfzFwo2z0NPo4SB/K8UZ72nNy wY4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pkbsT/9CJxSik8EZYafsePMBWov2sYt4JxC3pHbdQCg=; b=bdbAA7Clk+PoAuvDO5NvyvNMH+5QYJOCcCr+5T5d0C3kStFzYC+jtgK1jXlfwy0HZR OnhFycbEeH+9gXpMCBG+Wmj7vufnathMjs5P7L6N9zeBQdbPB75TEYiXCeyeEhFbHCZy xTeXJZz6z9ZR405ZHehZzRqZcDaOdEWpv8sJBawBTt0RJotT2UzHcj06kWqk/o++ojHa hZpaNXvDAt+nK7GeunaCLWyJlQ+SaRDQS4f0SVj7EmbQoS0uCdWOXZScnGHGOWoCOqxL QtRNWpOKP6m/l+eaDtZ9SKaKzQilf4NV1vl4vaVazbMNt+82HTzLzVbBYi/Uj7tOMrWr spFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yhwpjn0j; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3si520126pjt.107.2019.08.21.11.44.42; Wed, 21 Aug 2019 11:44:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yhwpjn0j; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728175AbfHUSom (ORCPT + 8 others); Wed, 21 Aug 2019 14:44:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:40384 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727685AbfHUSom (ORCPT ); Wed, 21 Aug 2019 14:44:42 -0400 Received: from localhost.localdomain (unknown [106.201.100.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B47AC214DA; Wed, 21 Aug 2019 18:44:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566413080; bh=hCktM8GcuwpJvQ7AURIkhebu2j7uMWcei5qNOl1nD58=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yhwpjn0jk6Pcr/+9N51w3KcLyzaof8a7ATZBDH1Rx75plnIO2Mh6eqB2M0LDUBQCr OLyk89pvJDmdJFdPHtJlYv1ZMwr/+Eab+tKThaonskRpTx0uWG/FmsOIJnFNn7KpGh AtTzvDAfGxHydbLqZEYOTqywn+qrLw1DGkZc1qCE= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , Sibi Sankar , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Niklas Cassel Subject: [PATCH v4 8/8] arm64: dts: qcom: sm8150: Add apps shared nodes Date: Thu, 22 Aug 2019 00:12:39 +0530 Message-Id: <20190821184239.12364-9-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190821184239.12364-1-vkoul@kernel.org> References: <20190821184239.12364-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add hwlock, pmu, smem, tcsr_mutex_regs, apss_shared mailbox, apps_rsc including the rpmhcc child nodes to the SM8150 DTSI Co-developed-by: Sibi Sankar Signed-off-by: Sibi Sankar Signed-off-by: Vinod Koul Reviewed-by: Niklas Cassel --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 63 ++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index c739b4647db9..8f23fcadecb8 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -144,12 +144,23 @@ }; }; + tcsr_mutex: hwlock { + compatible = "qcom,tcsr-mutex"; + syscon = <&tcsr_mutex_regs 0 0x1000>; + #hwlock-cells = <1>; + }; + memory@80000000 { device_type = "memory"; /* We expect the bootloader to fill in the size */ reg = <0x0 0x80000000 0x0 0x0>; }; + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = ; + }; + psci { compatible = "arm,psci-1.0"; method = "smc"; @@ -266,6 +277,12 @@ }; }; + smem { + compatible = "qcom,smem"; + memory-region = <&smem_mem>; + hwlocks = <&tcsr_mutex 3>; + }; + soc: soc@0 { #address-cells = <2>; #size-cells = <2>; @@ -306,6 +323,11 @@ }; }; + tcsr_mutex_regs: syscon@1f40000 { + compatible = "syscon"; + reg = <0x0 0x01f40000 0x0 0x40000>; + }; + tlmm: pinctrl@3100000 { compatible = "qcom,sm8150-pinctrl"; reg = <0x0 0x03100000 0x0 0x300000>, @@ -321,6 +343,16 @@ #interrupt-cells = <2>; }; + aoss_qmp: power-controller@c300000 { + compatible = "qcom,sm8150-aoss-qmp"; + reg = <0x0 0x0c300000 0x0 0x100000>; + interrupts = ; + mboxes = <&apss_shared 0>; + + #clock-cells = <0>; + #power-domain-cells = <1>; + }; + spmi_bus: spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x0 0x0c440000 0x0 0x0001100>, @@ -349,6 +381,12 @@ interrupts = ; }; + apss_shared: mailbox@17c00000 { + compatible = "qcom,sm8150-apss-shared"; + reg = <0x0 0x17c00000 0x0 0x1000>; + #mbox-cells = <1>; + }; + timer@17c20000 { #address-cells = <2>; #size-cells = <2>; @@ -407,6 +445,31 @@ status = "disabled"; }; }; + + apps_rsc: rsc@18200000 { + label = "apps_rsc"; + compatible = "qcom,rpmh-rsc"; + reg = <0x0 0x18200000 0x0 0x10000>, + <0x0 0x18210000 0x0 0x10000>, + <0x0 0x18220000 0x0 0x10000>; + reg-names = "drv-0", "drv-1", "drv-2"; + interrupts = , + , + ; + qcom,tcs-offset = <0xd00>; + qcom,drv-id = <2>; + qcom,tcs-config = , + , + , + ; + + rpmhcc: clock-controller { + compatible = "qcom,sm8150-rpmh-clk"; + #clock-cells = <1>; + clock-names = "xo"; + clocks = <&xo_board>; + }; + }; }; timer {