~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/mediatek/mt8167.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * Copyright (c) 2020 MediaTek Inc.
  4  * Copyright (c) 2020 BayLibre, SAS.
  5  * Author: Fabien Parent <fparent@baylibre.com>
  6  */
  7 
  8 #include <dt-bindings/clock/mt8167-clk.h>
  9 #include <dt-bindings/memory/mt8167-larb-port.h>
 10 #include <dt-bindings/power/mt8167-power.h>
 11 
 12 #include "mt8167-pinfunc.h"
 13 
 14 #include "mt8516.dtsi"
 15 
 16 / {
 17         compatible = "mediatek,mt8167";
 18 
 19         soc {
 20                 topckgen: topckgen@10000000 {
 21                         compatible = "mediatek,mt8167-topckgen", "syscon";
 22                         reg = <0 0x10000000 0 0x1000>;
 23                         #clock-cells = <1>;
 24                 };
 25 
 26                 infracfg: infracfg@10001000 {
 27                         compatible = "mediatek,mt8167-infracfg", "syscon";
 28                         reg = <0 0x10001000 0 0x1000>;
 29                         #clock-cells = <1>;
 30                 };
 31 
 32                 apmixedsys: apmixedsys@10018000 {
 33                         compatible = "mediatek,mt8167-apmixedsys", "syscon";
 34                         reg = <0 0x10018000 0 0x710>;
 35                         #clock-cells = <1>;
 36                 };
 37 
 38                 scpsys: syscon@10006000 {
 39                         compatible = "mediatek,mt8167-scpsys", "syscon", "simple-mfd";
 40                         reg = <0 0x10006000 0 0x1000>;
 41 
 42                         spm: power-controller {
 43                                 compatible = "mediatek,mt8167-power-controller";
 44                                 #address-cells = <1>;
 45                                 #size-cells = <0>;
 46                                 #power-domain-cells = <1>;
 47 
 48                                 /* power domains of the SoC */
 49                                 power-domain@MT8167_POWER_DOMAIN_MM {
 50                                         reg = <MT8167_POWER_DOMAIN_MM>;
 51                                         clocks = <&topckgen CLK_TOP_SMI_MM>;
 52                                         clock-names = "mm";
 53                                         #power-domain-cells = <0>;
 54                                         mediatek,infracfg = <&infracfg>;
 55                                 };
 56 
 57                                 power-domain@MT8167_POWER_DOMAIN_VDEC {
 58                                         reg = <MT8167_POWER_DOMAIN_VDEC>;
 59                                         clocks = <&topckgen CLK_TOP_SMI_MM>,
 60                                                  <&topckgen CLK_TOP_RG_VDEC>;
 61                                         clock-names = "mm", "vdec";
 62                                         #power-domain-cells = <0>;
 63                                 };
 64 
 65                                 power-domain@MT8167_POWER_DOMAIN_ISP {
 66                                         reg = <MT8167_POWER_DOMAIN_ISP>;
 67                                         clocks = <&topckgen CLK_TOP_SMI_MM>;
 68                                         clock-names = "mm";
 69                                         #power-domain-cells = <0>;
 70                                 };
 71 
 72                                 power-domain@MT8167_POWER_DOMAIN_MFG_ASYNC {
 73                                         reg = <MT8167_POWER_DOMAIN_MFG_ASYNC>;
 74                                         clocks = <&topckgen CLK_TOP_RG_AXI_MFG>,
 75                                                  <&topckgen CLK_TOP_RG_SLOW_MFG>;
 76                                         clock-names = "axi_mfg", "mfg";
 77                                         #address-cells = <1>;
 78                                         #size-cells = <0>;
 79                                         #power-domain-cells = <1>;
 80                                         mediatek,infracfg = <&infracfg>;
 81 
 82                                         power-domain@MT8167_POWER_DOMAIN_MFG_2D {
 83                                                 reg = <MT8167_POWER_DOMAIN_MFG_2D>;
 84                                                 #address-cells = <1>;
 85                                                 #size-cells = <0>;
 86                                                 #power-domain-cells = <1>;
 87 
 88                                                 power-domain@MT8167_POWER_DOMAIN_MFG {
 89                                                         reg = <MT8167_POWER_DOMAIN_MFG>;
 90                                                         #power-domain-cells = <0>;
 91                                                         mediatek,infracfg = <&infracfg>;
 92                                                 };
 93                                         };
 94                                 };
 95 
 96                                 power-domain@MT8167_POWER_DOMAIN_CONN {
 97                                         reg = <MT8167_POWER_DOMAIN_CONN>;
 98                                         #power-domain-cells = <0>;
 99                                         mediatek,infracfg = <&infracfg>;
100                                 };
101                         };
102                 };
103 
104                 imgsys: syscon@15000000 {
105                         compatible = "mediatek,mt8167-imgsys", "syscon";
106                         reg = <0 0x15000000 0 0x1000>;
107                         #clock-cells = <1>;
108                 };
109 
110                 vdecsys: syscon@16000000 {
111                         compatible = "mediatek,mt8167-vdecsys", "syscon";
112                         reg = <0 0x16000000 0 0x1000>;
113                         #clock-cells = <1>;
114                 };
115 
116                 pio: pinctrl@1000b000 {
117                         compatible = "mediatek,mt8167-pinctrl";
118                         reg = <0 0x1000b000 0 0x1000>;
119                         mediatek,pctl-regmap = <&syscfg_pctl>;
120                         gpio-controller;
121                         #gpio-cells = <2>;
122                         interrupt-controller;
123                         #interrupt-cells = <2>;
124                         interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
125                 };
126 
127                 mmsys: syscon@14000000 {
128                         compatible = "mediatek,mt8167-mmsys", "syscon";
129                         reg = <0 0x14000000 0 0x1000>;
130                         #clock-cells = <1>;
131                 };
132 
133                 smi_common: smi@14017000 {
134                         compatible = "mediatek,mt8167-smi-common";
135                         reg = <0 0x14017000 0 0x1000>;
136                         clocks = <&mmsys CLK_MM_SMI_COMMON>,
137                                  <&mmsys CLK_MM_SMI_COMMON>;
138                         clock-names = "apb", "smi";
139                         power-domains = <&spm MT8167_POWER_DOMAIN_MM>;
140                 };
141 
142                 larb0: larb@14016000 {
143                         compatible = "mediatek,mt8167-smi-larb";
144                         reg = <0 0x14016000 0 0x1000>;
145                         mediatek,smi = <&smi_common>;
146                         clocks = <&mmsys CLK_MM_SMI_LARB0>,
147                                  <&mmsys CLK_MM_SMI_LARB0>;
148                         clock-names = "apb", "smi";
149                         power-domains = <&spm MT8167_POWER_DOMAIN_MM>;
150                 };
151 
152                 larb1: larb@15001000 {
153                         compatible = "mediatek,mt8167-smi-larb";
154                         reg = <0 0x15001000 0 0x1000>;
155                         mediatek,smi = <&smi_common>;
156                         clocks = <&imgsys CLK_IMG_LARB1_SMI>,
157                                  <&imgsys CLK_IMG_LARB1_SMI>;
158                         clock-names = "apb", "smi";
159                         power-domains = <&spm MT8167_POWER_DOMAIN_ISP>;
160                 };
161 
162                 larb2: larb@16010000 {
163                         compatible = "mediatek,mt8167-smi-larb";
164                         reg = <0 0x16010000 0 0x1000>;
165                         mediatek,smi = <&smi_common>;
166                         clocks = <&vdecsys CLK_VDEC_CKEN>,
167                                  <&vdecsys CLK_VDEC_LARB1_CKEN>;
168                         clock-names = "apb", "smi";
169                         power-domains = <&spm MT8167_POWER_DOMAIN_VDEC>;
170                 };
171 
172                 iommu: m4u@10203000 {
173                         compatible = "mediatek,mt8167-m4u";
174                         reg = <0 0x10203000 0 0x1000>;
175                         mediatek,larbs = <&larb0>, <&larb1>, <&larb2>;
176                         interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_LOW>;
177                         #iommu-cells = <1>;
178                 };
179         };
180 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php