blob: e7f5b6d24e6814d1e083b8dc735caaed31a0a77d [file] [log] [blame]
developer2cdaeb12022-10-04 20:25:05 +08001// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright (C) 2021 MediaTek Inc.
4 * Author: Sam.Shih <sam.shih@mediatek.com>
5 */
6
7#include <dt-bindings/interrupt-controller/irq.h>
8#include <dt-bindings/interrupt-controller/arm-gic.h>
9#include <dt-bindings/phy/phy.h>
10#include <dt-bindings/reset/ti-syscon.h>
11#include <dt-bindings/clock/mt7988-clk.h>
12#include <dt-bindings/pinctrl/mt65xx.h>
13#include <dt-bindings/thermal/thermal.h>
14#include <dt-bindings/regulator/richtek,rt5190a-regulator.h>
15#include <dt-bindings/power/mt7988-power.h>
16
17/ {
18 compatible = "mediatek,mt7988-rfb";
19 interrupt-parent = <&gic>;
20 #address-cells = <2>;
21 #size-cells = <2>;
22 cpus {
23 #address-cells = <1>;
24 #size-cells = <0>;
25 cpu@0 {
26 device_type = "cpu";
27 compatible = "arm,cortex-a73";
28 enable-method = "psci";
29 reg = <0x0>;
30 clocks = <&mcusys CK_MCU_ARM_DIV_SEL>,
31 <&topckgen CK_TOP_CB_NET1_D4>,
32 <&apmixedsys CK_APMIXED_ARM_B>,
33 <&mcusys CK_MCU_BUS_DIV_SEL>,
34 <&apmixedsys CK_APMIXED_CCIPLL2_B>;
35 clock-names = "cpu", "intermediate", "armpll", "cci",
36 "ccipll";
37 operating-points-v2 = <&cluster0_opp>;
38 nvmem-cells = <&cpufreq_calibration>;
39 nvmem-cell-names = "calibration-data";
40 };
41
42 cpu@1 {
43 device_type = "cpu";
44 compatible = "arm,cortex-a73";
45 enable-method = "psci";
46 reg = <0x1>;
47 clocks = <&mcusys CK_MCU_ARM_DIV_SEL>,
48 <&topckgen CK_TOP_CB_NET1_D4>,
49 <&apmixedsys CK_APMIXED_ARM_B>,
50 <&mcusys CK_MCU_BUS_DIV_SEL>,
51 <&apmixedsys CK_APMIXED_CCIPLL2_B>;
52 clock-names = "cpu", "intermediate", "armpll", "cci",
53 "ccipll";
54 operating-points-v2 = <&cluster0_opp>;
55 nvmem-cells = <&cpufreq_calibration>;
56 nvmem-cell-names = "calibration-data";
57 };
58
59 cpu@2 {
60 device_type = "cpu";
61 compatible = "arm,cortex-a73";
62 enable-method = "psci";
63 reg = <0x2>;
64 clocks = <&mcusys CK_MCU_ARM_DIV_SEL>,
65 <&topckgen CK_TOP_CB_NET1_D4>,
66 <&apmixedsys CK_APMIXED_ARM_B>,
67 <&mcusys CK_MCU_BUS_DIV_SEL>,
68 <&apmixedsys CK_APMIXED_CCIPLL2_B>;
69 clock-names = "cpu", "intermediate", "armpll", "cci",
70 "ccipll";
71 operating-points-v2 = <&cluster0_opp>;
72 nvmem-cells = <&cpufreq_calibration>;
73 nvmem-cell-names = "calibration-data";
74 };
75
76 cpu@3 {
77 device_type = "cpu";
78 compatible = "arm,cortex-a73";
79 enable-method = "psci";
80 reg = <0x3>;
81 clocks = <&mcusys CK_MCU_ARM_DIV_SEL>,
82 <&topckgen CK_TOP_CB_NET1_D4>,
83 <&apmixedsys CK_APMIXED_ARM_B>,
84 <&mcusys CK_MCU_BUS_DIV_SEL>,
85 <&apmixedsys CK_APMIXED_CCIPLL2_B>;
86 clock-names = "cpu", "intermediate", "armpll", "cci",
87 "ccipll";
88 operating-points-v2 = <&cluster0_opp>;
89 nvmem-cells = <&cpufreq_calibration>;
90 nvmem-cell-names = "calibration-data";
91 };
92
93 cluster0_opp: opp_table0 {
94 compatible = "operating-points-v2";
95 opp-shared;
96 opp00 {
97 opp-hz = /bits/ 64 <800000000>;
98 opp-microvolt = <850000>;
99 };
100 opp01 {
101 opp-hz = /bits/ 64 <1100000000>;
102 opp-microvolt = <850000>;
103 };
104 opp02 {
105 opp-hz = /bits/ 64 <1500000000>;
106 opp-microvolt = <850000>;
107 };
108 opp03 {
109 opp-hz = /bits/ 64 <1800000000>;
110 opp-microvolt = <900000>;
111 };
112 };
113 };
114
developerb6555332022-11-30 15:52:42 +0800115 pmu {
116 compatible = "arm,cortex-a73-pmu";
117 interrupt-parent = <&gic>;
118 interrupt = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
119 };
120
developer2cdaeb12022-10-04 20:25:05 +0800121 thermal-zones {
122 cpu_thermal: cpu-thermal {
123 polling-delay-passive = <1000>;
124 polling-delay = <1000>;
125 thermal-sensors = <&lvts 0>;
126 trips {
127 cpu_trip_crit: crit {
128 temperature = <125000>;
129 hysteresis = <2000>;
130 type = "critical";
131 };
132
133 cpu_trip_hot: hot {
134 temperature = <120000>;
135 hysteresis = <2000>;
136 type = "hot";
137 };
138
139 cpu_trip_active_high: active-high {
140 temperature = <115000>;
141 hysteresis = <2000>;
142 type = "active";
143 };
144
145 cpu_trip_active_low: active-low {
146 temperature = <85000>;
147 hysteresis = <2000>;
148 type = "active";
149 };
150
151 cpu_trip_passive: passive {
152 temperature = <40000>;
153 hysteresis = <2000>;
154 type = "passive";
155 };
156 };
157
158 cooling-maps {
159 cpu-active-high {
160 /* active: set fan to cooling level 2 */
161 cooling-device = <&fan 2 2>;
162 trip = <&cpu_trip_active_high>;
163 };
164
165 cpu-active-low {
166 /* active: set fan to cooling level 1 */
167 cooling-device = <&fan 1 1>;
168 trip = <&cpu_trip_active_low>;
169 };
170
171 cpu-passive {
172 /* passive: set fan to cooling level 0 */
173 cooling-device = <&fan 0 0>;
174 trip = <&cpu_trip_passive>;
175 };
176 };
177
178 };
179 };
180
181 mmc0: mmc@11230000 {
182 compatible = "mediatek,mt7986-mmc";
183 reg = <0 0x11230000 0 0x1000>,
184 <0 0x11D60000 0 0x1000>;
185 interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
186 clocks = <&infracfg_ao CK_INFRA_MSDC400>,
187 <&infracfg_ao CK_INFRA_MSDC2_HCK>,
188 <&infracfg_ao CK_INFRA_133M_MSDC_0_HCK>,
189 <&infracfg_ao CK_INFRA_66M_MSDC_0_HCK>;
190 clock-names = "source", "hclk", "ahb_cg", "axi_cg";
191 status = "disabled";
192 };
193
194 wed: wed@15010000 {
195 compatible = "mediatek,wed";
196 wed_num = <3>;
197 /* add this property for wed get the pci slot number. */
198 pci_slot_map = <0>, <1>, <2>;
199 reg = <0 0x15010000 0 0x2000>,
200 <0 0x15012000 0 0x2000>,
201 <0 0x15014000 0 0x2000>;
202 interrupt-parent = <&gic>;
203 interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
204 <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
205 <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>;
206 };
207
208 wed2: wed2@15012000 {
209 compatible = "mediatek,wed2";
210 wed_num = <3>;
211 /* add this property for wed get the pci slot number. */
212 reg = <0 0x15010000 0 0x2000>,
213 <0 0x15012000 0 0x2000>,
214 <0 0x15014000 0 0x2000>;
215 interrupt-parent = <&gic>;
216 interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
217 <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
218 <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>;
219 };
220
221 wed3: wed3@15014000 {
222 compatible = "mediatek,wed3";
223 wed_num = <3>;
224 /* add this property for wed get the pci slot number. */
225 reg = <0 0x15010000 0 0x2000>,
226 <0 0x15012000 0 0x2000>,
227 <0 0x15014000 0 0x2000>;
228 interrupt-parent = <&gic>;
229 interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
230 <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
231 <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>;
232 };
233
234 wdma: wdma@15104800 {
235 compatible = "mediatek,wed-wdma";
236 reg = <0 0x15104800 0 0x400>,
237 <0 0x15104c00 0 0x400>,
238 <0 0x15105000 0 0x400>;
239 };
240
241 ap2woccif: ap2woccif@151A5000 {
242 compatible = "mediatek,ap2woccif";
243 reg = <0 0x151A5000 0 0x1000>,
244 <0 0x152A5000 0 0x1000>,
245 <0 0x153A5000 0 0x1000>;
246 interrupt-parent = <&gic>;
247 interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
248 <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
249 <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
250 };
251
252 wocpu0_ilm: wocpu0_ilm@151E0000 {
253 compatible = "mediatek,wocpu0_ilm";
254 reg = <0 0x151E0000 0 0x8000>;
255 };
256
257 wocpu1_ilm: wocpu1_ilm@152E0000 {
258 compatible = "mediatek,wocpu1_ilm";
259 reg = <0 0x152E0000 0 0x8000>;
260 };
261
262 wocpu2_ilm: wocpu2_ilm@153E0000 {
263 compatible = "mediatek,wocpu2_ilm";
264 reg = <0 0x153E0000 0 0x8000>;
265 };
266
267 wocpu_dlm: wocpu_dlm@151E8000 {
268 compatible = "mediatek,wocpu_dlm";
269 reg = <0 0x151E8000 0 0x2000>,
270 <0 0x152E8000 0 0x2000>,
271 <0 0x153E8000 0 0x2000>;
272
273 resets = <&ethsysrst 0>;
274 reset-names = "wocpu_rst";
275 };
276
277 cpu_boot: wocpu_boot@15194000 {
278 compatible = "mediatek,wocpu_boot";
279 reg = <0 0x15194000 0 0x1000>,
280 <0 0x15294000 0 0x1000>,
281 <0 0x15394000 0 0x1000>;
282 };
283
284 reserved-memory {
285 #address-cells = <2>;
286 #size-cells = <2>;
287 ranges;
288
289 /* 192 KiB reserved for ARM Trusted Firmware (BL31) */
290 secmon_reserved: secmon@43000000 {
291 reg = <0 0x43000000 0 0x30000>;
292 no-map;
293 };
294
295 wmcpu_emi: wmcpu-reserved@47CC0000 {
296 compatible = "mediatek,wmcpu-reserved";
297 no-map;
298 reg = <0 0x47CC0000 0 0x00100000>;
299 };
300
301 wocpu0_emi: wocpu0_emi@4F600000 {
302 compatible = "mediatek,wocpu0_emi";
303 no-map;
304 reg = <0 0x4F600000 0 0x40000>;
305 shared = <0>;
306 };
307
308 wocpu1_emi: wocpu1_emi@4F640000 {
309 compatible = "mediatek,wocpu1_emi";
310 no-map;
311 reg = <0 0x4F640000 0 0x40000>;
312 shared = <0>;
313 };
314
315 wocpu2_emi: wocpu2_emi@4F680000 {
316 compatible = "mediatek,wocpu2_emi";
317 no-map;
318 reg = <0 0x4F680000 0 0x40000>;
319 shared = <0>;
320 };
321
322 wocpu_data: wocpu_data@4F700000 {
323 compatible = "mediatek,wocpu_data";
324 no-map;
325 reg = <0 0x4F700000 0 0x800000>;
326 shared = <1>;
327 };
328 };
329
330 psci {
331 compatible = "arm,psci-0.2";
332 method = "smc";
333 };
334
335 system_clk: dummy_system_clk {
336 compatible = "fixed-clock";
337 clock-frequency = <40000000>;
338 #clock-cells = <0>;
339 };
340
341 uart_clk: dummy_uart_clk {
342 compatible = "fixed-clock";
343 clock-frequency = <40000000>;
344 #clock-cells = <0>;
345 };
346
347 timer {
348 compatible = "arm,armv8-timer";
349 interrupt-parent = <&gic>;
350 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
351 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
352 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
353 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
354
355 };
356
developer2cdaeb12022-10-04 20:25:05 +0800357 watchdog: watchdog@1001c000 {
358 compatible = "mediatek,mt7622-wdt",
359 "mediatek,mt6589-wdt",
360 "syscon";
361 reg = <0 0x1001c000 0 0x1000>;
362 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
363 #reset-cells = <1>;
364 };
365
366 phyfw: phy-firmware@f000000 {
367 compatible = "mediatek,2p5gphy-fw";
368 reg = <0 0x0f000000 0 0x8000>,
369 <0 0x0f100000 0 0x20000>,
370 <0 0x0f0f0000 0 0x200>;
371 };
372
developer23021292022-10-21 19:10:10 +0800373 boottrap: boottrap@1001f6f0 {
374 compatible = "mediatek,boottrap";
375 reg = <0 0x1001f6f0 0 0x20>;
376 };
377
developer2cdaeb12022-10-04 20:25:05 +0800378 gic: interrupt-controller@c000000 {
379 compatible = "arm,gic-v3";
380 #interrupt-cells = <3>;
381 interrupt-parent = <&gic>;
382 interrupt-controller;
383 reg = <0 0x0c000000 0 0x40000>, /* GICD */
384 <0 0x0c080000 0 0x200000>; /* GICR */
385
386 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
387 };
388
389 trng: trng@1020f000 {
390 compatible = "mediatek,mt7988-rng";
391 };
392
393 uart0: serial@11000000 {
394 compatible = "mediatek,mt7986-uart",
395 "mediatek,mt6577-uart";
396 reg = <0 0x11000000 0 0x100>;
397 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
developer11a99102022-11-27 03:02:26 +0800398 clocks = <&uart_clk>;
developer2cdaeb12022-10-04 20:25:05 +0800399 status = "disabled";
400 };
401
402 uart1: serial@11000100 {
403 compatible = "mediatek,mt7986-uart",
404 "mediatek,mt6577-uart";
405 reg = <0 0x11000100 0 0x100>;
406 interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
developer11a99102022-11-27 03:02:26 +0800407 clocks = <&uart_clk>;
developer2cdaeb12022-10-04 20:25:05 +0800408 status = "disabled";
409 };
410
411 uart2: serial@11000200 {
412 compatible = "mediatek,mt7986-uart",
413 "mediatek,mt6577-uart";
414 reg = <0 0x11000200 0 0x100>;
415 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
developer11a99102022-11-27 03:02:26 +0800416 clocks = <&uart_clk>;
developer2cdaeb12022-10-04 20:25:05 +0800417 status = "disabled";
418 };
419
420 i2c0: i2c@11003000 {
421 compatible = "mediatek,mt7988-i2c",
422 "mediatek,mt7981-i2c";
423 reg = <0 0x11003000 0 0x1000>,
424 <0 0x10217080 0 0x80>;
425 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
426 clock-div = <1>;
427 clocks = <&system_clk>,
428 <&system_clk>;
429 clock-names = "main", "dma";
430 #address-cells = <1>;
431 #size-cells = <0>;
432 status = "disabled";
433 };
434
435 i2c1: i2c@11004000 {
436 compatible = "mediatek,mt7988-i2c",
437 "mediatek,mt7981-i2c";
438 reg = <0 0x11004000 0 0x1000>,
439 <0 0x10217100 0 0x80>;
440 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
441 clock-div = <1>;
442 clocks = <&system_clk>,
443 <&system_clk>;
444 clock-names = "main", "dma";
445 #address-cells = <1>;
446 #size-cells = <0>;
447 status = "disabled";
448 };
449
450 i2c2: i2c@11005000 {
451 compatible = "mediatek,mt7988-i2c",
452 "mediatek,mt7981-i2c";
453 reg = <0 0x11005000 0 0x1000>,
454 <0 0x10217180 0 0x80>;
455 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
456 clock-div = <1>;
457 clocks = <&system_clk>,
458 <&system_clk>;
459 clock-names = "main", "dma";
460 #address-cells = <1>;
461 #size-cells = <0>;
462 status = "disabled";
463 };
464
465 pwm: pwm@10048000 {
466 compatible = "mediatek,mt7988-pwm";
467 reg = <0 0x10048000 0 0x1000>;
468 #pwm-cells = <2>;
developer1ad6fe42022-11-02 11:33:26 +0800469 clocks = <&infracfg_ao CK_INFRA_66M_PWM_BCK>,
470 <&infracfg_ao CK_INFRA_66M_PWM_HCK>,
471 <&infracfg_ao CK_INFRA_66M_PWM_CK1>,
472 <&infracfg_ao CK_INFRA_66M_PWM_CK2>,
473 <&infracfg_ao CK_INFRA_66M_PWM_CK3>,
474 <&infracfg_ao CK_INFRA_66M_PWM_CK4>,
475 <&infracfg_ao CK_INFRA_66M_PWM_CK5>,
476 <&infracfg_ao CK_INFRA_66M_PWM_CK6>,
477 <&infracfg_ao CK_INFRA_66M_PWM_CK7>,
478 <&infracfg_ao CK_INFRA_66M_PWM_CK8>;
developer2cdaeb12022-10-04 20:25:05 +0800479 clock-names = "top", "main", "pwm1", "pwm2", "pwm3",
480 "pwm4","pwm5","pwm6","pwm7","pwm8";
481 status = "disabled";
482 };
483
484 fan: pwm-fan {
485 compatible = "pwm-fan";
486 /* cooling level (0, 1, 2) : (0% duty, 50% duty, 100% duty) */
487 cooling-levels = <0 128 255>;
488 #cooling-cells = <2>;
489 #thermal-sensor-cells = <1>;
490 status = "disabled";
491 };
492
493 lvts: lvts@1100a000 {
494 compatible = "mediatek,mt7988-lvts";
495 #thermal-sensor-cells = <1>;
496 reg = <0 0x1100a000 0 0x1000>;
developer1bbcf512022-11-18 16:09:33 +0800497 clocks = <&infracfg_ao CK_INFRA_26M_THERM_SYSTEM>;
developer2cdaeb12022-10-04 20:25:05 +0800498 clock-names = "lvts_clk";
499 nvmem-cells = <&lvts_calibration>;
500 nvmem-cell-names = "e_data1";
501 };
502
503 crypto: crypto@15600000 {
504 compatible = "inside-secure,safexcel-eip197b";
505 reg = <0 0x15600000 0 0x180000>;
506 interrupts = <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
507 <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>,
508 <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
509 <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>;
510 interrupt-names = "ring0", "ring1", "ring2", "ring3";
511 status = "okay";
512 };
513
developer3594afb2022-10-25 13:22:53 +0800514 afe: audio-controller@11210000 {
515 compatible = "mediatek,mt79xx-audio";
516 reg = <0 0x11210000 0 0x9000>;
517 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
518 clocks = <&infracfg_ao CK_INFRA_66M_AUD_SLV_BCK>,
519 <&infracfg_ao CK_INFRA_AUD_26M>,
520 <&infracfg_ao CK_INFRA_AUD_L>,
521 <&infracfg_ao CK_INFRA_AUD_AUD>,
522 <&infracfg_ao CK_INFRA_AUD_EG2>,
523 <&topckgen CK_TOP_AUD_SEL>,
524 <&topckgen CK_TOP_AUD_I2S_M>;
525 clock-names = "aud_bus_ck",
526 "aud_26m_ck",
527 "aud_l_ck",
528 "aud_aud_ck",
529 "aud_eg2_ck",
530 "aud_sel",
531 "aud_i2s_m";
532 assigned-clocks = <&topckgen CK_TOP_AUD_SEL>,
533 <&topckgen CK_TOP_A1SYS_SEL>,
534 <&topckgen CK_TOP_AUD_L_SEL>,
535 <&topckgen CK_TOP_A_TUNER_SEL>;
536 assigned-clock-parents = <&topckgen CK_TOP_CB_APLL2_196M>,
537 <&topckgen CK_TOP_CB_APLL2_D4>,
538 <&topckgen CK_TOP_CB_APLL2_196M>,
539 <&topckgen CK_TOP_CB_APLL2_D4>;
540 status = "disabled";
541 };
542
developer2cdaeb12022-10-04 20:25:05 +0800543 pcie0: pcie@11300000 {
544 compatible = "mediatek,mt7988-pcie",
545 "mediatek,mt7986-pcie";
546 device_type = "pci";
547 #address-cells = <3>;
548 #size-cells = <2>;
549 reg = <0 0x11300000 0 0x2000>;
550 reg-names = "pcie-mac";
551 linux,pci-domain = <0>;
552 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
553 bus-range = <0x00 0xff>;
554 ranges = <0x81000000 0x00 0x30000000 0x00
555 0x30000000 0x00 0x00200000>,
556 <0x82000000 0x00 0x30200000 0x00
557 0x30200000 0x00 0x07e00000>;
developerca2082b2022-11-01 11:23:49 +0800558 clocks = <&infracfg_ao CK_INFRA_PCIE_PIPE_P0>,
developer2cdaeb12022-10-04 20:25:05 +0800559 <&infracfg_ao CK_INFRA_PCIE_GFMUX_TL_P0>,
developerca2082b2022-11-01 11:23:49 +0800560 <&infracfg_ao CK_INFRA_PCIE_PERI_26M_CK_P0>,
561 <&infracfg_ao CK_INFRA_133M_PCIE_CK_P0>;
562 clock-names = "pl_250m", "tl_26m", "peri_26m", "top_133m";
563 status = "disabled";
developer2cdaeb12022-10-04 20:25:05 +0800564
565 #interrupt-cells = <1>;
566 interrupt-map-mask = <0 0 0 0x7>;
567 interrupt-map = <0 0 0 1 &pcie_intc0 0>,
568 <0 0 0 2 &pcie_intc0 1>,
569 <0 0 0 3 &pcie_intc0 2>,
570 <0 0 0 4 &pcie_intc0 3>;
571 pcie_intc0: interrupt-controller {
572 #address-cells = <0>;
573 #interrupt-cells = <1>;
574 interrupt-controller;
575 };
576 };
577
578 pcie1: pcie@11310000 {
579 compatible = "mediatek,mt7988-pcie",
580 "mediatek,mt7986-pcie";
581 device_type = "pci";
582 #address-cells = <3>;
583 #size-cells = <2>;
584 reg = <0 0x11310000 0 0x2000>;
585 reg-names = "pcie-mac";
586 linux,pci-domain = <1>;
587 interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
588 bus-range = <0x00 0xff>;
589 ranges = <0x81000000 0x00 0x38000000 0x00
590 0x38000000 0x00 0x00200000>,
591 <0x82000000 0x00 0x38200000 0x00
592 0x38200000 0x00 0x07e00000>;
developerca2082b2022-11-01 11:23:49 +0800593 clocks = <&infracfg_ao CK_INFRA_PCIE_PIPE_P1>,
developer2cdaeb12022-10-04 20:25:05 +0800594 <&infracfg_ao CK_INFRA_PCIE_GFMUX_TL_P1>,
developerca2082b2022-11-01 11:23:49 +0800595 <&infracfg_ao CK_INFRA_PCIE_PERI_26M_CK_P1>,
596 <&infracfg_ao CK_INFRA_133M_PCIE_CK_P1>;
597 clock-names = "pl_250m", "tl_26m", "peri_26m", "top_133m";
598 status = "disabled";
developer2cdaeb12022-10-04 20:25:05 +0800599
600 #interrupt-cells = <1>;
601 interrupt-map-mask = <0 0 0 0x7>;
602 interrupt-map = <0 0 0 1 &pcie_intc1 0>,
603 <0 0 0 2 &pcie_intc1 1>,
604 <0 0 0 3 &pcie_intc1 2>,
605 <0 0 0 4 &pcie_intc1 3>;
606 pcie_intc1: interrupt-controller {
607 #address-cells = <0>;
608 #interrupt-cells = <1>;
609 interrupt-controller;
610 };
611 };
612
613 pcie2: pcie@11280000 {
614 compatible = "mediatek,mt7988-pcie",
615 "mediatek,mt7986-pcie";
616 device_type = "pci";
617 #address-cells = <3>;
618 #size-cells = <2>;
619 reg = <0 0x11280000 0 0x2000>;
620 reg-names = "pcie-mac";
621 linux,pci-domain = <3>;
622 interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
623 bus-range = <0x00 0xff>;
624 ranges = <0x81000000 0x00 0x20000000 0x00
625 0x20000000 0x00 0x00200000>,
626 <0x82000000 0x00 0x20200000 0x00
627 0x20200000 0x00 0x07e00000>;
developerca2082b2022-11-01 11:23:49 +0800628 clocks = <&infracfg_ao CK_INFRA_PCIE_PIPE_P2>,
developer2cdaeb12022-10-04 20:25:05 +0800629 <&infracfg_ao CK_INFRA_PCIE_GFMUX_TL_P2>,
developer2cdaeb12022-10-04 20:25:05 +0800630 <&infracfg_ao CK_INFRA_PCIE_PERI_26M_CK_P2>,
developerca2082b2022-11-01 11:23:49 +0800631 <&infracfg_ao CK_INFRA_133M_PCIE_CK_P2>;
632 clock-names = "pl_250m", "tl_26m", "peri_26m", "top_133m";
633 status = "disabled";
developer2cdaeb12022-10-04 20:25:05 +0800634
635 phys = <&xphyu3port0 PHY_TYPE_PCIE>;
636 phy-names = "pcie-phy";
637
638 #interrupt-cells = <1>;
639 interrupt-map-mask = <0 0 0 0x7>;
640 interrupt-map = <0 0 0 1 &pcie_intc2 0>,
641 <0 0 0 2 &pcie_intc2 1>,
642 <0 0 0 3 &pcie_intc2 2>,
643 <0 0 0 4 &pcie_intc2 3>;
644 pcie_intc2: interrupt-controller {
645 #address-cells = <0>;
646 #interrupt-cells = <1>;
647 interrupt-controller;
648 };
649 };
650
651 pcie3: pcie@11290000 {
652 compatible = "mediatek,mt7988-pcie",
653 "mediatek,mt7986-pcie";
654 device_type = "pci";
655 #address-cells = <3>;
656 #size-cells = <2>;
657 reg = <0 0x11290000 0 0x2000>;
658 reg-names = "pcie-mac";
659 linux,pci-domain = <2>;
660 interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
661 bus-range = <0x00 0xff>;
662 ranges = <0x81000000 0x00 0x28000000 0x00
663 0x28000000 0x00 0x00200000>,
664 <0x82000000 0x00 0x28200000 0x00
665 0x28200000 0x00 0x07e00000>;
developerca2082b2022-11-01 11:23:49 +0800666 clocks = <&infracfg_ao CK_INFRA_PCIE_PIPE_P3>,
developer2cdaeb12022-10-04 20:25:05 +0800667 <&infracfg_ao CK_INFRA_PCIE_GFMUX_TL_P3>,
developerca2082b2022-11-01 11:23:49 +0800668 <&infracfg_ao CK_INFRA_PCIE_PERI_26M_CK_P3>,
669 <&infracfg_ao CK_INFRA_133M_PCIE_CK_P3>;
670 clock-names = "pl_250m", "tl_26m", "peri_26m", "top_133m";
671 status = "disabled";
developer2cdaeb12022-10-04 20:25:05 +0800672
673 #interrupt-cells = <1>;
674 interrupt-map-mask = <0 0 0 0x7>;
675 interrupt-map = <0 0 0 1 &pcie_intc3 0>,
676 <0 0 0 2 &pcie_intc3 1>,
677 <0 0 0 3 &pcie_intc3 2>,
678 <0 0 0 4 &pcie_intc3 3>;
679 pcie_intc3: interrupt-controller {
680 #address-cells = <0>;
681 #interrupt-cells = <1>;
682 interrupt-controller;
683 };
684 };
685
686 pio: pinctrl@1001f000 {
687 compatible = "mediatek,mt7988-pinctrl";
688 reg = <0 0x1001f000 0 0x1000>,
689 <0 0x11c10000 0 0x1000>,
690 <0 0x11d00000 0 0x1000>,
691 <0 0x11d20000 0 0x1000>,
692 <0 0x11e00000 0 0x1000>,
693 <0 0x11f00000 0 0x1000>,
694 <0 0x1000b000 0 0x1000>;
695 reg-names = "gpio_base", "iocfg_tr_base", "iocfg_br_base",
696 "iocfg_rb_base", "iocfg_lb_base", "iocfg_tl_base",
697 "eint";
698 gpio-controller;
699 #gpio-cells = <2>;
700 gpio-ranges = <&pio 0 0 83>;
701 interrupt-controller;
developera9e41142022-11-01 09:46:14 +0800702 interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
developer2cdaeb12022-10-04 20:25:05 +0800703 interrupt-parent = <&gic>;
704 #interrupt-cells = <2>;
705 };
706
707 ethsys: syscon@15000000 {
708 #address-cells = <1>;
709 #size-cells = <1>;
710 compatible = "mediatek,mt7988-ethsys",
711 "syscon";
712 reg = <0 0x15000000 0 0x1000>;
713 #clock-cells = <1>;
714 #reset-cells = <1>;
715
716 ethsysrst: reset-controller {
717 compatible = "ti,syscon-reset";
718 #reset-cells = <1>;
719 ti,reset-bits =
720 <0x34 4 0x34 4 0x34 4
721 (ASSERT_SET | DEASSERT_CLEAR | STATUS_SET)>;
722 };
723 };
724
725 ethwarp: syscon@15031000 {
726 compatible = "mediatek,mt7988-ethwarp", "syscon";
727 reg = <0 0x15031000 0 0x1000>;
728 #clock-cells = <1>;
729 };
730
731 switch0: switch0@15020000 {
732 #address-cells = <1>;
733 #size-cells = <1>;
734 compatible = "mediatek,mt7988-switch", "syscon";
735 reg = <0 0x15020000 0 0x8000>;
736 };
737
738 eth: ethernet@15100000 {
739 compatible = "mediatek,mt7988-eth";
740 reg = <0 0x15100000 0 0x80000>,
741 <0 0x15400000 0 0x380000>;
742 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
743 <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>,
744 <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
745 <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
developer1bbcf512022-11-18 16:09:33 +0800746 clocks = <&ethsys CK_ETHDMA_XGP1_EN>,
747 <&ethsys CK_ETHDMA_XGP2_EN>,
748 <&ethsys CK_ETHDMA_XGP3_EN>,
749 <&ethsys CK_ETHDMA_FE_EN>,
750 <&ethsys CK_ETHDMA_GP2_EN>,
751 <&ethsys CK_ETHDMA_GP1_EN>,
752 <&ethsys CK_ETHDMA_GP3_EN>,
753 <&ethsys CK_ETHDMA_ESW_EN>,
754 <&ethsys CK_ETHDMA_CRYPT0_EN>,
755 <&sgmiisys0 CK_SGM0_TX_EN>,
756 <&sgmiisys0 CK_SGM0_RX_EN>,
757 <&sgmiisys1 CK_SGM1_TX_EN>,
758 <&sgmiisys1 CK_SGM1_RX_EN>,
759 <&topckgen CK_TOP_USXGMII_SBUS_0_SEL>,
760 <&topckgen CK_TOP_USXGMII_SBUS_1_SEL>,
761 <&topckgen CK_TOP_SGM_0_SEL>,
762 <&topckgen CK_TOP_SGM_1_SEL>;
763 clock-names = "xgp1", "xgp2", "xgp3", "fe", "gp2", "gp1",
764 "gp3", "esw", "crypto", "sgmii_tx250m",
765 "sgmii_rx250m", "sgmii2_tx250m", "sgmii2_rx250m",
766 "usxgmii0_sel", "usxgmii1_sel",
767 "sgm0_sel", "sgm1_sel";
768 assigned-clocks = <&topckgen CK_TOP_NETSYS_2X_SEL>,
769 <&topckgen CK_TOP_NETSYS_GSW_SEL>,
770 <&topckgen CK_TOP_USXGMII_SBUS_0_SEL>,
771 <&topckgen CK_TOP_USXGMII_SBUS_1_SEL>,
772 <&topckgen CK_TOP_SGM_0_SEL>,
773 <&topckgen CK_TOP_SGM_1_SEL>;
774 assigned-clock-parents = <&topckgen CK_TOP_CB_NET2_800M>,
775 <&topckgen CK_TOP_CB_NET1_D4>,
776 <&topckgen CK_TOP_NET1_D8_D4>,
777 <&topckgen CK_TOP_NET1_D8_D4>,
778 <&topckgen CK_TOP_CB_SGM_325M>,
779 <&topckgen CK_TOP_CB_SGM_325M>;
developer2cdaeb12022-10-04 20:25:05 +0800780 mediatek,ethsys = <&ethsys>;
781 mediatek,sgmiisys = <&sgmiisys0>, <&sgmiisys1>;
782 mediatek,usxgmiisys = <&usxgmiisys0>, <&usxgmiisys1>;
783 mediatek,xfi_pextp = <&xfi_pextp0>, <&xfi_pextp1>;
784 mediatek,xfi_pll = <&xfi_pll>;
785 mediatek,infracfg = <&topmisc>;
786 mediatek,toprgu = <&watchdog>;
787 #reset-cells = <1>;
788 #address-cells = <1>;
789 #size-cells = <0>;
790 status = "disabled";
791 };
792
793 hnat: hnat@15000000 {
794 compatible = "mediatek,mtk-hnat_v5";
795 reg = <0 0x15100000 0 0x80000>;
796 resets = <&ethsys 0>;
797 reset-names = "mtketh";
798 status = "disabled";
799 };
800
801 sgmiisys0: syscon@10060000 {
802 compatible = "mediatek,mt7988-sgmiisys",
803 "mediatek,mt7988-sgmiisys_0",
804 "syscon";
805 reg = <0 0x10060000 0 0x1000>;
806 #clock-cells = <1>;
807 };
808
809 sgmiisys1: syscon@10070000 {
810 compatible = "mediatek,mt7988-sgmiisys",
811 "mediatek,mt7988-sgmiisys_1",
812 "syscon";
813 reg = <0 0x10070000 0 0x1000>;
814 #clock-cells = <1>;
815 };
816
817 usxgmiisys0: usxgmiisys@10080000 {
818 compatible = "mediatek,mt7988-usxgmiisys",
819 "mediatek,mt7988-usxgmiisys_0",
820 "syscon";
821 reg = <0 0x10080000 0 0x1000>;
822 #clock-cells = <1>;
823 };
824
825 usxgmiisys1: usxgmiisys@10081000 {
826 compatible = "mediatek,mt7988-usxgmiisys",
827 "mediatek,mt7988-usxgmiisys_1",
828 "syscon";
829 reg = <0 0x10081000 0 0x1000>;
830 #clock-cells = <1>;
831 };
832
833 xfi_pextp0: xfi_pextp@11f20000 {
834 compatible = "mediatek,mt7988-xfi_pextp",
835 "mediatek,mt7988-xfi_pextp_0",
836 "syscon";
837 reg = <0 0x11f20000 0 0x10000>;
838 #clock-cells = <1>;
839 };
840
841 xfi_pextp1: xfi_pextp@11f30000 {
842 compatible = "mediatek,mt7988-xfi_pextp",
843 "mediatek,mt7988-xfi_pextp_1",
844 "syscon";
845 reg = <0 0x11f30000 0 0x10000>;
846 #clock-cells = <1>;
847 };
848
849 xfi_pll: xfi_pll@11f40000 {
850 compatible = "mediatek,mt7988-xfi_pll", "syscon";
851 reg = <0 0x11f40000 0 0x1000>;
852 #clock-cells = <1>;
853 };
854
855 topmisc: topmisc@11d10000 {
856 compatible = "mediatek,mt7988-topmisc", "syscon",
857 "mediatek,mt7988-power-controller";
858 reg = <0 0x11d10000 0 0x10000>;
859 #clock-cells = <1>;
860 #power-domain-cells = <1>;
861 #address-cells = <1>;
862 #size-cells = <0>;
863 /* power domain of the SoC */
864 tops0@MT7988_POWER_DOMAIN_TOPS0 {
865 reg = <MT7988_POWER_DOMAIN_TOPS0>;
866 #power-domain-cells = <0>;
867 };
868 tops1@MT7988_POWER_DOMAIN_TOPS1 {
869 reg = <MT7988_POWER_DOMAIN_TOPS1>;
870 #power-domain-cells = <0>;
871 };
872 eth2p5@MT7988_POWER_DOMAIN_ETH2P5 {
873 reg = <MT7988_POWER_DOMAIN_ETH2P5>;
874 #power-domain-cells = <0>;
875 };
876 };
877
878 snand: snfi@11001000 {
developer54193ba2022-11-25 18:43:24 +0800879 compatible = "mediatek,mt7988-snand";
developer2cdaeb12022-10-04 20:25:05 +0800880 reg = <0 0x11001000 0 0x1000>, <0 0x11002000 0 0x1000>;
881 reg-names = "nfi", "ecc";
882 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
developer54193ba2022-11-25 18:43:24 +0800883 clocks = <&infracfg_ao CK_INFRA_SPINFI>,
884 <&infracfg_ao CK_INFRA_NFI>;
885 clock-names = "pad_clk", "nfi_clk";
886 assigned-clocks = <&topckgen CK_TOP_SPINFI_SEL>,
887 <&topckgen CK_TOP_NFI1X_SEL>;
888 assigned-clock-parents = <&topckgen CK_TOP_CB_M_D8>,
889 <&topckgen CK_TOP_CB_M_D8>;
developer2cdaeb12022-10-04 20:25:05 +0800890 #address-cells = <1>;
891 #size-cells = <0>;
892 status = "disabled";
893 };
894
895 wbsys: wbsys@18000000 {
896 compatible = "mediatek,wbsys";
897 reg = <0 0x18000000 0 0x1000000>;
898 linux,pci-domain = <4>;
899 interrupts = <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
900 <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
901 <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>,
902 <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>;
903 chip_id = <0x7981>;
904 };
905
906 wed_pcie: wed_pcie@10003000 {
907 compatible = "mediatek,wed_pcie";
908 reg = <0 0x10003000 0 0x10>;
909 };
910
developer4c9c1c12022-11-02 11:30:47 +0800911 infra_bus_prot: infra_bus_prot@1000310c {
912 compatible = "mediatek,infracfg_ao_bus_hang_prot";
913 reg = <0 0x1000310c 0 0x14>;
914 };
915
developer2cdaeb12022-10-04 20:25:05 +0800916 spi0: spi@11007000 {
917 compatible = "mediatek,ipm-spi-quad";
918 reg = <0 0x11007000 0 0x100>;
919 interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
920 clocks = <&topckgen CK_TOP_CB_M_D2>,
921 <&topckgen CK_TOP_SPI_SEL>,
922 <&infracfg_ao CK_INFRA_104M_SPI0>,
923 <&infracfg_ao CK_INFRA_66M_SPI0_HCK>;
924 clock-names = "parent-clk", "sel-clk", "spi-clk", "spi-hclk";
925 status = "disabled";
926 };
927
928 spi1: spi@11008000 {
929 compatible = "mediatek,ipm-spi-single";
930 reg = <0 0x11008000 0 0x100>;
931 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
932 clocks = <&topckgen CK_TOP_CB_M_D2>,
933 <&topckgen CK_TOP_SPI_SEL>,
934 <&infracfg_ao CK_INFRA_104M_SPI1>,
935 <&infracfg_ao CK_INFRA_66M_SPI1_HCK>;
936 clock-names = "parent-clk", "sel-clk", "spi-clk", "spi-hclk";
937 status = "disabled";
938 };
939
940 spi2: spi@11009000 {
941 compatible = "mediatek,ipm-spi-quad";
942 reg = <0 0x11009000 0 0x100>;
943 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
944 clocks = <&topckgen CK_TOP_CB_M_D2>,
945 <&topckgen CK_TOP_SPI_SEL>,
946 <&infracfg_ao CK_INFRA_104M_SPI2_BCK>,
947 <&infracfg_ao CK_INFRA_66M_SPI2_HCK>;
948 clock-names = "parent-clk", "sel-clk", "spi-clk", "spi-hclk";
949 status = "disabled";
950 };
951
952 consys: consys@10000000 {
953 compatible = "mediatek,mt7981-consys";
954 reg = <0 0x10000000 0 0x8600000>;
955 memory-region = <&wmcpu_emi>;
956 };
957
958 xhci0: xhci@11190000 {
959 compatible = "mediatek,mt7988-xhci",
960 "mediatek,mtk-xhci";
961 reg = <0 0x11190000 0 0x2e00>,
962 <0 0x11193e00 0 0x0100>;
963 reg-names = "mac", "ippc";
964 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
965 phys = <&xphyu2port0 PHY_TYPE_USB2>,
966 <&xphyu3port0 PHY_TYPE_USB3>;
developerc52bff42022-11-18 15:25:28 +0800967 clocks = <&infracfg_ao CK_INFRA_USB_SYS>,
968 <&infracfg_ao CK_INFRA_USB_XHCI>,
969 <&infracfg_ao CK_INFRA_USB_REF>,
970 <&infracfg_ao CK_INFRA_66M_USB_HCK>,
971 <&infracfg_ao CK_INFRA_133M_USB_HCK>;
developer2cdaeb12022-10-04 20:25:05 +0800972 clock-names = "sys_ck",
973 "xhci_ck",
974 "ref_ck",
975 "mcu_ck",
976 "dma_ck";
977 #address-cells = <2>;
978 #size-cells = <2>;
developer8cdcb262022-10-27 14:36:15 +0800979 mediatek,p0_speed_fixup;
developer2cdaeb12022-10-04 20:25:05 +0800980 status = "okay";
981 };
982
983 usbxphy: usb-phy@11e10000 {
984 compatible = "mediatek,mt7988",
985 "mediatek,xsphy";
986 #address-cells = <2>;
987 #size-cells = <2>;
988 ranges;
989 status = "okay";
990
991 xphyu2port0: usb-phy@11e10000 {
992 reg = <0 0x11e10000 0 0x400>;
developerc52bff42022-11-18 15:25:28 +0800993 clocks = <&infracfg_ao CK_INFRA_USB_UTMI>;
developer2cdaeb12022-10-04 20:25:05 +0800994 clock-names = "ref";
995 #phy-cells = <1>;
996 status = "okay";
997 };
998
999 xphyu3port0: usb-phy@11e13000 {
1000 reg = <0 0x11e13400 0 0x500>;
developerc52bff42022-11-18 15:25:28 +08001001 clocks = <&infracfg_ao CK_INFRA_USB_PIPE>;
developer2cdaeb12022-10-04 20:25:05 +08001002 clock-names = "ref";
1003 #phy-cells = <1>;
1004 mediatek,syscon-type = <&topmisc 0x218 0>;
1005 status = "okay";
1006 };
1007 };
1008
1009 xhci1: xhci@11200000 {
1010 compatible = "mediatek,mt7988-xhci",
1011 "mediatek,mtk-xhci";
1012 reg = <0 0x11200000 0 0x2e00>,
1013 <0 0x11203e00 0 0x0100>;
1014 reg-names = "mac", "ippc";
1015 interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
1016 phys = <&tphyu2port0 PHY_TYPE_USB2>,
1017 <&tphyu3port0 PHY_TYPE_USB3>;
developerc52bff42022-11-18 15:25:28 +08001018 clocks = <&infracfg_ao CK_INFRA_USB_SYS_CK_P1>,
1019 <&infracfg_ao CK_INFRA_USB_XHCI_CK_P1>,
1020 <&infracfg_ao CK_INFRA_USB_CK_P1>,
1021 <&infracfg_ao CK_INFRA_66M_USB_HCK_CK_P1>,
1022 <&infracfg_ao CK_INFRA_133M_USB_HCK_CK_P1>;
developer2cdaeb12022-10-04 20:25:05 +08001023 clock-names = "sys_ck",
1024 "xhci_ck",
1025 "ref_ck",
1026 "mcu_ck",
1027 "dma_ck";
1028 #address-cells = <2>;
1029 #size-cells = <2>;
1030 status = "okay";
1031 };
1032
1033 usbtphy: usb-phy@11c50000 {
1034 compatible = "mediatek,mt7988",
1035 "mediatek,generic-tphy-v2";
1036 #address-cells = <2>;
1037 #size-cells = <2>;
1038 ranges;
1039 status = "okay";
1040
1041 tphyu2port0: usb-phy@11c50000 {
1042 reg = <0 0x11c50000 0 0x700>;
developerc52bff42022-11-18 15:25:28 +08001043 clocks = <&infracfg_ao CK_INFRA_USB_UTMI_CK_P1>;
developer2cdaeb12022-10-04 20:25:05 +08001044 clock-names = "ref";
1045 #phy-cells = <1>;
1046 status = "okay";
1047 };
1048
1049 tphyu3port0: usb-phy@11c50700 {
1050 reg = <0 0x11c50700 0 0x900>;
developerc52bff42022-11-18 15:25:28 +08001051 clocks = <&infracfg_ao CK_INFRA_USB_PIPE_CK_P1>;
developer2cdaeb12022-10-04 20:25:05 +08001052 clock-names = "ref";
1053 #phy-cells = <1>;
developer8cdcb262022-10-27 14:36:15 +08001054 mediatek,usb3-pll-ssc-delta;
1055 mediatek,usb3-pll-ssc-delta1;
developer2cdaeb12022-10-04 20:25:05 +08001056 status = "okay";
1057 };
1058 };
1059
1060 clk40m: oscillator@0 {
1061 compatible = "fixed-clock";
1062 #clock-cells = <0>;
1063 clock-frequency = <40000000>;
1064 clock-output-names = "clkxtal";
1065 };
1066
1067 infracfg_ao: infracfg_ao@10001000 {
1068 compatible = "mediatek,mt7988-infracfg_ao", "syscon";
1069 reg = <0 0x10001000 0 0x1000>;
1070 #clock-cells = <1>;
1071 };
1072
1073 infracfg: infracfg@10209000 {
1074 compatible = "mediatek,mt7988-infracfg", "syscon";
1075 reg = <0 0x10209000 0 0x1000>;
1076 #clock-cells = <1>;
1077 };
1078
1079 topckgen: topckgen@1001B000 {
1080 compatible = "mediatek,mt7988-topckgen", "syscon";
1081 reg = <0 0x1001B000 0 0x1000>;
1082 #clock-cells = <1>;
1083 };
1084
1085 apmixedsys: apmixedsys@1001E000 {
1086 compatible = "mediatek,mt7988-apmixedsys", "syscon";
1087 reg = <0 0x1001E000 0 0x1000>;
1088 #clock-cells = <1>;
1089 };
1090
1091 mcusys: mcusys@100E0000 {
1092 compatible = "mediatek,mt7988-mcusys", "syscon";
1093 reg = <0 0x100E0000 0 0x1000>;
1094 #clock-cells = <1>;
1095 };
1096
1097 clkitg: clkitg {
1098 compatible = "simple-bus";
1099 };
1100
1101 efuse: efuse@11f50000 {
1102 compatible = "mediatek,efuse";
1103 reg = <0 0x11f50000 0 0x1000>;
1104 #address-cells = <1>;
1105 #size-cells = <1>;
1106
1107 lvts_calibration: calib@918 {
1108 reg = <0x918 0x28>;
1109 };
1110 phy_calibration_p0: calib@940 {
1111 reg = <0x940 0x10>;
1112 };
1113 phy_calibration_p1: calib@954 {
1114 reg = <0x954 0x10>;
1115 };
1116 phy_calibration_p2: calib@968 {
1117 reg = <0x968 0x10>;
1118 };
1119 phy_calibration_p3: calib@97c {
1120 reg = <0x97c 0x10>;
1121 };
1122 cpufreq_calibration: calib@278 {
1123 reg = <0x278 0x1>;
1124 };
1125 };
1126};
1127
1128#include "mt7988-clkitg.dtsi"