Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4344282ybl; Tue, 20 Aug 2019 10:27:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqxILCD02hfz53/S3x8Q2eqwaVDzujE8FWktG7foEZb/2boQI6Pcd113YCqgGDR97a75+79n X-Received: by 2002:a17:902:a6:: with SMTP id a35mr13943904pla.130.1566322061947; Tue, 20 Aug 2019 10:27:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566322061; cv=none; d=google.com; s=arc-20160816; b=WUDEnL47/x8FCKnJQlpbfHx21RvP/UaUNqhYZPvS+C6MdISqfp64dK+1Qcv4ySmtxD O0tn655WYDRiPQlJJUkalGNVfZXTQFgEzQ+mMCj/bXRjA9cHNoCoD68gwHVGgmIkha0/ dlXcc4Xf2vO6NTxSS+PxoZt/nbEYyRqgQBI1Tw0lDDkjt8AnxfuQ7QqseeNJzdDwHAYI B5ZT+fm0P9m3NN9WKrpbci7N8oR7CIuyEYbjM6KQT32qrL5ACwmwDRfJntz98eTfz/zc xPg+nLQQ58LqMsASFWjA32OT55G2khA0DhfJ91MPd5Cvl8QIKZwupX8iErW5P+m5ScGM laMw== 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=VHy9FsMf/8xyMNJTFgpmspn/5lo/Fg96TlYDieBOOQ0=; b=UNhuMc0FWnk1ElUSwLjHIMehHLThxpalbAf9E6kYp4fDlwl2BdbuDnD+AUMlI2K820 qdZfr6cr/EuOj1KH+YqPy3IvVSzRJTbw3vga7g+Xdh9h66+yTdZUVDHcJJqzA3w0atjD YaZOqmclXCYjL1JmcOjJENdVl2OUXAcw0PbMTWz583WWt4gLrkFsgyhaFEiD95ADnDWO awY3FboK/Zk8P9EYZAdN7x0NxARSPf2s4nBgcK2YkVRSreDfATQwvIlrDfbULyP3czU6 O7seu0Bjk5I82kz+dYdCBrv/Iwkvv2bGkTCbbQHJR/VKq/FjzRtyofNsm5RhY44U8l1x gv6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UH+hRYux; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 j4si13486294pfa.141.2019.08.20.10.27.26; Tue, 20 Aug 2019 10:27:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=UH+hRYux; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1730695AbfHTRZx (ORCPT + 99 others); Tue, 20 Aug 2019 13:25:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:48956 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730638AbfHTRZx (ORCPT ); Tue, 20 Aug 2019 13:25:53 -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 BEC4E22DD6; Tue, 20 Aug 2019 17:25:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566321952; bh=SxyONdR/tM8eQiXxR1+O2jh66XLn8xoBHmSLNiEyJoU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UH+hRYuxA/8xHKRYzDhDM/7FW60RBTQIcUJ2AScBxRu22Ysq1iHx42YqT6mmVuWfK UM9IQzU32ImfYlEjZcKLMKUFgjSm0TKf0PJS6uT54OtVZ23otlEunbao3py/G81fyu sEQEpuzGjxrsVhQlV9FYZnhxCgHkSeT91AeHPO0w= 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 v3 8/8] arm64: dts: qcom: sm8150: Add apps shared nodes Date: Tue, 20 Aug 2019 22:53:51 +0530 Message-Id: <20190820172351.24145-10-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190820172351.24145-1-vkoul@kernel.org> References: <20190820172351.24145-1-vkoul@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 63 ++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 3bed04d60dea..781905e9977a 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 = <1>; #size-cells = <1>; @@ -305,6 +322,11 @@ }; }; + tcsr_mutex_regs: syscon@1f40000 { + compatible = "syscon"; + reg = <0x01f40000 0x40000>; + }; + tlmm: pinctrl@3100000 { compatible = "qcom,sm8150-pinctrl"; reg = <0x03100000 0x300000>, @@ -320,6 +342,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; @@ -329,6 +361,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>; @@ -388,6 +426,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>, -- 2.20.1