Lines Matching +full:2 +full:- +full:9

1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/clock/sophgo,sg2042-clkgen.h>
8 #include <dt-bindings/clock/sophgo,sg2042-pll.h>
9 #include <dt-bindings/clock/sophgo,sg2042-rpgate.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/reset/sophgo,sg2042-reset.h>
13 #include "sg2042-cpus.dtsi"
17 #address-cells = <2>;
18 #size-cells = <2>;
19 dma-noncoherent;
26 compatible = "fixed-clock";
27 clock-output-names = "cgi_main";
28 #clock-cells = <0>;
32 compatible = "fixed-clock";
33 clock-output-names = "cgi_dpll0";
34 #clock-cells = <0>;
38 compatible = "fixed-clock";
39 clock-output-names = "cgi_dpll1";
40 #clock-cells = <0>;
44 compatible = "simple-bus";
45 #address-cells = <2>;
46 #size-cells = <2>;
47 interrupt-parent = <&intc>;
51 compatible = "snps,designware-i2c";
53 #address-cells = <1>;
54 #size-cells = <0>;
56 clock-names = "ref";
57 clock-frequency = <100000>;
64 compatible = "snps,designware-i2c";
66 #address-cells = <1>;
67 #size-cells = <0>;
69 clock-names = "ref";
70 clock-frequency = <100000>;
77 compatible = "snps,designware-i2c";
79 #address-cells = <1>;
80 #size-cells = <0>;
82 clock-names = "ref";
83 clock-frequency = <100000>;
90 compatible = "snps,designware-i2c";
92 #address-cells = <1>;
93 #size-cells = <0>;
95 clock-names = "ref";
96 clock-frequency = <100000>;
103 compatible = "snps,dw-apb-gpio";
105 #address-cells = <1>;
106 #size-cells = <0>;
109 clock-names = "bus", "db";
111 port0a: gpio-controller@0 {
112 compatible = "snps,dw-apb-gpio-port";
113 gpio-controller;
114 #gpio-cells = <2>;
117 interrupt-controller;
118 #interrupt-cells = <2>;
119 interrupt-parent = <&intc>;
125 compatible = "snps,dw-apb-gpio";
127 #address-cells = <1>;
128 #size-cells = <0>;
131 clock-names = "bus", "db";
133 port1a: gpio-controller@0 {
134 compatible = "snps,dw-apb-gpio-port";
135 gpio-controller;
136 #gpio-cells = <2>;
139 interrupt-controller;
140 #interrupt-cells = <2>;
141 interrupt-parent = <&intc>;
147 compatible = "snps,dw-apb-gpio";
149 #address-cells = <1>;
150 #size-cells = <0>;
153 clock-names = "bus", "db";
155 port2a: gpio-controller@0 {
156 compatible = "snps,dw-apb-gpio-port";
157 gpio-controller;
158 #gpio-cells = <2>;
161 interrupt-controller;
162 #interrupt-cells = <2>;
163 interrupt-parent = <&intc>;
168 pllclk: clock-controller@70300100c0 {
169 compatible = "sophgo,sg2042-pll";
172 clock-names = "cgi_main", "cgi_dpll0", "cgi_dpll1";
173 #clock-cells = <1>;
176 rpgate: clock-controller@7030010368 {
177 compatible = "sophgo,sg2042-rpgate";
180 clock-names = "rpgate";
181 #clock-cells = <1>;
184 clkgen: clock-controller@7030012000 {
185 compatible = "sophgo,sg2042-clkgen";
191 clock-names = "mpll",
195 #clock-cells = <1>;
198 clint_mswi: interrupt-controller@7094000000 {
199 compatible = "sophgo,sg2042-aclint-mswi", "thead,c900-aclint-mswi";
201 interrupts-extended = <&cpu0_intc 3>,
268 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
270 reg-names = "mtimecmp";
271 interrupts-extended = <&cpu0_intc 7>,
278 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
280 reg-names = "mtimecmp";
281 interrupts-extended = <&cpu4_intc 7>,
288 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
290 reg-names = "mtimecmp";
291 interrupts-extended = <&cpu8_intc 7>,
298 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
300 reg-names = "mtimecmp";
301 interrupts-extended = <&cpu12_intc 7>,
308 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
310 reg-names = "mtimecmp";
311 interrupts-extended = <&cpu16_intc 7>,
318 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
320 reg-names = "mtimecmp";
321 interrupts-extended = <&cpu20_intc 7>,
328 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
330 reg-names = "mtimecmp";
331 interrupts-extended = <&cpu24_intc 7>,
338 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
340 reg-names = "mtimecmp";
341 interrupts-extended = <&cpu28_intc 7>,
348 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
350 reg-names = "mtimecmp";
351 interrupts-extended = <&cpu32_intc 7>,
358 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
360 reg-names = "mtimecmp";
361 interrupts-extended = <&cpu36_intc 7>,
368 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
370 reg-names = "mtimecmp";
371 interrupts-extended = <&cpu40_intc 7>,
378 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
380 reg-names = "mtimecmp";
381 interrupts-extended = <&cpu44_intc 7>,
388 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
390 reg-names = "mtimecmp";
391 interrupts-extended = <&cpu48_intc 7>,
398 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
400 reg-names = "mtimecmp";
401 interrupts-extended = <&cpu52_intc 7>,
408 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
410 reg-names = "mtimecmp";
411 interrupts-extended = <&cpu56_intc 7>,
418 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
420 reg-names = "mtimecmp";
421 interrupts-extended = <&cpu60_intc 7>,
427 intc: interrupt-controller@7090000000 {
428 compatible = "sophgo,sg2042-plic", "thead,c900-plic";
429 #address-cells = <0>;
430 #interrupt-cells = <2>;
432 interrupt-controller;
433 interrupts-extended =
434 <&cpu0_intc 11>, <&cpu0_intc 9>,
435 <&cpu1_intc 11>, <&cpu1_intc 9>,
436 <&cpu2_intc 11>, <&cpu2_intc 9>,
437 <&cpu3_intc 11>, <&cpu3_intc 9>,
438 <&cpu4_intc 11>, <&cpu4_intc 9>,
439 <&cpu5_intc 11>, <&cpu5_intc 9>,
440 <&cpu6_intc 11>, <&cpu6_intc 9>,
441 <&cpu7_intc 11>, <&cpu7_intc 9>,
442 <&cpu8_intc 11>, <&cpu8_intc 9>,
443 <&cpu9_intc 11>, <&cpu9_intc 9>,
444 <&cpu10_intc 11>, <&cpu10_intc 9>,
445 <&cpu11_intc 11>, <&cpu11_intc 9>,
446 <&cpu12_intc 11>, <&cpu12_intc 9>,
447 <&cpu13_intc 11>, <&cpu13_intc 9>,
448 <&cpu14_intc 11>, <&cpu14_intc 9>,
449 <&cpu15_intc 11>, <&cpu15_intc 9>,
450 <&cpu16_intc 11>, <&cpu16_intc 9>,
451 <&cpu17_intc 11>, <&cpu17_intc 9>,
452 <&cpu18_intc 11>, <&cpu18_intc 9>,
453 <&cpu19_intc 11>, <&cpu19_intc 9>,
454 <&cpu20_intc 11>, <&cpu20_intc 9>,
455 <&cpu21_intc 11>, <&cpu21_intc 9>,
456 <&cpu22_intc 11>, <&cpu22_intc 9>,
457 <&cpu23_intc 11>, <&cpu23_intc 9>,
458 <&cpu24_intc 11>, <&cpu24_intc 9>,
459 <&cpu25_intc 11>, <&cpu25_intc 9>,
460 <&cpu26_intc 11>, <&cpu26_intc 9>,
461 <&cpu27_intc 11>, <&cpu27_intc 9>,
462 <&cpu28_intc 11>, <&cpu28_intc 9>,
463 <&cpu29_intc 11>, <&cpu29_intc 9>,
464 <&cpu30_intc 11>, <&cpu30_intc 9>,
465 <&cpu31_intc 11>, <&cpu31_intc 9>,
466 <&cpu32_intc 11>, <&cpu32_intc 9>,
467 <&cpu33_intc 11>, <&cpu33_intc 9>,
468 <&cpu34_intc 11>, <&cpu34_intc 9>,
469 <&cpu35_intc 11>, <&cpu35_intc 9>,
470 <&cpu36_intc 11>, <&cpu36_intc 9>,
471 <&cpu37_intc 11>, <&cpu37_intc 9>,
472 <&cpu38_intc 11>, <&cpu38_intc 9>,
473 <&cpu39_intc 11>, <&cpu39_intc 9>,
474 <&cpu40_intc 11>, <&cpu40_intc 9>,
475 <&cpu41_intc 11>, <&cpu41_intc 9>,
476 <&cpu42_intc 11>, <&cpu42_intc 9>,
477 <&cpu43_intc 11>, <&cpu43_intc 9>,
478 <&cpu44_intc 11>, <&cpu44_intc 9>,
479 <&cpu45_intc 11>, <&cpu45_intc 9>,
480 <&cpu46_intc 11>, <&cpu46_intc 9>,
481 <&cpu47_intc 11>, <&cpu47_intc 9>,
482 <&cpu48_intc 11>, <&cpu48_intc 9>,
483 <&cpu49_intc 11>, <&cpu49_intc 9>,
484 <&cpu50_intc 11>, <&cpu50_intc 9>,
485 <&cpu51_intc 11>, <&cpu51_intc 9>,
486 <&cpu52_intc 11>, <&cpu52_intc 9>,
487 <&cpu53_intc 11>, <&cpu53_intc 9>,
488 <&cpu54_intc 11>, <&cpu54_intc 9>,
489 <&cpu55_intc 11>, <&cpu55_intc 9>,
490 <&cpu56_intc 11>, <&cpu56_intc 9>,
491 <&cpu57_intc 11>, <&cpu57_intc 9>,
492 <&cpu58_intc 11>, <&cpu58_intc 9>,
493 <&cpu59_intc 11>, <&cpu59_intc 9>,
494 <&cpu60_intc 11>, <&cpu60_intc 9>,
495 <&cpu61_intc 11>, <&cpu61_intc 9>,
496 <&cpu62_intc 11>, <&cpu62_intc 9>,
497 <&cpu63_intc 11>, <&cpu63_intc 9>;
501 rstgen: reset-controller@7030013000 {
502 compatible = "sophgo,sg2042-reset";
504 #reset-cells = <1>;
508 compatible = "snps,dw-apb-uart";
511 clock-frequency = <500000000>;
514 clock-names = "baudclk", "apb_pclk";
515 reg-shift = <2>;
516 reg-io-width = <4>;
522 compatible = "sophgo,sg2042-dwcmshc";
524 interrupt-parent = <&intc>;
529 clock-names = "core",
536 compatible = "sophgo,sg2042-dwcmshc";
538 interrupt-parent = <&intc>;
543 clock-names = "core",