Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1213025ybl; Wed, 21 Aug 2019 11:47:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqwyRI+j94mVJemAS6j0bnxkGBPODV0AfPTDc4jLSHLowVPl63fG9HBRVVTyICX79Jy9i9KP X-Received: by 2002:a17:902:b40c:: with SMTP id x12mr234937plr.81.1566413279239; Wed, 21 Aug 2019 11:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566413279; cv=none; d=google.com; s=arc-20160816; b=r0XOol8fNpaMnMcpDJmkjtClJtVmEo4dWZj5JTzkXUuQlvRBnmXfxmjEuZok4vDfi5 Tyj7E2GT9RSXbrgnruzW1f+u1NrQCfIPo1X6/LtaJ0r0yVtiBuIkg4oirwvQXVtdXfNw reH98qd71H5CALa6BIadvRJfR1RElkwVD6McAWfeV50r2oer94hpCR/vWzUnNU3NajwB ZH1LSegoMC3HXerO3rChaxqqz7m0Ui8FRFahK8Vj9gVlKS1oD76NGQPxaB9YsN8uXKxW oeORGT1JkoXmLQ8BAW5HgXvLsTDaXsPpaJzcLdzNqNXRxa6wC0Lvhwq8jM0VNOxaGbbL pp0A== 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=JMn/1JpnNmrguZeHqd3DxRXfiDcti2d7oCO+WvXB6gV3rMPjjWyApXg9FDhV8FcvOi ncPKR8UWdzKRkAAadW+FhqcnPoQJQWr3kb9e5oX+H4VyVETA+0zOZZbfgCP2INHAw4CV Owxzh9+IOhhHu6OZlUeogK1qtV4FJRCkTC6YK+GFN9tKvgKAloKILwk8vaBa0xGpWcNd t2RXhveUcKwgJAx96Ar7R0oAO55qHrYVJrCIvOXGoSHIN1Chvo+DxxagOB0N64eeAh5u lvaTXS+RX2cwr+CPwx/6jGCzPQorLa4j4Oei9RufSfQaR7o4G2LjDqXcr6x39234jwfJ 97qg== 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 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 q11si496315pjv.95.2019.08.21.11.47.44; Wed, 21 Aug 2019 11:47:59 -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=yhwpjn0j; 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 S1729184AbfHUSom (ORCPT + 99 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 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 Reviewed-by: Niklas Cassel --- 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 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 { -- 2.20.1