From patchwork Tue Aug 20 06:42:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171779 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp3992918ily; Mon, 19 Aug 2019 23:44:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqz66yZSpNyvqWgbSd+iD7X709CM3qm/OJns7eiSxtRwSyLw6A/98N32yuvIKJFXqz/1Jb/s X-Received: by 2002:a62:1a45:: with SMTP id a66mr29133369pfa.142.1566283481572; Mon, 19 Aug 2019 23:44:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566283481; cv=none; d=google.com; s=arc-20160816; b=Ed0EBkv5Dz1cr/wj13Oze1hqrD+ZR8V3pSINzHpytQ5X1yR97pJDWtbRLlMnyOFYNu 4VqQmP2ilCvaRRGChKwbHR0XyqHsF/+ywSwr4voUPyDgtNYjw2ReVPa/gOTkA9JDpHTH WdfqpQCRJfR1CRUl5QxruFrhADfMof55yCvgLo7N8l4YKvW35rGsdgISvGAGq6bWarfJ IO7KyYcHllom+2O4d/pSMcOjNZmeE4gIBOxSuR2TtRqypcMSwsPpBrx3BzWfGeEGYHy7 csJ/QZZ6Q9UlJJSMq0SXfAfTzE9qmuOUupYHUBBqvsnl9JgnkX+IlZcz3fJAr3RlyetA fCYA== 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=m67KrS4PBW1DJZI/4nA/PxdlORv5p7up9kPkIvYFA+A=; b=eWYi6nwrr9mxfel+NkxUNcxak62MEAGk/KxHNVM29PQZyw3kA4jCPq+yGCCNPqglyh moG2FEl7fA0S65SpkBJn93zxOIiqdikp0SQHC+yT2Ku3v/WmdRt92ddLWyWeE1jTN9NL dok2d+TeYCR1Wax83i8ZLqLSmJYMQz8ENirHK1zM+wTFbWj9FsHyKVak0xxvk+kNv8ev 674pKs6mmgiS2Cu6CFeng8yqsPSLXwmNvRwwgWxqnCNx3djka5KGhymDOWLYFMTM8h0E 1hlpDcKUTl8IvNQRinv5iWjrt2tZ6PTb6uJtQBMRt2+KiE0529NE+zbhrSO7jtSjiZme x2Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XjS884YC; 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 z3si5776619pju.89.2019.08.19.23.44.41; Mon, 19 Aug 2019 23:44:41 -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=XjS884YC; 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 S1729000AbfHTGok (ORCPT + 8 others); Tue, 20 Aug 2019 02:44:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:40302 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729273AbfHTGok (ORCPT ); Tue, 20 Aug 2019 02:44:40 -0400 Received: from localhost.localdomain (unknown [106.201.62.126]) (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 F29AF2082F; Tue, 20 Aug 2019 06:44:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566283479; bh=avgQr0nAKi9Nm14cJjqVKLyuHxantFYztUHzrSX7h0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XjS884YCr3suQERr1OV2u+BcFisAgMI5L9RPSlPLLDrmPAmCmW1gvfuXeiqg/Bomx A1huOWd9tzGWaI4PPyZIFtw1hWHaMDZcb39CDPT0xCUZlKidksbXDhhahKWnCzU/Dw dI2mhyK1p6TUgkYZFxNGfifLwT3cpnlD4iQ72ENs= 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 Subject: [PATCH v2 8/8] arm64: dts: qcom: sm8150: Add apps shared nodes Date: Tue, 20 Aug 2019 12:12:16 +0530 Message-Id: <20190820064216.8629-9-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190820064216.8629-1-vkoul@kernel.org> References: <20190820064216.8629-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 apss_shared and apps_rsc including the rpmhcc child node, pmu, SMEM nodes Co-developed-by: Sibi Sankar Signed-off-by: Sibi Sankar Signed-off-by: Vinod Koul --- 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 8bf4b4c17ae0..cf58b367df28 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -142,12 +142,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 = <0 0x80000000 0 0>; }; + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = ; + }; + psci { compatible = "arm,psci-1.0"; method = "smc"; @@ -264,6 +275,12 @@ }; }; + smem { + compatible = "qcom,smem"; + memory-region = <&smem_mem>; + hwlocks = <&tcsr_mutex 3>; + }; + soc: soc@0 { #address-cells = <1>; #size-cells = <1>; @@ -303,6 +320,11 @@ }; }; + tcsr_mutex_regs: syscon@1f40000 { + compatible = "syscon"; + reg = <0x01f40000 0x40000>; + }; + tlmm: pinctrl@3100000 { compatible = "qcom,sm8150-pinctrl"; reg = <0x03100000 0x300000>, @@ -318,6 +340,16 @@ #interrupt-cells = <2>; }; + aoss_qmp: power-controller@c300000 { + compatible = "qcom,sm8150-aoss-qmp"; + reg = <0x0c300000 0x100000>; + interrupts = ; + mboxes = <&apss_shared 0>; + + #clock-cells = <0>; + #power-domain-cells = <1>; + }; + intc: interrupt-controller@17a00000 { compatible = "arm,gic-v3"; interrupt-controller; @@ -327,6 +359,12 @@ interrupts = ; }; + apss_shared: mailbox@17c00000 { + compatible = "qcom,sm8150-apss-shared"; + reg = <0x17c00000 0x1000>; + #mbox-cells = <1>; + }; + timer@17c20000 { #address-cells = <1>; #size-cells = <1>; @@ -386,6 +424,31 @@ }; }; + apps_rsc: rsc@18200000 { + label = "apps_rsc"; + compatible = "qcom,rpmh-rsc"; + reg = <0x18200000 0x10000>, + <0x18210000 0x10000>, + <0x18220000 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>; + }; + }; + spmi_bus: spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x0c440000 0x0001100>,