1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/interrupt-controller/mips-gic.h>
9 compatible = "realtek,rtl838x-soc";
14 frequency = <1000000000>;
17 compatible = "mti,interaptive";
22 compatible = "mti,interaptive";
28 device_type = "memory";
29 reg = <0x0 0x10000000>;
33 bootargs = "console=ttyS0,115200";
37 compatible = "fixed-clock";
39 clock-frequency = <200000000>;
42 cpuclock: cpuclock@0 {
44 compatible = "fixed-clock";
46 /* FIXME: there should be way to detect this */
47 clock-frequency = <1000000000>;
51 compatible = "mti,cpu-interrupt-controller";
53 #interrupt-cells = <1>;
57 gic: interrupt-controller@1ddc0000 {
58 compatible = "mti,gic";
59 reg = <0x1ddc0000 0x20000>;
62 #interrupt-cells = <3>;
65 * Declare the interrupt-parent even though the mti,gic
66 * binding doesn't require it, such that the kernel can
67 * figure out that cpu_intc is the root interrupt
68 * controller & should be probed first.
70 interrupt-parent = <&cpuintc>;
73 compatible = "mti,gic-timer";
74 interrupts = <GIC_LOCAL 1 IRQ_TYPE_NONE>;
80 compatible = "simple-bus";
83 ranges = <0x0 0x18000000 0x10000>;
88 compatible = "realtek,rtl8380-spi";
95 watchdog0: watchdog@3260 {
96 compatible = "realtek,rtl9310-wdt";
99 realtek,reset-mode = "soc";
104 interrupt-parent = <&gic>;
105 interrupt-names = "phase1", "phase2";
106 interrupts = <GIC_SHARED 8 IRQ_TYPE_LEVEL_HIGH>, <GIC_SHARED 9 IRQ_TYPE_LEVEL_HIGH>;
109 gpio0: gpio-controller@3300 {
110 compatible = "realtek,rtl9310-gpio", "realtek,otto-gpio";
117 interrupt-controller;
118 #interrupt-cells = <3>;
119 interrupt-parent = <&gic>;
120 interrupts = <GIC_SHARED 20 IRQ_TYPE_LEVEL_HIGH>;
124 compatible = "ns16550a";
125 reg = <0x2000 0x100>;
127 clock-frequency = <200000000>;
129 interrupt-parent = <&gic>;
130 #interrupt-cells = <3>;
131 interrupts = <GIC_SHARED 22 IRQ_TYPE_LEVEL_HIGH>;
140 compatible = "ns16550a";
141 reg = <0x2100 0x100>;
143 clock-frequency = <200000000>;
145 interrupt-parent = <&gic>;
146 #interrupt-cells = <3>;
147 interrupts = <GIC_SHARED 23 IRQ_TYPE_LEVEL_HIGH>;
158 pinmux: pinmux@1b001358 {
159 compatible = "pinctrl-single";
160 reg = <0x1b001358 0x4>;
162 pinctrl-single,bit-per-mux;
163 pinctrl-single,register-width = <32>;
164 pinctrl-single,function-mask = <0x1>;
165 #pinctrl-cells = <2>;
167 /* Enable GPIO6 and GPIO7, possibly unknown others */
168 pinmux_disable_jtag: disable_jtag {
169 pinctrl-single,bits = <0x0 0x0 0x8000>;
173 pinmux_disable_sys_led: disable_sys_led {
174 pinctrl-single,bits = <0x0 0x0 0x100>;
178 ethernet0: ethernet@1b00a300 {
180 compatible = "realtek,rtl838x-eth";
181 reg = <0x1b00a300 0x100>;
182 interrupt-parent = <&gic>;
183 #interrupt-cells = <3>;
184 interrupts = <GIC_SHARED 16 IRQ_TYPE_LEVEL_HIGH>;
185 phy-mode = "internal";
192 switch0: switch@1b000000 {
193 compatible = "realtek,rtl83xx-switch";
196 interrupt-parent = <&gic>;
197 #interrupt-cells = <3>;
198 interrupts = <GIC_SHARED 15 IRQ_TYPE_LEVEL_HIGH>;