Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3074184ybg; Mon, 28 Oct 2019 07:05:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqyD39vfeeCk0R9kPhgDyx0ZX0iSxUDd2fBa64EL9NR+iyi5JhQPJnIoRsIUlA50fdIEshOn X-Received: by 2002:a17:906:1e07:: with SMTP id g7mr17180237ejj.256.1572271520368; Mon, 28 Oct 2019 07:05:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572271520; cv=none; d=google.com; s=arc-20160816; b=h9pfV1NG+5VCU9Mx8VaECxYu03bm+LyMlsaMBR9ri0HLActaMHDAIp4T3Q3hw3NiSw 8KWXeclJQ5cO/YAMIlahaQ3q2JMjsvx9jrin5vKbjyFS8hMuHQHU5FJFQoz5p2Y7SV50 oFcTQdVujQyatiT7ydjvd3WwcPgyTSHznmRShMK/o+lMV/nxQxk5SQ9Te8xBgASvJB70 Ph/rWQFDmcsu2uZyqMNuYQycHV1w8ZRDdu0VlFzJ726Ppwj8d+dXDVmBGF3LWOwqaTBd jJ/ka/Z0dfr8L7nWy9bT3QJ1N3pmKyZaV2TdzQtCU8duQBAIcw8wpDFSIl1XcLKrJp5/ nSOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=TvnoLrZDINmyzAnqF/6lMmrDZGiqwKQvFZ4Sp1Z+7KA=; b=uMB92VMWbvPELbvUb2/v4h1qhwoXXd2dT/vtrCK+nXQ4Oq3qam6r8JgYX5K2DonWs0 dKD0Z6gZhFWnU3sI1cv3qNR0FiPHCYOOpy/aFJJUauy64fh/dl/3ABXVy1OzhgR3Z0sA dhi9+2ev+ex8HOUX7HosEhqQbDarwCvvvqzAK9yrh4n/RKLq7HYoLDQB3vjM86T/hK+U NaQFBXu3EwcTDVmXzeFYK9G+2cEs1nOb0Cm4xc3m9C6R/8pav4Gk5RanhAW3ce8PggxU UrlSmZ/VbENoCoYE8N5caaX5Hlv3RhtCrUuKM3JzU5wcAsoE9eZUk37zeUoOp4Wq234o YmQA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l23si1321143edc.185.2019.10.28.07.04.51; Mon, 28 Oct 2019 07:05:20 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731021AbfJ1CtJ (ORCPT + 99 others); Sun, 27 Oct 2019 22:49:09 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:8347 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730492AbfJ1Csd (ORCPT ); Sun, 27 Oct 2019 22:48:33 -0400 X-UUID: f92e7fbd52af47e5a834b965fe6a22fb-20191028 X-UUID: f92e7fbd52af47e5a834b965fe6a22fb-20191028 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 243513245; Mon, 28 Oct 2019 10:48:28 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 28 Oct 2019 10:48:27 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 28 Oct 2019 10:48:27 +0800 From: Weiyi Lu To: Nicolas Boichat , Matthias Brugger , Rob Herring CC: James Liao , Fan Chen , , , , , Weiyi Lu , Yong Wu Subject: [PATCH v8 13/14] arm64: dts: Add power controller device node of MT8183 Date: Mon, 28 Oct 2019 10:48:17 +0800 Message-ID: <1572230898-7860-14-git-send-email-weiyi.lu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1572230898-7860-1-git-send-email-weiyi.lu@mediatek.com> References: <1572230898-7860-1-git-send-email-weiyi.lu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add power controller node and smi-common node for MT8183 In scpsys node, it contains clocks and regmapping of infracfg and smi-common for bus protection. Signed-off-by: Weiyi Lu --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 62 ++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 97f84aa..6cbbd77 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include "mt8183-pinfunc.h" / { @@ -253,6 +254,62 @@ #interrupt-cells = <2>; }; + scpsys: syscon@10006000 { + compatible = "mediatek,mt8183-scpsys", "syscon"; + #power-domain-cells = <1>; + reg = <0 0x10006000 0 0x1000>; + clocks = <&topckgen CLK_TOP_MUX_AUD_INTBUS>, + <&infracfg CLK_INFRA_AUDIO>, + <&infracfg CLK_INFRA_AUDIO_26M_BCLK>, + <&topckgen CLK_TOP_MUX_MFG>, + <&topckgen CLK_TOP_MUX_MM>, + <&topckgen CLK_TOP_MUX_CAM>, + <&topckgen CLK_TOP_MUX_IMG>, + <&topckgen CLK_TOP_MUX_IPU_IF>, + <&topckgen CLK_TOP_MUX_DSP>, + <&topckgen CLK_TOP_MUX_DSP1>, + <&topckgen CLK_TOP_MUX_DSP2>, + <&mmsys CLK_MM_SMI_COMMON>, + <&mmsys CLK_MM_SMI_LARB0>, + <&mmsys CLK_MM_SMI_LARB1>, + <&mmsys CLK_MM_GALS_COMM0>, + <&mmsys CLK_MM_GALS_COMM1>, + <&mmsys CLK_MM_GALS_CCU2MM>, + <&mmsys CLK_MM_GALS_IPU12MM>, + <&mmsys CLK_MM_GALS_IMG2MM>, + <&mmsys CLK_MM_GALS_CAM2MM>, + <&mmsys CLK_MM_GALS_IPU2MM>, + <&imgsys CLK_IMG_LARB5>, + <&imgsys CLK_IMG_LARB2>, + <&camsys CLK_CAM_LARB6>, + <&camsys CLK_CAM_LARB3>, + <&camsys CLK_CAM_SENINF>, + <&camsys CLK_CAM_CAMSV0>, + <&camsys CLK_CAM_CAMSV1>, + <&camsys CLK_CAM_CAMSV2>, + <&camsys CLK_CAM_CCU>, + <&ipu_conn CLK_IPU_CONN_IPU>, + <&ipu_conn CLK_IPU_CONN_AHB>, + <&ipu_conn CLK_IPU_CONN_AXI>, + <&ipu_conn CLK_IPU_CONN_ISP>, + <&ipu_conn CLK_IPU_CONN_CAM_ADL>, + <&ipu_conn CLK_IPU_CONN_IMG_ADL>; + clock-names = "audio", "audio1", "audio2", + "mfg", "mm", "cam", + "isp", "vpu", "vpu1", + "vpu2", "vpu3", "mm-0", + "mm-1", "mm-2", "mm-3", + "mm-4", "mm-5", "mm-6", + "mm-7", "mm-8", "mm-9", + "isp-0", "isp-1", "cam-0", + "cam-1", "cam-2", "cam-3", + "cam-4", "cam-5", "cam-6", + "vpu-0", "vpu-1", "vpu-2", + "vpu-3", "vpu-4", "vpu-5"; + infracfg = <&infracfg>; + smi_comm = <&smi_common>; + }; + apmixedsys: syscon@1000c000 { compatible = "mediatek,mt8183-apmixedsys", "syscon"; reg = <0 0x1000c000 0 0x1000>; @@ -585,6 +642,11 @@ #clock-cells = <1>; }; + smi_common: smi@14019000 { + compatible = "mediatek,mt8183-smi-common", "syscon"; + reg = <0 0x14019000 0 0x1000>; + }; + imgsys: syscon@15020000 { compatible = "mediatek,mt8183-imgsys", "syscon"; reg = <0 0x15020000 0 0x1000>; -- 1.8.1.1.dirty