Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1378433ybi; Wed, 19 Jun 2019 19:39:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnD1DJa6aau1o47FDqkVrCvkHNVlzIdLOv/ftrgw0FPI85YQ1J4aWDulD8aik6rjXgDCfb X-Received: by 2002:a65:50c3:: with SMTP id s3mr10655003pgp.177.1560998388331; Wed, 19 Jun 2019 19:39:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560998388; cv=none; d=google.com; s=arc-20160816; b=gKde08DV2FzhAr7I1EpKsyMUMH9q+qqjdCVHmRIkpzHLBcTNJTs6mxW7qCIvxF7DaA I9LNYl1lxI8lvyoes9Ea9aQYK2F0U5jFc49U8wloUKw8UPNeixg85PJt5FwX2r2BnnSb jlcBYcNtFfNOaIMQoH3BHbsJq6r+6Ks31A1BkPGKLWpjiNCEkP0ZzTfnL8OkZ8pnykI5 5+1eVzvVwln73rqnTjN2JE5649tgPebZCEMd4bm5naacUWkUdWTtpl+VDcmJcSRGJpCh 7i5E2Mo4glJ9VQXn7wiwiC37AhBr/rZnNODlchGeKvM2Og/dEH6CBUpApsy1wrUMihhD WUjQ== 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=Aj6Gyrj/MtFEURfgL4iL52ecAU1Ntkbw7de4TSLfh4c=; b=rAnrOM+3bevUcGoYrUZit0PtkYR4YNMIHTM3JUkRe8kpPEV2F3kRFrEk/ZIMQnTcmC n50fVRrlB3/WBDbq6ND4g6gmCpiPcMCYOPWsdsgr5ood6X2sx4fzM8p3L8brOeBEdRE3 nPutYBnPVxPhZz3Pn5aaPL43CTMKdRvYbJqF+Npmz+AREVZWRJvo2PMbgwvq1pk1D6tc viLuDEknjbk+//4cWrCKp5jF+CNut7EjsXNxVlJE8WTD9FZlhRHyBhDmygiqAmrKNSoP IM+SjvM9bakmc/8lsS+sjrmQ3p/BpwsrtsL2frUuHqHZREC+fqS2ZgkM+YseZyFUKN8/ +pog== 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 a14si4583597pgm.206.2019.06.19.19.39.32; Wed, 19 Jun 2019 19:39:48 -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 S1731670AbfFTCjB (ORCPT + 99 others); Wed, 19 Jun 2019 22:39:01 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:25309 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1731358AbfFTCid (ORCPT ); Wed, 19 Jun 2019 22:38:33 -0400 X-UUID: 7cdb53777c6d40dd95594d017f91e663-20190620 X-UUID: 7cdb53777c6d40dd95594d017f91e663-20190620 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1926986207; Thu, 20 Jun 2019 10:38:22 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 20 Jun 2019 10:38:20 +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; Thu, 20 Jun 2019 10:38:20 +0800 From: Weiyi Lu To: Nicolas Boichat , Matthias Brugger , Rob Herring CC: James Liao , Fan Chen , , , , , Weiyi Lu , Yong Wu Subject: [PATCH v6 14/14] arm64: dts: Add power controller device node of MT8183 Date: Thu, 20 Jun 2019 10:38:06 +0800 Message-ID: <1560998286-9189-15-git-send-email-weiyi.lu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1560998286-9189-1-git-send-email-weiyi.lu@mediatek.com> References: <1560998286-9189-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 08274bf..75c4881 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>; -- 1.8.1.1.dirty