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>;
38 bootargs = "earlycon";
39 stdout-path = "serial0:115200n8";
43 compatible = "fixed-clock";
45 clock-frequency = <200000000>;
48 cpuclock: cpuclock@0 {
50 compatible = "fixed-clock";
52 /* FIXME: there should be way to detect this */
53 clock-frequency = <1000000000>;
57 compatible = "mti,cpu-interrupt-controller";
59 #interrupt-cells = <1>;
63 gic: interrupt-controller@1ddc0000 {
64 compatible = "mti,gic";
65 reg = <0x1ddc0000 0x20000>;
68 #interrupt-cells = <3>;
71 * Declare the interrupt-parent even though the mti,gic
72 * binding doesn't require it, such that the kernel can
73 * figure out that cpu_intc is the root interrupt
74 * controller & should be probed first.
76 interrupt-parent = <&cpuintc>;
79 compatible = "mti,gic-timer";
80 interrupts = <GIC_LOCAL 1 IRQ_TYPE_NONE>;
86 compatible = "simple-bus";
89 ranges = <0x0 0x18000000 0x10000>;
94 compatible = "realtek,rtl8380-spi";
101 watchdog0: watchdog@3260 {
102 compatible = "realtek,rtl9310-wdt";
105 realtek,reset-mode = "soc";
110 interrupt-parent = <&gic>;
111 interrupt-names = "phase1", "phase2";
112 interrupts = <GIC_SHARED 8 IRQ_TYPE_LEVEL_HIGH>, <GIC_SHARED 9 IRQ_TYPE_LEVEL_HIGH>;
115 gpio0: gpio-controller@3300 {
116 compatible = "realtek,rtl9310-gpio", "realtek,otto-gpio";
123 interrupt-controller;
124 #interrupt-cells = <3>;
125 interrupt-parent = <&gic>;
126 interrupts = <GIC_SHARED 20 IRQ_TYPE_LEVEL_HIGH>;
130 compatible = "ns16550a";
131 reg = <0x2000 0x100>;
133 clock-frequency = <200000000>;
135 interrupt-parent = <&gic>;
136 #interrupt-cells = <3>;
137 interrupts = <GIC_SHARED 22 IRQ_TYPE_LEVEL_HIGH>;
146 compatible = "ns16550a";
147 reg = <0x2100 0x100>;
149 clock-frequency = <200000000>;
151 interrupt-parent = <&gic>;
152 #interrupt-cells = <3>;
153 interrupts = <GIC_SHARED 23 IRQ_TYPE_LEVEL_HIGH>;
164 pinmux: pinmux@1b001358 {
165 compatible = "pinctrl-single";
166 reg = <0x1b001358 0x4>;
168 pinctrl-single,bit-per-mux;
169 pinctrl-single,register-width = <32>;
170 pinctrl-single,function-mask = <0x1>;
171 #pinctrl-cells = <2>;
173 /* Enable GPIO6 and GPIO7, possibly unknown others */
174 pinmux_disable_jtag: disable_jtag {
175 pinctrl-single,bits = <0x0 0x0 0x8000>;
179 pinmux_disable_sys_led: disable_sys_led {
180 pinctrl-single,bits = <0x0 0x0 0x100>;
184 ethernet0: ethernet@1b00a300 {
186 compatible = "realtek,rtl838x-eth";
187 reg = <0x1b00a300 0x100>;
188 interrupt-parent = <&gic>;
189 #interrupt-cells = <3>;
190 interrupts = <GIC_SHARED 16 IRQ_TYPE_LEVEL_HIGH>;
191 phy-mode = "internal";
198 switch0: switch@1b000000 {
199 compatible = "realtek,rtl83xx-switch";
202 interrupt-parent = <&gic>;
203 #interrupt-cells = <3>;
204 interrupts = <GIC_SHARED 15 IRQ_TYPE_LEVEL_HIGH>;