Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1143202img; Tue, 19 Mar 2019 01:03:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDTIu/s9HTs8kZAyN3FlGZChgM0eQj8Eclw2sB2iIHHlSOtuF5jF0tdX3iQs+CYBrt9wk0 X-Received: by 2002:a17:902:3a5:: with SMTP id d34mr676020pld.174.1552982635956; Tue, 19 Mar 2019 01:03:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552982635; cv=none; d=google.com; s=arc-20160816; b=AmOnnYcseZjanmqjp7qYl/uG1QZyG7p7GJtWGKEMWZhkrBKDP7+ZdAexieHEVmMQU1 fv/AmKGAklRwr1b/gCmo1DULHOey+0SR+IhZMoBou2EuAJh2YoO3owbiFy3Fhv64jLsT YVPUkhD8bEYNvPofzPXsZWZX60GWlDjP089KYzrU1Pp212Bo3/anFEvubU29PxBE1Njt TsGTSZhGVAVw4Ry0UzsbZXTClmbmVmpzI0COVoMQMrXHQ+C8azDA2eSzlIXFDjwOPFZL JJPkLsgt5f24Zcu9RudgxGYs9CUNwHH99Gj/tJUJUFmog+sSXSwLik4CPdvWxxI/bc4b 4WDA== 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=pqCrLxNnk7e6V53YBbf3TrEKVybzlZQDYzyiMqQxsbs=; b=dXTe1TTJdFVcS0mtgMDuOd3MJCNU85G08A9x30wSclONN8qJlIEFZ2NsgcLKcyldh3 RALwSf+LmBqcMefAJXnKKPKezAgFOiCZRyENKX99zo7PS4NCEA+iJL+dCpXt+7NUz1v7 RbXVGZ0tL73rr06h4Gmb/HKa+oU2xJ8ZLSFGtReC357E0PNVtB9Z0GfoWpojGiRI2yNp lfo8lVlrHlrp3YFu9YKciH3tFPt4746l+cZwE7tI32X4dLPyZOjOmKWR3OLA/5zipmj7 9pO/GlWVJKrSfg9AB1g0KPGtqO09mbYSjzsolCLbw2FFrauweqrP9fJ1+a9VelPA/at7 qlvA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si10649316pgp.154.2019.03.19.01.03.40; Tue, 19 Mar 2019 01:03:55 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727598AbfCSICn (ORCPT + 99 others); Tue, 19 Mar 2019 04:02:43 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:31335 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727237AbfCSICG (ORCPT ); Tue, 19 Mar 2019 04:02:06 -0400 X-UUID: c1202088b77243da8568fc070e450e61-20190319 X-UUID: c1202088b77243da8568fc070e450e61-20190319 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1346460758; Tue, 19 Mar 2019 16:01:59 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs03n1.mediatek.inc (172.21.101.181) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 19 Mar 2019 16:01:58 +0800 Received: from mtkslt210.mediatek.inc (10.21.14.14) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 19 Mar 2019 16:01:58 +0800 From: Weiyi Lu To: Nicolas Boichat , Matthias Brugger , Rob Herring CC: James Liao , Fan Chen , , , , , Weiyi Lu Subject: [PATCH v5 14/14] arm64: dts: Add power controller device node of MT8183 Date: Tue, 19 Mar 2019 16:01:40 +0800 Message-ID: <20190319080140.24055-15-weiyi.lu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190319080140.24055-1-weiyi.lu@mediatek.com> References: <20190319080140.24055-1-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 08274bfcebd8..75c4881bbe5e 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 / { compatible = "mediatek,mt8183"; @@ -196,6 +197,62 @@ #clock-cells = <1>; }; + 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>; @@ -260,6 +317,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>; -- 2.18.0