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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/mediatek/mt7622.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 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/mediatek/mt7622.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/mediatek/mt7622.dtsi (Version linux-6.4.16)


  1 /*                                                  1 /*
  2  * Copyright (c) 2017 MediaTek Inc.                 2  * Copyright (c) 2017 MediaTek Inc.
  3  * Author: Ming Huang <ming.huang@mediatek.com>      3  * Author: Ming Huang <ming.huang@mediatek.com>
  4  *         Sean Wang <sean.wang@mediatek.com>        4  *         Sean Wang <sean.wang@mediatek.com>
  5  *                                                  5  *
  6  * SPDX-License-Identifier: (GPL-2.0 OR MIT)        6  * SPDX-License-Identifier: (GPL-2.0 OR MIT)
  7  */                                                 7  */
  8                                                     8 
  9 #include <dt-bindings/interrupt-controller/irq      9 #include <dt-bindings/interrupt-controller/irq.h>
 10 #include <dt-bindings/interrupt-controller/arm     10 #include <dt-bindings/interrupt-controller/arm-gic.h>
 11 #include <dt-bindings/clock/mt7622-clk.h>          11 #include <dt-bindings/clock/mt7622-clk.h>
 12 #include <dt-bindings/phy/phy.h>                   12 #include <dt-bindings/phy/phy.h>
 13 #include <dt-bindings/power/mt7622-power.h>        13 #include <dt-bindings/power/mt7622-power.h>
 14 #include <dt-bindings/reset/mt7622-reset.h>        14 #include <dt-bindings/reset/mt7622-reset.h>
 15 #include <dt-bindings/thermal/thermal.h>           15 #include <dt-bindings/thermal/thermal.h>
 16                                                    16 
 17 / {                                                17 / {
 18         compatible = "mediatek,mt7622";            18         compatible = "mediatek,mt7622";
 19         interrupt-parent = <&sysirq>;              19         interrupt-parent = <&sysirq>;
 20         #address-cells = <2>;                      20         #address-cells = <2>;
 21         #size-cells = <2>;                         21         #size-cells = <2>;
 22                                                    22 
 23         cpu_opp_table: opp-table {                 23         cpu_opp_table: opp-table {
 24                 compatible = "operating-points     24                 compatible = "operating-points-v2";
 25                 opp-shared;                        25                 opp-shared;
 26                 opp-300000000 {                    26                 opp-300000000 {
 27                         opp-hz = /bits/ 64 <30     27                         opp-hz = /bits/ 64 <30000000>;
 28                         opp-microvolt = <95000     28                         opp-microvolt = <950000>;
 29                 };                                 29                 };
 30                                                    30 
 31                 opp-437500000 {                    31                 opp-437500000 {
 32                         opp-hz = /bits/ 64 <43     32                         opp-hz = /bits/ 64 <437500000>;
 33                         opp-microvolt = <10000     33                         opp-microvolt = <1000000>;
 34                 };                                 34                 };
 35                                                    35 
 36                 opp-600000000 {                    36                 opp-600000000 {
 37                         opp-hz = /bits/ 64 <60     37                         opp-hz = /bits/ 64 <600000000>;
 38                         opp-microvolt = <10500     38                         opp-microvolt = <1050000>;
 39                 };                                 39                 };
 40                                                    40 
 41                 opp-812500000 {                    41                 opp-812500000 {
 42                         opp-hz = /bits/ 64 <81     42                         opp-hz = /bits/ 64 <812500000>;
 43                         opp-microvolt = <11000     43                         opp-microvolt = <1100000>;
 44                 };                                 44                 };
 45                                                    45 
 46                 opp-1025000000 {                   46                 opp-1025000000 {
 47                         opp-hz = /bits/ 64 <10     47                         opp-hz = /bits/ 64 <1025000000>;
 48                         opp-microvolt = <11500     48                         opp-microvolt = <1150000>;
 49                 };                                 49                 };
 50                                                    50 
 51                 opp-1137500000 {                   51                 opp-1137500000 {
 52                         opp-hz = /bits/ 64 <11     52                         opp-hz = /bits/ 64 <1137500000>;
 53                         opp-microvolt = <12000     53                         opp-microvolt = <1200000>;
 54                 };                                 54                 };
 55                                                    55 
 56                 opp-1262500000 {                   56                 opp-1262500000 {
 57                         opp-hz = /bits/ 64 <12     57                         opp-hz = /bits/ 64 <1262500000>;
 58                         opp-microvolt = <12500     58                         opp-microvolt = <1250000>;
 59                 };                                 59                 };
 60                                                    60 
 61                 opp-1350000000 {                   61                 opp-1350000000 {
 62                         opp-hz = /bits/ 64 <13     62                         opp-hz = /bits/ 64 <1350000000>;
 63                         opp-microvolt = <13100     63                         opp-microvolt = <1310000>;
 64                 };                                 64                 };
 65         };                                         65         };
 66                                                    66 
 67         cpus {                                     67         cpus {
 68                 #address-cells = <2>;              68                 #address-cells = <2>;
 69                 #size-cells = <0>;                 69                 #size-cells = <0>;
 70                                                    70 
 71                 cpu0: cpu@0 {                      71                 cpu0: cpu@0 {
 72                         device_type = "cpu";       72                         device_type = "cpu";
 73                         compatible = "arm,cort     73                         compatible = "arm,cortex-a53";
 74                         reg = <0x0 0x0>;           74                         reg = <0x0 0x0>;
 75                         clocks = <&infracfg CL     75                         clocks = <&infracfg CLK_INFRA_MUX1_SEL>,
 76                                  <&apmixedsys      76                                  <&apmixedsys CLK_APMIXED_MAIN_CORE_EN>;
 77                         clock-names = "cpu", "     77                         clock-names = "cpu", "intermediate";
 78                         operating-points-v2 =      78                         operating-points-v2 = <&cpu_opp_table>;
 79                         #cooling-cells = <2>;      79                         #cooling-cells = <2>;
 80                         enable-method = "psci"     80                         enable-method = "psci";
 81                         clock-frequency = <130     81                         clock-frequency = <1300000000>;
 82                         cci-control-port = <&c     82                         cci-control-port = <&cci_control2>;
 83                         next-level-cache = <&L     83                         next-level-cache = <&L2>;
 84                 };                                 84                 };
 85                                                    85 
 86                 cpu1: cpu@1 {                      86                 cpu1: cpu@1 {
 87                         device_type = "cpu";       87                         device_type = "cpu";
 88                         compatible = "arm,cort     88                         compatible = "arm,cortex-a53";
 89                         reg = <0x0 0x1>;           89                         reg = <0x0 0x1>;
 90                         clocks = <&infracfg CL     90                         clocks = <&infracfg CLK_INFRA_MUX1_SEL>,
 91                                  <&apmixedsys      91                                  <&apmixedsys CLK_APMIXED_MAIN_CORE_EN>;
 92                         clock-names = "cpu", "     92                         clock-names = "cpu", "intermediate";
 93                         operating-points-v2 =      93                         operating-points-v2 = <&cpu_opp_table>;
 94                         #cooling-cells = <2>;      94                         #cooling-cells = <2>;
 95                         enable-method = "psci"     95                         enable-method = "psci";
 96                         clock-frequency = <130     96                         clock-frequency = <1300000000>;
 97                         cci-control-port = <&c     97                         cci-control-port = <&cci_control2>;
 98                         next-level-cache = <&L     98                         next-level-cache = <&L2>;
 99                 };                                 99                 };
100                                                   100 
101                 L2: l2-cache {                    101                 L2: l2-cache {
102                         compatible = "cache";     102                         compatible = "cache";
103                         cache-level = <2>;        103                         cache-level = <2>;
104                         cache-unified;         << 
105                 };                                104                 };
106         };                                        105         };
107                                                   106 
108         pwrap_clk: dummy40m {                     107         pwrap_clk: dummy40m {
109                 compatible = "fixed-clock";       108                 compatible = "fixed-clock";
110                 clock-frequency = <40000000>;     109                 clock-frequency = <40000000>;
111                 #clock-cells = <0>;               110                 #clock-cells = <0>;
112         };                                        111         };
113                                                   112 
114         clk25m: oscillator {                      113         clk25m: oscillator {
115                 compatible = "fixed-clock";       114                 compatible = "fixed-clock";
116                 #clock-cells = <0>;               115                 #clock-cells = <0>;
117                 clock-frequency = <25000000>;     116                 clock-frequency = <25000000>;
118                 clock-output-names = "clkxtal"    117                 clock-output-names = "clkxtal";
119         };                                        118         };
120                                                   119 
121         psci {                                    120         psci {
122                 compatible = "arm,psci-0.2";      121                 compatible = "arm,psci-0.2";
123                 method = "smc";                   122                 method = "smc";
124         };                                        123         };
125                                                   124 
126         pmu {                                     125         pmu {
127                 compatible = "arm,cortex-a53-p    126                 compatible = "arm,cortex-a53-pmu";
128                 interrupts = <GIC_SPI 8 IRQ_TY    127                 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_LOW>,
129                              <GIC_SPI 9 IRQ_TY    128                              <GIC_SPI 9 IRQ_TYPE_LEVEL_LOW>;
130                 interrupt-affinity = <&cpu0>,     129                 interrupt-affinity = <&cpu0>, <&cpu1>;
131         };                                        130         };
132                                                   131 
133         reserved-memory {                         132         reserved-memory {
134                 #address-cells = <2>;             133                 #address-cells = <2>;
135                 #size-cells = <2>;                134                 #size-cells = <2>;
136                 ranges;                           135                 ranges;
137                                                   136 
138                 /* 192 KiB reserved for ARM Tr    137                 /* 192 KiB reserved for ARM Trusted Firmware (BL31) */
139                 secmon_reserved: secmon@430000    138                 secmon_reserved: secmon@43000000 {
140                         reg = <0 0x43000000 0     139                         reg = <0 0x43000000 0 0x30000>;
141                         no-map;                   140                         no-map;
142                 };                                141                 };
143         };                                        142         };
144                                                   143 
145         thermal-zones {                           144         thermal-zones {
146                 cpu_thermal: cpu-thermal {        145                 cpu_thermal: cpu-thermal {
147                         polling-delay-passive     146                         polling-delay-passive = <1000>;
148                         polling-delay = <1000>    147                         polling-delay = <1000>;
149                                                   148 
150                         thermal-sensors = <&th    149                         thermal-sensors = <&thermal 0>;
151                                                   150 
152                         trips {                   151                         trips {
153                                 cpu_passive: c    152                                 cpu_passive: cpu-passive {
154                                         temper    153                                         temperature = <47000>;
155                                         hyster    154                                         hysteresis = <2000>;
156                                         type =    155                                         type = "passive";
157                                 };                156                                 };
158                                                   157 
159                                 cpu_active: cp    158                                 cpu_active: cpu-active {
160                                         temper    159                                         temperature = <67000>;
161                                         hyster    160                                         hysteresis = <2000>;
162                                         type =    161                                         type = "active";
163                                 };                162                                 };
164                                                   163 
165                                 cpu_hot: cpu-h    164                                 cpu_hot: cpu-hot {
166                                         temper    165                                         temperature = <87000>;
167                                         hyster    166                                         hysteresis = <2000>;
168                                         type =    167                                         type = "hot";
169                                 };                168                                 };
170                                                   169 
171                                 cpu-crit {        170                                 cpu-crit {
172                                         temper    171                                         temperature = <107000>;
173                                         hyster    172                                         hysteresis = <2000>;
174                                         type =    173                                         type = "critical";
175                                 };                174                                 };
176                         };                        175                         };
177                                                   176 
178                         cooling-maps {            177                         cooling-maps {
179                                 map0 {            178                                 map0 {
180                                         trip =    179                                         trip = <&cpu_passive>;
181                                         coolin    180                                         cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
182                                                   181                                                          <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
183                                 };                182                                 };
184                                                   183 
185                                 map1 {            184                                 map1 {
186                                         trip =    185                                         trip = <&cpu_active>;
187                                         coolin    186                                         cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
188                                                   187                                                          <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
189                                 };                188                                 };
190                                                   189 
191                                 map2 {            190                                 map2 {
192                                         trip =    191                                         trip = <&cpu_hot>;
193                                         coolin    192                                         cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
194                                                   193                                                          <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
195                                 };                194                                 };
196                         };                        195                         };
197                 };                                196                 };
198         };                                        197         };
199                                                   198 
200         timer {                                   199         timer {
201                 compatible = "arm,armv8-timer"    200                 compatible = "arm,armv8-timer";
202                 interrupt-parent = <&gic>;        201                 interrupt-parent = <&gic>;
203                 interrupts = <GIC_PPI 13 (GIC_    202                 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
204                               IRQ_TYPE_LEVEL_H    203                               IRQ_TYPE_LEVEL_HIGH)>,
205                              <GIC_PPI 14 (GIC_    204                              <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
206                               IRQ_TYPE_LEVEL_H    205                               IRQ_TYPE_LEVEL_HIGH)>,
207                              <GIC_PPI 11 (GIC_    206                              <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) |
208                               IRQ_TYPE_LEVEL_H    207                               IRQ_TYPE_LEVEL_HIGH)>,
209                              <GIC_PPI 10 (GIC_    208                              <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) |
210                               IRQ_TYPE_LEVEL_H    209                               IRQ_TYPE_LEVEL_HIGH)>;
211         };                                        210         };
212                                                   211 
213         infracfg: infracfg@10000000 {             212         infracfg: infracfg@10000000 {
214                 compatible = "mediatek,mt7622-    213                 compatible = "mediatek,mt7622-infracfg",
215                              "syscon";            214                              "syscon";
216                 reg = <0 0x10000000 0 0x1000>;    215                 reg = <0 0x10000000 0 0x1000>;
217                 #clock-cells = <1>;               216                 #clock-cells = <1>;
218                 #reset-cells = <1>;               217                 #reset-cells = <1>;
219         };                                        218         };
220                                                   219 
221         pwrap: pwrap@10001000 {                   220         pwrap: pwrap@10001000 {
222                 compatible = "mediatek,mt7622-    221                 compatible = "mediatek,mt7622-pwrap";
223                 reg = <0 0x10001000 0 0x250>;     222                 reg = <0 0x10001000 0 0x250>;
224                 reg-names = "pwrap";              223                 reg-names = "pwrap";
225                 clocks = <&infracfg CLK_INFRA_    224                 clocks = <&infracfg CLK_INFRA_PMIC_PD>, <&pwrap_clk>;
226                 clock-names = "spi", "wrap";      225                 clock-names = "spi", "wrap";
227                 resets = <&infracfg MT7622_INF    226                 resets = <&infracfg MT7622_INFRA_PMIC_WRAP_RST>;
228                 reset-names = "pwrap";            227                 reset-names = "pwrap";
229                 interrupts = <GIC_SPI 163 IRQ_    228                 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
230                 status = "disabled";              229                 status = "disabled";
231         };                                        230         };
232                                                   231 
233         pericfg: pericfg@10002000 {               232         pericfg: pericfg@10002000 {
234                 compatible = "mediatek,mt7622-    233                 compatible = "mediatek,mt7622-pericfg",
235                              "syscon";            234                              "syscon";
236                 reg = <0 0x10002000 0 0x1000>;    235                 reg = <0 0x10002000 0 0x1000>;
237                 #clock-cells = <1>;               236                 #clock-cells = <1>;
238                 #reset-cells = <1>;               237                 #reset-cells = <1>;
239         };                                        238         };
240                                                   239 
241         scpsys: power-controller@10006000 {       240         scpsys: power-controller@10006000 {
242                 compatible = "mediatek,mt7622-    241                 compatible = "mediatek,mt7622-scpsys",
243                              "syscon";            242                              "syscon";
244                 #power-domain-cells = <1>;        243                 #power-domain-cells = <1>;
245                 reg = <0 0x10006000 0 0x1000>;    244                 reg = <0 0x10006000 0 0x1000>;
246                 interrupts = <GIC_SPI 165 IRQ_    245                 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_LOW>,
247                              <GIC_SPI 166 IRQ_    246                              <GIC_SPI 166 IRQ_TYPE_LEVEL_LOW>,
248                              <GIC_SPI 167 IRQ_    247                              <GIC_SPI 167 IRQ_TYPE_LEVEL_LOW>,
249                              <GIC_SPI 168 IRQ_    248                              <GIC_SPI 168 IRQ_TYPE_LEVEL_LOW>;
250                 infracfg = <&infracfg>;           249                 infracfg = <&infracfg>;
251                 clocks = <&topckgen CLK_TOP_HI    250                 clocks = <&topckgen CLK_TOP_HIF_SEL>;
252                 clock-names = "hif_sel";          251                 clock-names = "hif_sel";
253         };                                        252         };
254                                                   253 
255         cir: ir-receiver@10009000 {            !! 254         cir: cir@10009000 {
256                 compatible = "mediatek,mt7622-    255                 compatible = "mediatek,mt7622-cir";
257                 reg = <0 0x10009000 0 0x1000>;    256                 reg = <0 0x10009000 0 0x1000>;
258                 interrupts = <GIC_SPI 175 IRQ_    257                 interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_LOW>;
259                 clocks = <&infracfg CLK_INFRA_    258                 clocks = <&infracfg CLK_INFRA_IRRX_PD>,
260                          <&topckgen CLK_TOP_AX    259                          <&topckgen CLK_TOP_AXI_SEL>;
261                 clock-names = "clk", "bus";       260                 clock-names = "clk", "bus";
262                 status = "disabled";              261                 status = "disabled";
263         };                                        262         };
264                                                   263 
265         sysirq: interrupt-controller@10200620     264         sysirq: interrupt-controller@10200620 {
266                 compatible = "mediatek,mt7622-    265                 compatible = "mediatek,mt7622-sysirq",
267                              "mediatek,mt6577-    266                              "mediatek,mt6577-sysirq";
268                 interrupt-controller;             267                 interrupt-controller;
269                 #interrupt-cells = <3>;           268                 #interrupt-cells = <3>;
270                 interrupt-parent = <&gic>;        269                 interrupt-parent = <&gic>;
271                 reg = <0 0x10200620 0 0x20>;      270                 reg = <0 0x10200620 0 0x20>;
272         };                                        271         };
273                                                   272 
274         efuse: efuse@10206000 {                   273         efuse: efuse@10206000 {
275                 compatible = "mediatek,mt7622-    274                 compatible = "mediatek,mt7622-efuse",
276                              "mediatek,efuse";    275                              "mediatek,efuse";
277                 reg = <0 0x10206000 0 0x1000>;    276                 reg = <0 0x10206000 0 0x1000>;
278                 #address-cells = <1>;             277                 #address-cells = <1>;
279                 #size-cells = <1>;                278                 #size-cells = <1>;
280                                                   279 
281                 thermal_calibration: calib@198    280                 thermal_calibration: calib@198 {
282                         reg = <0x198 0xc>;        281                         reg = <0x198 0xc>;
283                 };                                282                 };
284         };                                        283         };
285                                                   284 
286         apmixedsys: clock-controller@10209000  !! 285         apmixedsys: apmixedsys@10209000 {
287                 compatible = "mediatek,mt7622- !! 286                 compatible = "mediatek,mt7622-apmixedsys",
                                                   >> 287                              "syscon";
288                 reg = <0 0x10209000 0 0x1000>;    288                 reg = <0 0x10209000 0 0x1000>;
289                 #clock-cells = <1>;               289                 #clock-cells = <1>;
290         };                                        290         };
291                                                   291 
292         topckgen: clock-controller@10210000 {  !! 292         topckgen: topckgen@10210000 {
293                 compatible = "mediatek,mt7622- !! 293                 compatible = "mediatek,mt7622-topckgen",
                                                   >> 294                              "syscon";
294                 reg = <0 0x10210000 0 0x1000>;    295                 reg = <0 0x10210000 0 0x1000>;
295                 #clock-cells = <1>;               296                 #clock-cells = <1>;
296         };                                        297         };
297                                                   298 
298         rng: rng@1020f000 {                       299         rng: rng@1020f000 {
299                 compatible = "mediatek,mt7622-    300                 compatible = "mediatek,mt7622-rng",
300                              "mediatek,mt7623-    301                              "mediatek,mt7623-rng";
301                 reg = <0 0x1020f000 0 0x1000>;    302                 reg = <0 0x1020f000 0 0x1000>;
302                 clocks = <&infracfg CLK_INFRA_    303                 clocks = <&infracfg CLK_INFRA_TRNG>;
303                 clock-names = "rng";              304                 clock-names = "rng";
304         };                                        305         };
305                                                   306 
306         pio: pinctrl@10211000 {                   307         pio: pinctrl@10211000 {
307                 compatible = "mediatek,mt7622-    308                 compatible = "mediatek,mt7622-pinctrl";
308                 reg = <0 0x10211000 0 0x1000>,    309                 reg = <0 0x10211000 0 0x1000>,
309                       <0 0x10005000 0 0x1000>;    310                       <0 0x10005000 0 0x1000>;
310                 reg-names = "base", "eint";       311                 reg-names = "base", "eint";
311                 gpio-controller;                  312                 gpio-controller;
312                 #gpio-cells = <2>;                313                 #gpio-cells = <2>;
313                 gpio-ranges = <&pio 0 0 103>;     314                 gpio-ranges = <&pio 0 0 103>;
314                 interrupt-controller;             315                 interrupt-controller;
315                 interrupts = <GIC_SPI 153 IRQ_    316                 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
316                 interrupt-parent = <&gic>;        317                 interrupt-parent = <&gic>;
317                 #interrupt-cells = <2>;           318                 #interrupt-cells = <2>;
318         };                                        319         };
319                                                   320 
320         watchdog: watchdog@10212000 {             321         watchdog: watchdog@10212000 {
321                 compatible = "mediatek,mt7622-    322                 compatible = "mediatek,mt7622-wdt",
322                              "mediatek,mt6589-    323                              "mediatek,mt6589-wdt";
323                 reg = <0 0x10212000 0 0x800>;     324                 reg = <0 0x10212000 0 0x800>;
324         };                                        325         };
325                                                   326 
326         rtc: rtc@10212800 {                       327         rtc: rtc@10212800 {
327                 compatible = "mediatek,mt7622-    328                 compatible = "mediatek,mt7622-rtc",
328                              "mediatek,soc-rtc    329                              "mediatek,soc-rtc";
329                 reg = <0 0x10212800 0 0x200>;     330                 reg = <0 0x10212800 0 0x200>;
330                 interrupts = <GIC_SPI 129 IRQ_    331                 interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>;
331                 clocks = <&topckgen CLK_TOP_RT    332                 clocks = <&topckgen CLK_TOP_RTC>;
332                 clock-names = "rtc";              333                 clock-names = "rtc";
333         };                                        334         };
334                                                   335 
335         gic: interrupt-controller@10300000 {      336         gic: interrupt-controller@10300000 {
336                 compatible = "arm,gic-400";       337                 compatible = "arm,gic-400";
337                 interrupt-controller;             338                 interrupt-controller;
338                 #interrupt-cells = <3>;           339                 #interrupt-cells = <3>;
339                 interrupt-parent = <&gic>;        340                 interrupt-parent = <&gic>;
340                 reg = <0 0x10310000 0 0x1000>,    341                 reg = <0 0x10310000 0 0x1000>,
341                       <0 0x10320000 0 0x1000>,    342                       <0 0x10320000 0 0x1000>,
342                       <0 0x10340000 0 0x2000>,    343                       <0 0x10340000 0 0x2000>,
343                       <0 0x10360000 0 0x2000>;    344                       <0 0x10360000 0 0x2000>;
344         };                                        345         };
345                                                   346 
346         cci: cci@10390000 {                       347         cci: cci@10390000 {
347                 compatible = "arm,cci-400";       348                 compatible = "arm,cci-400";
348                 #address-cells = <1>;             349                 #address-cells = <1>;
349                 #size-cells = <1>;                350                 #size-cells = <1>;
350                 reg = <0 0x10390000 0 0x1000>;    351                 reg = <0 0x10390000 0 0x1000>;
351                 ranges = <0 0 0x10390000 0x100    352                 ranges = <0 0 0x10390000 0x10000>;
352                                                   353 
353                 cci_control0: slave-if@1000 {     354                 cci_control0: slave-if@1000 {
354                         compatible = "arm,cci-    355                         compatible = "arm,cci-400-ctrl-if";
355                         interface-type = "ace-    356                         interface-type = "ace-lite";
356                         reg = <0x1000 0x1000>;    357                         reg = <0x1000 0x1000>;
357                 };                                358                 };
358                                                   359 
359                 cci_control1: slave-if@4000 {     360                 cci_control1: slave-if@4000 {
360                         compatible = "arm,cci-    361                         compatible = "arm,cci-400-ctrl-if";
361                         interface-type = "ace"    362                         interface-type = "ace";
362                         reg = <0x4000 0x1000>;    363                         reg = <0x4000 0x1000>;
363                 };                                364                 };
364                                                   365 
365                 cci_control2: slave-if@5000 {     366                 cci_control2: slave-if@5000 {
366                         compatible = "arm,cci-    367                         compatible = "arm,cci-400-ctrl-if", "syscon";
367                         interface-type = "ace"    368                         interface-type = "ace";
368                         reg = <0x5000 0x1000>;    369                         reg = <0x5000 0x1000>;
369                 };                                370                 };
370                                                   371 
371                 pmu@9000 {                        372                 pmu@9000 {
372                         compatible = "arm,cci-    373                         compatible = "arm,cci-400-pmu,r1";
373                         reg = <0x9000 0x5000>;    374                         reg = <0x9000 0x5000>;
374                         interrupts = <GIC_SPI     375                         interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
375                                      <GIC_SPI     376                                      <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
376                                      <GIC_SPI     377                                      <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
377                                      <GIC_SPI     378                                      <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
378                                      <GIC_SPI     379                                      <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
379                 };                                380                 };
380         };                                        381         };
381                                                   382 
382         auxadc: adc@11001000 {                    383         auxadc: adc@11001000 {
383                 compatible = "mediatek,mt7622-    384                 compatible = "mediatek,mt7622-auxadc";
384                 reg = <0 0x11001000 0 0x1000>;    385                 reg = <0 0x11001000 0 0x1000>;
385                 clocks = <&pericfg CLK_PERI_AU    386                 clocks = <&pericfg CLK_PERI_AUXADC_PD>;
386                 clock-names = "main";             387                 clock-names = "main";
387                 #io-channel-cells = <1>;          388                 #io-channel-cells = <1>;
388         };                                        389         };
389                                                   390 
390         uart0: serial@11002000 {                  391         uart0: serial@11002000 {
391                 compatible = "mediatek,mt7622-    392                 compatible = "mediatek,mt7622-uart",
392                              "mediatek,mt6577-    393                              "mediatek,mt6577-uart";
393                 reg = <0 0x11002000 0 0x400>;     394                 reg = <0 0x11002000 0 0x400>;
394                 interrupts = <GIC_SPI 91 IRQ_T    395                 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>;
395                 clocks = <&topckgen CLK_TOP_UA    396                 clocks = <&topckgen CLK_TOP_UART_SEL>,
396                          <&pericfg CLK_PERI_UA    397                          <&pericfg CLK_PERI_UART0_PD>;
397                 clock-names = "baud", "bus";      398                 clock-names = "baud", "bus";
398                 status = "disabled";              399                 status = "disabled";
399         };                                        400         };
400                                                   401 
401         uart1: serial@11003000 {                  402         uart1: serial@11003000 {
402                 compatible = "mediatek,mt7622-    403                 compatible = "mediatek,mt7622-uart",
403                              "mediatek,mt6577-    404                              "mediatek,mt6577-uart";
404                 reg = <0 0x11003000 0 0x400>;     405                 reg = <0 0x11003000 0 0x400>;
405                 interrupts = <GIC_SPI 92 IRQ_T    406                 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>;
406                 clocks = <&topckgen CLK_TOP_UA    407                 clocks = <&topckgen CLK_TOP_UART_SEL>,
407                          <&pericfg CLK_PERI_UA    408                          <&pericfg CLK_PERI_UART1_PD>;
408                 clock-names = "baud", "bus";      409                 clock-names = "baud", "bus";
409                 status = "disabled";              410                 status = "disabled";
410         };                                        411         };
411                                                   412 
412         uart2: serial@11004000 {                  413         uart2: serial@11004000 {
413                 compatible = "mediatek,mt7622-    414                 compatible = "mediatek,mt7622-uart",
414                              "mediatek,mt6577-    415                              "mediatek,mt6577-uart";
415                 reg = <0 0x11004000 0 0x400>;     416                 reg = <0 0x11004000 0 0x400>;
416                 interrupts = <GIC_SPI 93 IRQ_T    417                 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_LOW>;
417                 clocks = <&topckgen CLK_TOP_UA    418                 clocks = <&topckgen CLK_TOP_UART_SEL>,
418                          <&pericfg CLK_PERI_UA    419                          <&pericfg CLK_PERI_UART2_PD>;
419                 clock-names = "baud", "bus";      420                 clock-names = "baud", "bus";
420                 status = "disabled";              421                 status = "disabled";
421         };                                        422         };
422                                                   423 
423         uart3: serial@11005000 {                  424         uart3: serial@11005000 {
424                 compatible = "mediatek,mt7622-    425                 compatible = "mediatek,mt7622-uart",
425                              "mediatek,mt6577-    426                              "mediatek,mt6577-uart";
426                 reg = <0 0x11005000 0 0x400>;     427                 reg = <0 0x11005000 0 0x400>;
427                 interrupts = <GIC_SPI 94 IRQ_T    428                 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_LOW>;
428                 clocks = <&topckgen CLK_TOP_UA    429                 clocks = <&topckgen CLK_TOP_UART_SEL>,
429                          <&pericfg CLK_PERI_UA    430                          <&pericfg CLK_PERI_UART3_PD>;
430                 clock-names = "baud", "bus";      431                 clock-names = "baud", "bus";
431                 status = "disabled";              432                 status = "disabled";
432         };                                        433         };
433                                                   434 
434         pwm: pwm@11006000 {                       435         pwm: pwm@11006000 {
435                 compatible = "mediatek,mt7622-    436                 compatible = "mediatek,mt7622-pwm";
436                 reg = <0 0x11006000 0 0x1000>;    437                 reg = <0 0x11006000 0 0x1000>;
437                 #pwm-cells = <2>;                 438                 #pwm-cells = <2>;
438                 interrupts = <GIC_SPI 77 IRQ_T    439                 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_LOW>;
439                 clocks = <&topckgen CLK_TOP_PW    440                 clocks = <&topckgen CLK_TOP_PWM_SEL>,
440                          <&pericfg CLK_PERI_PW    441                          <&pericfg CLK_PERI_PWM_PD>,
441                          <&pericfg CLK_PERI_PW    442                          <&pericfg CLK_PERI_PWM1_PD>,
442                          <&pericfg CLK_PERI_PW    443                          <&pericfg CLK_PERI_PWM2_PD>,
443                          <&pericfg CLK_PERI_PW    444                          <&pericfg CLK_PERI_PWM3_PD>,
444                          <&pericfg CLK_PERI_PW    445                          <&pericfg CLK_PERI_PWM4_PD>,
445                          <&pericfg CLK_PERI_PW    446                          <&pericfg CLK_PERI_PWM5_PD>,
446                          <&pericfg CLK_PERI_PW    447                          <&pericfg CLK_PERI_PWM6_PD>;
447                 clock-names = "top", "main", "    448                 clock-names = "top", "main", "pwm1", "pwm2", "pwm3", "pwm4",
448                               "pwm5", "pwm6";     449                               "pwm5", "pwm6";
449                 status = "disabled";              450                 status = "disabled";
450         };                                        451         };
451                                                   452 
452         i2c0: i2c@11007000 {                      453         i2c0: i2c@11007000 {
453                 compatible = "mediatek,mt7622-    454                 compatible = "mediatek,mt7622-i2c";
454                 reg = <0 0x11007000 0 0x90>,      455                 reg = <0 0x11007000 0 0x90>,
455                       <0 0x11000100 0 0x80>;      456                       <0 0x11000100 0 0x80>;
456                 interrupts = <GIC_SPI 84 IRQ_T    457                 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>;
457                 clock-div = <16>;                 458                 clock-div = <16>;
458                 clocks = <&pericfg CLK_PERI_I2    459                 clocks = <&pericfg CLK_PERI_I2C0_PD>,
459                          <&pericfg CLK_PERI_AP    460                          <&pericfg CLK_PERI_AP_DMA_PD>;
460                 clock-names = "main", "dma";      461                 clock-names = "main", "dma";
461                 #address-cells = <1>;             462                 #address-cells = <1>;
462                 #size-cells = <0>;                463                 #size-cells = <0>;
463                 status = "disabled";              464                 status = "disabled";
464         };                                        465         };
465                                                   466 
466         i2c1: i2c@11008000 {                      467         i2c1: i2c@11008000 {
467                 compatible = "mediatek,mt7622-    468                 compatible = "mediatek,mt7622-i2c";
468                 reg = <0 0x11008000 0 0x90>,      469                 reg = <0 0x11008000 0 0x90>,
469                       <0 0x11000180 0 0x80>;      470                       <0 0x11000180 0 0x80>;
470                 interrupts = <GIC_SPI 85 IRQ_T    471                 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_LOW>;
471                 clock-div = <16>;                 472                 clock-div = <16>;
472                 clocks = <&pericfg CLK_PERI_I2    473                 clocks = <&pericfg CLK_PERI_I2C1_PD>,
473                          <&pericfg CLK_PERI_AP    474                          <&pericfg CLK_PERI_AP_DMA_PD>;
474                 clock-names = "main", "dma";      475                 clock-names = "main", "dma";
475                 #address-cells = <1>;             476                 #address-cells = <1>;
476                 #size-cells = <0>;                477                 #size-cells = <0>;
477                 status = "disabled";              478                 status = "disabled";
478         };                                        479         };
479                                                   480 
480         i2c2: i2c@11009000 {                      481         i2c2: i2c@11009000 {
481                 compatible = "mediatek,mt7622-    482                 compatible = "mediatek,mt7622-i2c";
482                 reg = <0 0x11009000 0 0x90>,      483                 reg = <0 0x11009000 0 0x90>,
483                       <0 0x11000200 0 0x80>;      484                       <0 0x11000200 0 0x80>;
484                 interrupts = <GIC_SPI 86 IRQ_T    485                 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_LOW>;
485                 clock-div = <16>;                 486                 clock-div = <16>;
486                 clocks = <&pericfg CLK_PERI_I2    487                 clocks = <&pericfg CLK_PERI_I2C2_PD>,
487                          <&pericfg CLK_PERI_AP    488                          <&pericfg CLK_PERI_AP_DMA_PD>;
488                 clock-names = "main", "dma";      489                 clock-names = "main", "dma";
489                 #address-cells = <1>;             490                 #address-cells = <1>;
490                 #size-cells = <0>;                491                 #size-cells = <0>;
491                 status = "disabled";              492                 status = "disabled";
492         };                                        493         };
493                                                   494 
494         spi0: spi@1100a000 {                      495         spi0: spi@1100a000 {
495                 compatible = "mediatek,mt7622-    496                 compatible = "mediatek,mt7622-spi";
496                 reg = <0 0x1100a000 0 0x100>;     497                 reg = <0 0x1100a000 0 0x100>;
497                 interrupts = <GIC_SPI 118 IRQ_    498                 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_LOW>;
498                 clocks = <&topckgen CLK_TOP_SY    499                 clocks = <&topckgen CLK_TOP_SYSPLL3_D2>,
499                          <&topckgen CLK_TOP_SP    500                          <&topckgen CLK_TOP_SPI0_SEL>,
500                          <&pericfg CLK_PERI_SP    501                          <&pericfg CLK_PERI_SPI0_PD>;
501                 clock-names = "parent-clk", "s    502                 clock-names = "parent-clk", "sel-clk", "spi-clk";
502                 #address-cells = <1>;             503                 #address-cells = <1>;
503                 #size-cells = <0>;                504                 #size-cells = <0>;
504                 status = "disabled";              505                 status = "disabled";
505         };                                        506         };
506                                                   507 
507         thermal: thermal@1100b000 {               508         thermal: thermal@1100b000 {
508                 #thermal-sensor-cells = <1>;      509                 #thermal-sensor-cells = <1>;
509                 compatible = "mediatek,mt7622-    510                 compatible = "mediatek,mt7622-thermal";
510                 reg = <0 0x1100b000 0 0x1000>;    511                 reg = <0 0x1100b000 0 0x1000>;
511                 interrupts = <0 78 IRQ_TYPE_LE    512                 interrupts = <0 78 IRQ_TYPE_LEVEL_LOW>;
512                 clocks = <&pericfg CLK_PERI_TH    513                 clocks = <&pericfg CLK_PERI_THERM_PD>,
513                          <&pericfg CLK_PERI_AU    514                          <&pericfg CLK_PERI_AUXADC_PD>;
514                 clock-names = "therm", "auxadc    515                 clock-names = "therm", "auxadc";
515                 resets = <&pericfg MT7622_PERI    516                 resets = <&pericfg MT7622_PERI_THERM_SW_RST>;
                                                   >> 517                 reset-names = "therm";
516                 mediatek,auxadc = <&auxadc>;      518                 mediatek,auxadc = <&auxadc>;
517                 mediatek,apmixedsys = <&apmixe    519                 mediatek,apmixedsys = <&apmixedsys>;
518                 nvmem-cells = <&thermal_calibr    520                 nvmem-cells = <&thermal_calibration>;
519                 nvmem-cell-names = "calibratio    521                 nvmem-cell-names = "calibration-data";
520         };                                        522         };
521                                                   523 
522         btif: serial@1100c000 {                   524         btif: serial@1100c000 {
523                 compatible = "mediatek,mt7622-    525                 compatible = "mediatek,mt7622-btif",
524                              "mediatek,mtk-bti    526                              "mediatek,mtk-btif";
525                 reg = <0 0x1100c000 0 0x1000>;    527                 reg = <0 0x1100c000 0 0x1000>;
526                 interrupts = <GIC_SPI 90 IRQ_T    528                 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_LOW>;
527                 clocks = <&pericfg CLK_PERI_BT    529                 clocks = <&pericfg CLK_PERI_BTIF_PD>;
528                 reg-shift = <2>;                  530                 reg-shift = <2>;
529                 reg-io-width = <4>;               531                 reg-io-width = <4>;
530                 status = "disabled";              532                 status = "disabled";
531                                                   533 
532                 bluetooth {                       534                 bluetooth {
533                         compatible = "mediatek    535                         compatible = "mediatek,mt7622-bluetooth";
534                         power-domains = <&scps    536                         power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>;
535                         clocks = <&clk25m>;       537                         clocks = <&clk25m>;
536                         clock-names = "ref";      538                         clock-names = "ref";
537                 };                                539                 };
538         };                                        540         };
539                                                   541 
540         nandc: nand-controller@1100d000 {         542         nandc: nand-controller@1100d000 {
541                 compatible = "mediatek,mt7622-    543                 compatible = "mediatek,mt7622-nfc";
542                 reg = <0 0x1100D000 0 0x1000>;    544                 reg = <0 0x1100D000 0 0x1000>;
543                 interrupts = <GIC_SPI 96 IRQ_T    545                 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
544                 clocks = <&pericfg CLK_PERI_NF    546                 clocks = <&pericfg CLK_PERI_NFI_PD>,
545                          <&pericfg CLK_PERI_SN    547                          <&pericfg CLK_PERI_SNFI_PD>;
546                 clock-names = "nfi_clk", "pad_    548                 clock-names = "nfi_clk", "pad_clk";
547                 ecc-engine = <&bch>;              549                 ecc-engine = <&bch>;
548                 #address-cells = <1>;             550                 #address-cells = <1>;
549                 #size-cells = <0>;                551                 #size-cells = <0>;
550                 status = "disabled";              552                 status = "disabled";
551         };                                        553         };
552                                                   554 
553         snfi: spi@1100d000 {                      555         snfi: spi@1100d000 {
554                 compatible = "mediatek,mt7622-    556                 compatible = "mediatek,mt7622-snand";
555                 reg = <0 0x1100d000 0 0x1000>;    557                 reg = <0 0x1100d000 0 0x1000>;
556                 interrupts = <GIC_SPI 96 IRQ_T    558                 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
557                 clocks = <&pericfg CLK_PERI_NF    559                 clocks = <&pericfg CLK_PERI_NFI_PD>, <&pericfg CLK_PERI_SNFI_PD>;
558                 clock-names = "nfi_clk", "pad_    560                 clock-names = "nfi_clk", "pad_clk";
559                 nand-ecc-engine = <&bch>;         561                 nand-ecc-engine = <&bch>;
560                 #address-cells = <1>;             562                 #address-cells = <1>;
561                 #size-cells = <0>;                563                 #size-cells = <0>;
562                 status = "disabled";              564                 status = "disabled";
563         };                                        565         };
564                                                   566 
565         bch: ecc@1100e000 {                       567         bch: ecc@1100e000 {
566                 compatible = "mediatek,mt7622-    568                 compatible = "mediatek,mt7622-ecc";
567                 reg = <0 0x1100e000 0 0x1000>;    569                 reg = <0 0x1100e000 0 0x1000>;
568                 interrupts = <GIC_SPI 95 IRQ_T    570                 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_LOW>;
569                 clocks = <&pericfg CLK_PERI_NF    571                 clocks = <&pericfg CLK_PERI_NFIECC_PD>;
570                 clock-names = "nfiecc_clk";       572                 clock-names = "nfiecc_clk";
571                 status = "disabled";              573                 status = "disabled";
572         };                                        574         };
573                                                   575 
574         nor_flash: spi@11014000 {                 576         nor_flash: spi@11014000 {
575                 compatible = "mediatek,mt7622-    577                 compatible = "mediatek,mt7622-nor",
576                              "mediatek,mt8173-    578                              "mediatek,mt8173-nor";
577                 reg = <0 0x11014000 0 0xe0>;      579                 reg = <0 0x11014000 0 0xe0>;
578                 clocks = <&pericfg CLK_PERI_FL    580                 clocks = <&pericfg CLK_PERI_FLASH_PD>,
579                          <&topckgen CLK_TOP_FL    581                          <&topckgen CLK_TOP_FLASH_SEL>;
580                 clock-names = "spi", "sf";        582                 clock-names = "spi", "sf";
581                 #address-cells = <1>;             583                 #address-cells = <1>;
582                 #size-cells = <0>;                584                 #size-cells = <0>;
583                 status = "disabled";              585                 status = "disabled";
584         };                                        586         };
585                                                   587 
586         spi1: spi@11016000 {                      588         spi1: spi@11016000 {
587                 compatible = "mediatek,mt7622-    589                 compatible = "mediatek,mt7622-spi";
588                 reg = <0 0x11016000 0 0x100>;     590                 reg = <0 0x11016000 0 0x100>;
589                 interrupts = <GIC_SPI 122 IRQ_    591                 interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_LOW>;
590                 clocks = <&topckgen CLK_TOP_SY    592                 clocks = <&topckgen CLK_TOP_SYSPLL3_D2>,
591                          <&topckgen CLK_TOP_SP    593                          <&topckgen CLK_TOP_SPI1_SEL>,
592                          <&pericfg CLK_PERI_SP    594                          <&pericfg CLK_PERI_SPI1_PD>;
593                 clock-names = "parent-clk", "s    595                 clock-names = "parent-clk", "sel-clk", "spi-clk";
594                 #address-cells = <1>;             596                 #address-cells = <1>;
595                 #size-cells = <0>;                597                 #size-cells = <0>;
596                 status = "disabled";              598                 status = "disabled";
597         };                                        599         };
598                                                   600 
599         uart4: serial@11019000 {                  601         uart4: serial@11019000 {
600                 compatible = "mediatek,mt7622-    602                 compatible = "mediatek,mt7622-uart",
601                              "mediatek,mt6577-    603                              "mediatek,mt6577-uart";
602                 reg = <0 0x11019000 0 0x400>;     604                 reg = <0 0x11019000 0 0x400>;
603                 interrupts = <GIC_SPI 89 IRQ_T    605                 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_LOW>;
604                 clocks = <&topckgen CLK_TOP_UA    606                 clocks = <&topckgen CLK_TOP_UART_SEL>,
605                          <&pericfg CLK_PERI_UA    607                          <&pericfg CLK_PERI_UART4_PD>;
606                 clock-names = "baud", "bus";      608                 clock-names = "baud", "bus";
607                 status = "disabled";              609                 status = "disabled";
608         };                                        610         };
609                                                   611 
610         audsys: clock-controller@11220000 {       612         audsys: clock-controller@11220000 {
611                 compatible = "mediatek,mt7622-    613                 compatible = "mediatek,mt7622-audsys", "syscon";
612                 reg = <0 0x11220000 0 0x2000>;    614                 reg = <0 0x11220000 0 0x2000>;
613                 #clock-cells = <1>;               615                 #clock-cells = <1>;
614                                                   616 
615                 afe: audio-controller {           617                 afe: audio-controller {
616                         compatible = "mediatek    618                         compatible = "mediatek,mt7622-audio";
617                         interrupts = <GIC_SPI     619                         interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>,
618                                      <GIC_SPI     620                                      <GIC_SPI 145 IRQ_TYPE_LEVEL_LOW>;
619                         interrupt-names = "afe    621                         interrupt-names = "afe", "asys";
620                                                   622 
621                         clocks = <&infracfg CL    623                         clocks = <&infracfg CLK_INFRA_AUDIO_PD>,
622                                  <&topckgen CL    624                                  <&topckgen CLK_TOP_AUD1_SEL>,
623                                  <&topckgen CL    625                                  <&topckgen CLK_TOP_AUD2_SEL>,
624                                  <&topckgen CL    626                                  <&topckgen CLK_TOP_A1SYS_HP_DIV_PD>,
625                                  <&topckgen CL    627                                  <&topckgen CLK_TOP_A2SYS_HP_DIV_PD>,
626                                  <&topckgen CL    628                                  <&topckgen CLK_TOP_I2S0_MCK_SEL>,
627                                  <&topckgen CL    629                                  <&topckgen CLK_TOP_I2S1_MCK_SEL>,
628                                  <&topckgen CL    630                                  <&topckgen CLK_TOP_I2S2_MCK_SEL>,
629                                  <&topckgen CL    631                                  <&topckgen CLK_TOP_I2S3_MCK_SEL>,
630                                  <&topckgen CL    632                                  <&topckgen CLK_TOP_I2S0_MCK_DIV>,
631                                  <&topckgen CL    633                                  <&topckgen CLK_TOP_I2S1_MCK_DIV>,
632                                  <&topckgen CL    634                                  <&topckgen CLK_TOP_I2S2_MCK_DIV>,
633                                  <&topckgen CL    635                                  <&topckgen CLK_TOP_I2S3_MCK_DIV>,
634                                  <&topckgen CL    636                                  <&topckgen CLK_TOP_I2S0_MCK_DIV_PD>,
635                                  <&topckgen CL    637                                  <&topckgen CLK_TOP_I2S1_MCK_DIV_PD>,
636                                  <&topckgen CL    638                                  <&topckgen CLK_TOP_I2S2_MCK_DIV_PD>,
637                                  <&topckgen CL    639                                  <&topckgen CLK_TOP_I2S3_MCK_DIV_PD>,
638                                  <&audsys CLK_    640                                  <&audsys CLK_AUDIO_I2SO1>,
639                                  <&audsys CLK_    641                                  <&audsys CLK_AUDIO_I2SO2>,
640                                  <&audsys CLK_    642                                  <&audsys CLK_AUDIO_I2SO3>,
641                                  <&audsys CLK_    643                                  <&audsys CLK_AUDIO_I2SO4>,
642                                  <&audsys CLK_    644                                  <&audsys CLK_AUDIO_I2SIN1>,
643                                  <&audsys CLK_    645                                  <&audsys CLK_AUDIO_I2SIN2>,
644                                  <&audsys CLK_    646                                  <&audsys CLK_AUDIO_I2SIN3>,
645                                  <&audsys CLK_    647                                  <&audsys CLK_AUDIO_I2SIN4>,
646                                  <&audsys CLK_    648                                  <&audsys CLK_AUDIO_ASRCO1>,
647                                  <&audsys CLK_    649                                  <&audsys CLK_AUDIO_ASRCO2>,
648                                  <&audsys CLK_    650                                  <&audsys CLK_AUDIO_ASRCO3>,
649                                  <&audsys CLK_    651                                  <&audsys CLK_AUDIO_ASRCO4>,
650                                  <&audsys CLK_    652                                  <&audsys CLK_AUDIO_AFE>,
651                                  <&audsys CLK_    653                                  <&audsys CLK_AUDIO_AFE_CONN>,
652                                  <&audsys CLK_    654                                  <&audsys CLK_AUDIO_A1SYS>,
653                                  <&audsys CLK_    655                                  <&audsys CLK_AUDIO_A2SYS>;
654                                                   656 
655                         clock-names = "infra_s    657                         clock-names = "infra_sys_audio_clk",
656                                       "top_aud    658                                       "top_audio_mux1_sel",
657                                       "top_aud    659                                       "top_audio_mux2_sel",
658                                       "top_aud    660                                       "top_audio_a1sys_hp",
659                                       "top_aud    661                                       "top_audio_a2sys_hp",
660                                       "i2s0_sr    662                                       "i2s0_src_sel",
661                                       "i2s1_sr    663                                       "i2s1_src_sel",
662                                       "i2s2_sr    664                                       "i2s2_src_sel",
663                                       "i2s3_sr    665                                       "i2s3_src_sel",
664                                       "i2s0_sr    666                                       "i2s0_src_div",
665                                       "i2s1_sr    667                                       "i2s1_src_div",
666                                       "i2s2_sr    668                                       "i2s2_src_div",
667                                       "i2s3_sr    669                                       "i2s3_src_div",
668                                       "i2s0_mc    670                                       "i2s0_mclk_en",
669                                       "i2s1_mc    671                                       "i2s1_mclk_en",
670                                       "i2s2_mc    672                                       "i2s2_mclk_en",
671                                       "i2s3_mc    673                                       "i2s3_mclk_en",
672                                       "i2so0_h    674                                       "i2so0_hop_ck",
673                                       "i2so1_h    675                                       "i2so1_hop_ck",
674                                       "i2so2_h    676                                       "i2so2_hop_ck",
675                                       "i2so3_h    677                                       "i2so3_hop_ck",
676                                       "i2si0_h    678                                       "i2si0_hop_ck",
677                                       "i2si1_h    679                                       "i2si1_hop_ck",
678                                       "i2si2_h    680                                       "i2si2_hop_ck",
679                                       "i2si3_h    681                                       "i2si3_hop_ck",
680                                       "asrc0_o    682                                       "asrc0_out_ck",
681                                       "asrc1_o    683                                       "asrc1_out_ck",
682                                       "asrc2_o    684                                       "asrc2_out_ck",
683                                       "asrc3_o    685                                       "asrc3_out_ck",
684                                       "audio_a    686                                       "audio_afe_pd",
685                                       "audio_a    687                                       "audio_afe_conn_pd",
686                                       "audio_a    688                                       "audio_a1sys_pd",
687                                       "audio_a    689                                       "audio_a2sys_pd";
688                                                   690 
689                         assigned-clocks = <&to    691                         assigned-clocks = <&topckgen CLK_TOP_A1SYS_HP_SEL>,
690                                           <&to    692                                           <&topckgen CLK_TOP_A2SYS_HP_SEL>,
691                                           <&to    693                                           <&topckgen CLK_TOP_A1SYS_HP_DIV>,
692                                           <&to    694                                           <&topckgen CLK_TOP_A2SYS_HP_DIV>;
693                         assigned-clock-parents    695                         assigned-clock-parents = <&topckgen CLK_TOP_AUD1PLL>,
694                                                   696                                                  <&topckgen CLK_TOP_AUD2PLL>;
695                         assigned-clock-rates =    697                         assigned-clock-rates = <0>, <0>, <49152000>, <45158400>;
696                 };                                698                 };
697         };                                        699         };
698                                                   700 
699         mmc0: mmc@11230000 {                      701         mmc0: mmc@11230000 {
700                 compatible = "mediatek,mt7622-    702                 compatible = "mediatek,mt7622-mmc";
701                 reg = <0 0x11230000 0 0x1000>;    703                 reg = <0 0x11230000 0 0x1000>;
702                 interrupts = <GIC_SPI 79 IRQ_T    704                 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_LOW>;
703                 clocks = <&pericfg CLK_PERI_MS    705                 clocks = <&pericfg CLK_PERI_MSDC30_0_PD>,
704                          <&topckgen CLK_TOP_MS    706                          <&topckgen CLK_TOP_MSDC50_0_SEL>;
705                 clock-names = "source", "hclk"    707                 clock-names = "source", "hclk";
706                 resets = <&pericfg MT7622_PERI    708                 resets = <&pericfg MT7622_PERI_MSDC0_SW_RST>;
707                 reset-names = "hrst";             709                 reset-names = "hrst";
708                 status = "disabled";              710                 status = "disabled";
709         };                                        711         };
710                                                   712 
711         mmc1: mmc@11240000 {                      713         mmc1: mmc@11240000 {
712                 compatible = "mediatek,mt7622-    714                 compatible = "mediatek,mt7622-mmc";
713                 reg = <0 0x11240000 0 0x1000>;    715                 reg = <0 0x11240000 0 0x1000>;
714                 interrupts = <GIC_SPI 80 IRQ_T    716                 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_LOW>;
715                 clocks = <&pericfg CLK_PERI_MS    717                 clocks = <&pericfg CLK_PERI_MSDC30_1_PD>,
716                          <&topckgen CLK_TOP_AX    718                          <&topckgen CLK_TOP_AXI_SEL>;
717                 clock-names = "source", "hclk"    719                 clock-names = "source", "hclk";
718                 resets = <&pericfg MT7622_PERI    720                 resets = <&pericfg MT7622_PERI_MSDC1_SW_RST>;
719                 reset-names = "hrst";             721                 reset-names = "hrst";
720                 status = "disabled";              722                 status = "disabled";
721         };                                        723         };
722                                                   724 
723         wmac: wmac@18000000 {                     725         wmac: wmac@18000000 {
724                 compatible = "mediatek,mt7622-    726                 compatible = "mediatek,mt7622-wmac";
725                 reg = <0 0x18000000 0 0x100000    727                 reg = <0 0x18000000 0 0x100000>;
726                 interrupts = <GIC_SPI 211 IRQ_    728                 interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_LOW>;
727                                                   729 
728                 mediatek,infracfg = <&infracfg    730                 mediatek,infracfg = <&infracfg>;
729                 status = "disabled";              731                 status = "disabled";
730                                                   732 
731                 power-domains = <&scpsys MT762    733                 power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>;
732         };                                        734         };
733                                                   735 
734         ssusbsys: clock-controller@1a000000 {  !! 736         ssusbsys: ssusbsys@1a000000 {
735                 compatible = "mediatek,mt7622- !! 737                 compatible = "mediatek,mt7622-ssusbsys",
                                                   >> 738                              "syscon";
736                 reg = <0 0x1a000000 0 0x1000>;    739                 reg = <0 0x1a000000 0 0x1000>;
737                 #clock-cells = <1>;               740                 #clock-cells = <1>;
738                 #reset-cells = <1>;               741                 #reset-cells = <1>;
739         };                                        742         };
740                                                   743 
741         ssusb: usb@1a0c0000 {                     744         ssusb: usb@1a0c0000 {
742                 compatible = "mediatek,mt7622-    745                 compatible = "mediatek,mt7622-xhci",
743                              "mediatek,mtk-xhc    746                              "mediatek,mtk-xhci";
744                 reg = <0 0x1a0c0000 0 0x01000>    747                 reg = <0 0x1a0c0000 0 0x01000>,
745                       <0 0x1a0c4700 0 0x0100>;    748                       <0 0x1a0c4700 0 0x0100>;
746                 reg-names = "mac", "ippc";        749                 reg-names = "mac", "ippc";
747                 interrupts = <GIC_SPI 232 IRQ_    750                 interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_LOW>;
748                 power-domains = <&scpsys MT762    751                 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF1>;
749                 clocks = <&ssusbsys CLK_SSUSB_    752                 clocks = <&ssusbsys CLK_SSUSB_SYS_EN>,
750                          <&ssusbsys CLK_SSUSB_    753                          <&ssusbsys CLK_SSUSB_REF_EN>,
751                          <&ssusbsys CLK_SSUSB_    754                          <&ssusbsys CLK_SSUSB_MCU_EN>,
752                          <&ssusbsys CLK_SSUSB_    755                          <&ssusbsys CLK_SSUSB_DMA_EN>;
753                 clock-names = "sys_ck", "ref_c    756                 clock-names = "sys_ck", "ref_ck", "mcu_ck", "dma_ck";
754                 phys = <&u2port0 PHY_TYPE_USB2    757                 phys = <&u2port0 PHY_TYPE_USB2>,
755                        <&u3port0 PHY_TYPE_USB3    758                        <&u3port0 PHY_TYPE_USB3>,
756                        <&u2port1 PHY_TYPE_USB2    759                        <&u2port1 PHY_TYPE_USB2>;
757                                                   760 
758                 status = "disabled";              761                 status = "disabled";
759         };                                        762         };
760                                                   763 
761         u3phy: t-phy@1a0c4000 {                   764         u3phy: t-phy@1a0c4000 {
762                 compatible = "mediatek,mt7622-    765                 compatible = "mediatek,mt7622-tphy",
763                              "mediatek,generic    766                              "mediatek,generic-tphy-v1";
764                 reg = <0 0x1a0c4000 0 0x700>;     767                 reg = <0 0x1a0c4000 0 0x700>;
765                 #address-cells = <2>;             768                 #address-cells = <2>;
766                 #size-cells = <2>;                769                 #size-cells = <2>;
767                 ranges;                           770                 ranges;
768                 status = "disabled";              771                 status = "disabled";
769                                                   772 
770                 u2port0: usb-phy@1a0c4800 {       773                 u2port0: usb-phy@1a0c4800 {
771                         reg = <0 0x1a0c4800 0     774                         reg = <0 0x1a0c4800 0 0x0100>;
772                         #phy-cells = <1>;         775                         #phy-cells = <1>;
773                         clocks = <&ssusbsys CL    776                         clocks = <&ssusbsys CLK_SSUSB_U2_PHY_EN>;
774                         clock-names = "ref";      777                         clock-names = "ref";
775                 };                                778                 };
776                                                   779 
777                 u3port0: usb-phy@1a0c4900 {       780                 u3port0: usb-phy@1a0c4900 {
778                         reg = <0 0x1a0c4900 0     781                         reg = <0 0x1a0c4900 0 0x0700>;
779                         #phy-cells = <1>;         782                         #phy-cells = <1>;
780                         clocks = <&clk25m>;       783                         clocks = <&clk25m>;
781                         clock-names = "ref";      784                         clock-names = "ref";
782                 };                                785                 };
783                                                   786 
784                 u2port1: usb-phy@1a0c5000 {       787                 u2port1: usb-phy@1a0c5000 {
785                         reg = <0 0x1a0c5000 0     788                         reg = <0 0x1a0c5000 0 0x0100>;
786                         #phy-cells = <1>;         789                         #phy-cells = <1>;
787                         clocks = <&ssusbsys CL    790                         clocks = <&ssusbsys CLK_SSUSB_U2_PHY_1P_EN>;
788                         clock-names = "ref";      791                         clock-names = "ref";
789                 };                                792                 };
790         };                                        793         };
791                                                   794 
792         pciesys: clock-controller@1a100800 {   !! 795         pciesys: pciesys@1a100800 {
793                 compatible = "mediatek,mt7622- !! 796                 compatible = "mediatek,mt7622-pciesys",
                                                   >> 797                              "syscon";
794                 reg = <0 0x1a100800 0 0x1000>;    798                 reg = <0 0x1a100800 0 0x1000>;
795                 #clock-cells = <1>;               799                 #clock-cells = <1>;
796                 #reset-cells = <1>;               800                 #reset-cells = <1>;
797         };                                        801         };
798                                                   802 
799         pciecfg: pciecfg@1a140000 {               803         pciecfg: pciecfg@1a140000 {
800                 compatible = "mediatek,generic    804                 compatible = "mediatek,generic-pciecfg", "syscon";
801                 reg = <0 0x1a140000 0 0x1000>;    805                 reg = <0 0x1a140000 0 0x1000>;
802         };                                        806         };
803                                                   807 
804         pcie0: pcie@1a143000 {                    808         pcie0: pcie@1a143000 {
805                 compatible = "mediatek,mt7622-    809                 compatible = "mediatek,mt7622-pcie";
806                 device_type = "pci";              810                 device_type = "pci";
807                 reg = <0 0x1a143000 0 0x1000>;    811                 reg = <0 0x1a143000 0 0x1000>;
808                 reg-names = "port0";              812                 reg-names = "port0";
809                 linux,pci-domain = <0>;           813                 linux,pci-domain = <0>;
810                 #address-cells = <3>;             814                 #address-cells = <3>;
811                 #size-cells = <2>;                815                 #size-cells = <2>;
812                 interrupts = <GIC_SPI 228 IRQ_    816                 interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_LOW>;
813                 interrupt-names = "pcie_irq";     817                 interrupt-names = "pcie_irq";
814                 clocks = <&pciesys CLK_PCIE_P0    818                 clocks = <&pciesys CLK_PCIE_P0_MAC_EN>,
815                          <&pciesys CLK_PCIE_P0    819                          <&pciesys CLK_PCIE_P0_AHB_EN>,
816                          <&pciesys CLK_PCIE_P0    820                          <&pciesys CLK_PCIE_P0_AUX_EN>,
817                          <&pciesys CLK_PCIE_P0    821                          <&pciesys CLK_PCIE_P0_AXI_EN>,
818                          <&pciesys CLK_PCIE_P0    822                          <&pciesys CLK_PCIE_P0_OBFF_EN>,
819                          <&pciesys CLK_PCIE_P0    823                          <&pciesys CLK_PCIE_P0_PIPE_EN>;
820                 clock-names = "sys_ck0", "ahb_    824                 clock-names = "sys_ck0", "ahb_ck0", "aux_ck0",
821                               "axi_ck0", "obff    825                               "axi_ck0", "obff_ck0", "pipe_ck0";
822                                                   826 
823                 power-domains = <&scpsys MT762    827                 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>;
824                 bus-range = <0x00 0xff>;          828                 bus-range = <0x00 0xff>;
825                 ranges = <0x82000000 0 0x20000    829                 ranges = <0x82000000 0 0x20000000 0x0 0x20000000 0 0x8000000>;
826                 status = "disabled";              830                 status = "disabled";
827                                                   831 
828                 #interrupt-cells = <1>;           832                 #interrupt-cells = <1>;
829                 interrupt-map-mask = <0 0 0 7>    833                 interrupt-map-mask = <0 0 0 7>;
830                 interrupt-map = <0 0 0 1 &pcie    834                 interrupt-map = <0 0 0 1 &pcie_intc0 0>,
831                                 <0 0 0 2 &pcie    835                                 <0 0 0 2 &pcie_intc0 1>,
832                                 <0 0 0 3 &pcie    836                                 <0 0 0 3 &pcie_intc0 2>,
833                                 <0 0 0 4 &pcie    837                                 <0 0 0 4 &pcie_intc0 3>;
834                 pcie_intc0: interrupt-controll    838                 pcie_intc0: interrupt-controller {
835                         interrupt-controller;     839                         interrupt-controller;
836                         #address-cells = <0>;     840                         #address-cells = <0>;
837                         #interrupt-cells = <1>    841                         #interrupt-cells = <1>;
838                 };                                842                 };
839         };                                        843         };
840                                                   844 
841         pcie1: pcie@1a145000 {                    845         pcie1: pcie@1a145000 {
842                 compatible = "mediatek,mt7622-    846                 compatible = "mediatek,mt7622-pcie";
843                 device_type = "pci";              847                 device_type = "pci";
844                 reg = <0 0x1a145000 0 0x1000>;    848                 reg = <0 0x1a145000 0 0x1000>;
845                 reg-names = "port1";              849                 reg-names = "port1";
846                 linux,pci-domain = <1>;           850                 linux,pci-domain = <1>;
847                 #address-cells = <3>;             851                 #address-cells = <3>;
848                 #size-cells = <2>;                852                 #size-cells = <2>;
849                 interrupts = <GIC_SPI 229 IRQ_    853                 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_LOW>;
850                 interrupt-names = "pcie_irq";     854                 interrupt-names = "pcie_irq";
851                 clocks = <&pciesys CLK_PCIE_P1    855                 clocks = <&pciesys CLK_PCIE_P1_MAC_EN>,
852                          /* designer has conne    856                          /* designer has connect RC1 with p0_ahb clock */
853                          <&pciesys CLK_PCIE_P0    857                          <&pciesys CLK_PCIE_P0_AHB_EN>,
854                          <&pciesys CLK_PCIE_P1    858                          <&pciesys CLK_PCIE_P1_AUX_EN>,
855                          <&pciesys CLK_PCIE_P1    859                          <&pciesys CLK_PCIE_P1_AXI_EN>,
856                          <&pciesys CLK_PCIE_P1    860                          <&pciesys CLK_PCIE_P1_OBFF_EN>,
857                          <&pciesys CLK_PCIE_P1    861                          <&pciesys CLK_PCIE_P1_PIPE_EN>;
858                 clock-names = "sys_ck1", "ahb_    862                 clock-names = "sys_ck1", "ahb_ck1", "aux_ck1",
859                               "axi_ck1", "obff    863                               "axi_ck1", "obff_ck1", "pipe_ck1";
860                                                   864 
861                 power-domains = <&scpsys MT762    865                 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>;
862                 bus-range = <0x00 0xff>;          866                 bus-range = <0x00 0xff>;
863                 ranges = <0x82000000 0 0x28000    867                 ranges = <0x82000000 0 0x28000000 0x0 0x28000000 0 0x8000000>;
864                 status = "disabled";              868                 status = "disabled";
865                                                   869 
866                 #interrupt-cells = <1>;           870                 #interrupt-cells = <1>;
867                 interrupt-map-mask = <0 0 0 7>    871                 interrupt-map-mask = <0 0 0 7>;
868                 interrupt-map = <0 0 0 1 &pcie    872                 interrupt-map = <0 0 0 1 &pcie_intc1 0>,
869                                 <0 0 0 2 &pcie    873                                 <0 0 0 2 &pcie_intc1 1>,
870                                 <0 0 0 3 &pcie    874                                 <0 0 0 3 &pcie_intc1 2>,
871                                 <0 0 0 4 &pcie    875                                 <0 0 0 4 &pcie_intc1 3>;
872                 pcie_intc1: interrupt-controll    876                 pcie_intc1: interrupt-controller {
873                         interrupt-controller;     877                         interrupt-controller;
874                         #address-cells = <0>;     878                         #address-cells = <0>;
875                         #interrupt-cells = <1>    879                         #interrupt-cells = <1>;
876                 };                                880                 };
877         };                                        881         };
878                                                   882 
879         sata: sata@1a200000 {                     883         sata: sata@1a200000 {
880                 compatible = "mediatek,mt7622-    884                 compatible = "mediatek,mt7622-ahci",
881                              "mediatek,mtk-ahc    885                              "mediatek,mtk-ahci";
882                 reg = <0 0x1a200000 0 0x1100>;    886                 reg = <0 0x1a200000 0 0x1100>;
883                 interrupts = <GIC_SPI 233 IRQ_    887                 interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>;
884                 interrupt-names = "hostc";        888                 interrupt-names = "hostc";
885                 clocks = <&pciesys CLK_SATA_AH    889                 clocks = <&pciesys CLK_SATA_AHB_EN>,
886                          <&pciesys CLK_SATA_AX    890                          <&pciesys CLK_SATA_AXI_EN>,
887                          <&pciesys CLK_SATA_AS    891                          <&pciesys CLK_SATA_ASIC_EN>,
888                          <&pciesys CLK_SATA_RB    892                          <&pciesys CLK_SATA_RBC_EN>,
889                          <&pciesys CLK_SATA_PM    893                          <&pciesys CLK_SATA_PM_EN>;
890                 clock-names = "ahb", "axi", "a    894                 clock-names = "ahb", "axi", "asic", "rbc", "pm";
891                 phys = <&sata_port PHY_TYPE_SA    895                 phys = <&sata_port PHY_TYPE_SATA>;
892                 phy-names = "sata-phy";           896                 phy-names = "sata-phy";
893                 ports-implemented = <0x1>;        897                 ports-implemented = <0x1>;
894                 power-domains = <&scpsys MT762    898                 power-domains = <&scpsys MT7622_POWER_DOMAIN_HIF0>;
895                 resets = <&pciesys MT7622_SATA    899                 resets = <&pciesys MT7622_SATA_AXI_BUS_RST>,
896                          <&pciesys MT7622_SATA    900                          <&pciesys MT7622_SATA_PHY_SW_RST>,
897                          <&pciesys MT7622_SATA    901                          <&pciesys MT7622_SATA_PHY_REG_RST>;
898                 reset-names = "axi", "sw", "re    902                 reset-names = "axi", "sw", "reg";
899                 mediatek,phy-mode = <&pciesys>    903                 mediatek,phy-mode = <&pciesys>;
900                 status = "disabled";              904                 status = "disabled";
901         };                                        905         };
902                                                   906 
903         sata_phy: t-phy {                      !! 907         sata_phy: t-phy@1a243000 {
904                 compatible = "mediatek,mt7622-    908                 compatible = "mediatek,mt7622-tphy",
905                              "mediatek,generic    909                              "mediatek,generic-tphy-v1";
906                 #address-cells = <2>;             910                 #address-cells = <2>;
907                 #size-cells = <2>;                911                 #size-cells = <2>;
908                 ranges;                           912                 ranges;
909                 status = "disabled";              913                 status = "disabled";
910                                                   914 
911                 sata_port: sata-phy@1a243000 {    915                 sata_port: sata-phy@1a243000 {
912                         reg = <0 0x1a243000 0     916                         reg = <0 0x1a243000 0 0x0100>;
913                         clocks = <&topckgen CL    917                         clocks = <&topckgen CLK_TOP_ETH_500M>;
914                         clock-names = "ref";      918                         clock-names = "ref";
915                         #phy-cells = <1>;         919                         #phy-cells = <1>;
916                 };                                920                 };
917         };                                        921         };
918                                                   922 
919         hifsys: clock-controller@1af00000 {    !! 923         hifsys: syscon@1af00000 {
920                 compatible = "mediatek,mt7622- !! 924                 compatible = "mediatek,mt7622-hifsys", "syscon";
921                 reg = <0 0x1af00000 0 0x70>;      925                 reg = <0 0x1af00000 0 0x70>;
922                 #clock-cells = <1>;            << 
923         };                                        926         };
924                                                   927 
925         ethsys: clock-controller@1b000000 {    !! 928         ethsys: syscon@1b000000 {
926                 compatible = "mediatek,mt7622-    929                 compatible = "mediatek,mt7622-ethsys",
927                              "syscon";            930                              "syscon";
928                 reg = <0 0x1b000000 0 0x1000>;    931                 reg = <0 0x1b000000 0 0x1000>;
929                 #clock-cells = <1>;               932                 #clock-cells = <1>;
930                 #reset-cells = <1>;               933                 #reset-cells = <1>;
931         };                                        934         };
932                                                   935 
933         hsdma: dma-controller@1b007000 {          936         hsdma: dma-controller@1b007000 {
934                 compatible = "mediatek,mt7622-    937                 compatible = "mediatek,mt7622-hsdma";
935                 reg = <0 0x1b007000 0 0x1000>;    938                 reg = <0 0x1b007000 0 0x1000>;
936                 interrupts = <GIC_SPI 219 IRQ_    939                 interrupts = <GIC_SPI 219 IRQ_TYPE_LEVEL_LOW>;
937                 clocks = <&ethsys CLK_ETH_HSDM    940                 clocks = <&ethsys CLK_ETH_HSDMA_EN>;
938                 clock-names = "hsdma";            941                 clock-names = "hsdma";
939                 power-domains = <&scpsys MT762    942                 power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>;
940                 #dma-cells = <1>;                 943                 #dma-cells = <1>;
941                 dma-requests = <3>;               944                 dma-requests = <3>;
942         };                                        945         };
943                                                   946 
944         pcie_mirror: pcie-mirror@10000400 {       947         pcie_mirror: pcie-mirror@10000400 {
945                 compatible = "mediatek,mt7622-    948                 compatible = "mediatek,mt7622-pcie-mirror",
946                              "syscon";            949                              "syscon";
947                 reg = <0 0x10000400 0 0x10>;      950                 reg = <0 0x10000400 0 0x10>;
948         };                                        951         };
949                                                   952 
950         wed0: wed@1020a000 {                      953         wed0: wed@1020a000 {
951                 compatible = "mediatek,mt7622-    954                 compatible = "mediatek,mt7622-wed",
952                              "syscon";            955                              "syscon";
953                 reg = <0 0x1020a000 0 0x1000>;    956                 reg = <0 0x1020a000 0 0x1000>;
954                 interrupts = <GIC_SPI 214 IRQ_    957                 interrupts = <GIC_SPI 214 IRQ_TYPE_LEVEL_LOW>;
955         };                                        958         };
956                                                   959 
957         wed1: wed@1020b000 {                      960         wed1: wed@1020b000 {
958                 compatible = "mediatek,mt7622-    961                 compatible = "mediatek,mt7622-wed",
959                              "syscon";            962                              "syscon";
960                 reg = <0 0x1020b000 0 0x1000>;    963                 reg = <0 0x1020b000 0 0x1000>;
961                 interrupts = <GIC_SPI 215 IRQ_    964                 interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_LOW>;
962         };                                        965         };
963                                                   966 
964         eth: ethernet@1b100000 {                  967         eth: ethernet@1b100000 {
965                 compatible = "mediatek,mt7622- !! 968                 compatible = "mediatek,mt7622-eth",
                                                   >> 969                              "mediatek,mt2701-eth",
                                                   >> 970                              "syscon";
966                 reg = <0 0x1b100000 0 0x20000>    971                 reg = <0 0x1b100000 0 0x20000>;
967                 interrupts = <GIC_SPI 223 IRQ_    972                 interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_LOW>,
968                              <GIC_SPI 224 IRQ_    973                              <GIC_SPI 224 IRQ_TYPE_LEVEL_LOW>,
969                              <GIC_SPI 225 IRQ_    974                              <GIC_SPI 225 IRQ_TYPE_LEVEL_LOW>;
970                 clocks = <&topckgen CLK_TOP_ET    975                 clocks = <&topckgen CLK_TOP_ETH_SEL>,
971                          <&ethsys CLK_ETH_ESW_    976                          <&ethsys CLK_ETH_ESW_EN>,
972                          <&ethsys CLK_ETH_GP0_    977                          <&ethsys CLK_ETH_GP0_EN>,
973                          <&ethsys CLK_ETH_GP1_    978                          <&ethsys CLK_ETH_GP1_EN>,
974                          <&ethsys CLK_ETH_GP2_    979                          <&ethsys CLK_ETH_GP2_EN>,
975                          <&sgmiisys CLK_SGMII_    980                          <&sgmiisys CLK_SGMII_TX250M_EN>,
976                          <&sgmiisys CLK_SGMII_    981                          <&sgmiisys CLK_SGMII_RX250M_EN>,
977                          <&sgmiisys CLK_SGMII_    982                          <&sgmiisys CLK_SGMII_CDR_REF>,
978                          <&sgmiisys CLK_SGMII_    983                          <&sgmiisys CLK_SGMII_CDR_FB>,
979                          <&topckgen CLK_TOP_SG    984                          <&topckgen CLK_TOP_SGMIIPLL>,
980                          <&apmixedsys CLK_APMI    985                          <&apmixedsys CLK_APMIXED_ETH2PLL>;
981                 clock-names = "ethif", "esw",     986                 clock-names = "ethif", "esw", "gp0", "gp1", "gp2",
982                               "sgmii_tx250m",     987                               "sgmii_tx250m", "sgmii_rx250m",
983                               "sgmii_cdr_ref",    988                               "sgmii_cdr_ref", "sgmii_cdr_fb", "sgmii_ck",
984                               "eth2pll";          989                               "eth2pll";
985                 power-domains = <&scpsys MT762    990                 power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>;
986                 mediatek,ethsys = <&ethsys>;      991                 mediatek,ethsys = <&ethsys>;
987                 mediatek,sgmiisys = <&sgmiisys    992                 mediatek,sgmiisys = <&sgmiisys>;
988                 cci-control-port = <&cci_contr    993                 cci-control-port = <&cci_control2>;
989                 mediatek,wed = <&wed0>, <&wed1    994                 mediatek,wed = <&wed0>, <&wed1>;
990                 mediatek,pcie-mirror = <&pcie_    995                 mediatek,pcie-mirror = <&pcie_mirror>;
991                 mediatek,hifsys = <&hifsys>;      996                 mediatek,hifsys = <&hifsys>;
992                 dma-coherent;                     997                 dma-coherent;
993                 #address-cells = <1>;             998                 #address-cells = <1>;
994                 #size-cells = <0>;                999                 #size-cells = <0>;
995                 status = "disabled";              1000                 status = "disabled";
996         };                                        1001         };
997                                                   1002 
998         sgmiisys: sgmiisys@1b128000 {             1003         sgmiisys: sgmiisys@1b128000 {
999                 compatible = "mediatek,mt7622-    1004                 compatible = "mediatek,mt7622-sgmiisys",
1000                              "syscon";           1005                              "syscon";
1001                 reg = <0 0x1b128000 0 0x3000>    1006                 reg = <0 0x1b128000 0 0x3000>;
1002                 #clock-cells = <1>;              1007                 #clock-cells = <1>;
1003         };                                       1008         };
1004 };                                               1009 };
                                                      

~ [ 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