1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
11 compatible = "realtek,rtl838x-soc";
16 frequency = <800000000>;
19 compatible = "mips,mips34Kc";
25 device_type = "memory";
26 reg = <0x0 0x8000000>;
35 bootargs = "earlycon";
36 stdout-path = "serial0:115200n8";
40 compatible = "mti,cpu-interrupt-controller";
42 #interrupt-cells = <1>;
47 compatible = "fixed-clock";
49 clock-frequency = <175000000>;
53 compatible = "simple-bus";
56 ranges = <0x0 0x18000000 0x20000>;
59 compatible = "realtek,rtl9301-ecc";
65 intc: interrupt-controller@3000 {
66 compatible = "realtek,rtl9300-intc", "realtek,rtl-intc";
67 reg = <0x3000 0x18>, <0x3018 0x18>;
69 #interrupt-cells = <2>;
71 interrupt-parent = <&cpuintc>;
72 interrupts = <2>, <3>, <4>, <5>, <6>, <7>;
76 compatible = "realtek,rtl9301-snand";
78 interrupt-parent = <&intc>;
88 compatible = "realtek,rtl8380-spi";
96 compatible = "realtek,rtl930x-timer", "realtek,otto-timer";
97 reg = <0x3200 0x10>, <0x3210 0x10>, <0x3220 0x10>,
98 <0x3230 0x10>, <0x3240 0x10>;
100 interrupt-parent = <&intc>;
101 interrupts = <7 4>, <8 4>, <9 4>, <10 4>, <11 4>;
106 compatible = "ns16550a";
107 reg = <0x2000 0x100>;
111 interrupt-parent = <&intc>;
121 compatible = "ns16550a";
122 reg = <0x2100 0x100>;
126 interrupt-parent = <&intc>;
137 watchdog0: watchdog@3260 {
138 compatible = "realtek,rtl9300-wdt";
141 realtek,reset-mode = "soc";
146 interrupt-parent = <&intc>;
147 interrupt-names = "phase1", "phase2";
148 interrupts = <5 4>, <6 4>;
151 gpio0: gpio-controller@3300 {
152 compatible = "realtek,rtl9300-gpio", "realtek,otto-gpio";
153 reg = <0x3300 0x1c>, <0x3338 0x8>;
159 interrupt-controller;
160 #interrupt-cells = <2>;
161 interrupt-parent = <&intc>;
167 switchcore@1b000000 {
168 compatible = "syscon", "simple-mfd";
169 reg = <0x1b000000 0x10000>;
170 #address-cells = <1>;
174 compatible = "realtek,rtl9301-i2c";
176 #address-cells = <1>;
183 compatible = "realtek,rtl9301-i2c";
185 #address-cells = <1>;
191 mdio_ctrl: mdio-controller {
192 compatible = "realtek,rtl9301-mdio", "realtek,otto-mdio";
193 #address-cells = <1>;
196 mdio_bus0: mdio-bus@0 {
198 #address-cells = <1>;
204 compatible = "realtek,rtl9300-aux-mdio";
205 #address-cells = <1>;
207 pinctrl-0 = <&pinmux_gpio_mdio_en>;
208 pinctrl-names = "default";
213 mdio_serdes: mdio-serdes {
214 compatible = "realtek,rtl9301-serdes-mdio", "realtek,otto-serdes-mdio";
218 compatible = "realtek,rtl9301-pcs", "realtek,otto-pcs";
219 #address-cells = <1>;
252 serdes10: serdes@10 {
255 serdes11: serdes@11 {
260 soc_thermal: thermal {
261 compatible = "realtek,rtl9300-thermal";
262 #thermal-sensor-cells = <0>;
267 compatible = "pinctrl-single";
268 reg = <0x1b000200 0x4>;
270 pinctrl-single,bit-per-mux;
271 pinctrl-single,register-width = <32>;
272 pinctrl-single,function-mask = <0x1>;
273 #pinctrl-cells = <2>;
276 pinmux_disable_led_sync: disable-led-sync {
277 pinctrl-single,bits = <0x0 0x0 0x800>;
280 pinmux_enable_led_sync: enable-led-sync {
281 pinctrl-single,bits = <0x0 0x800 0x800>;
285 pinmux_disable_usb_led: disable-usb-led {
286 pinctrl-single,bits = <0x0 0x0 0x400>;
289 pinmux_enable_usb_led: enable-usb-led {
290 pinctrl-single,bits = <0x0 0x400 0x400>;
293 /* Disable SLV SPI CS - freeing any associated GPIOs */
294 pinmux_disable_slv_spi_cs: disable-slv-spi-cs {
295 pinctrl-single,bits = <0x0 0x0 0x3E0>;
298 /* Disable SLV SPI SDO - freeing any associated GPIOs */
299 pinmux_disable_slv_spi_sdo: disable-slv-spi-sdo {
300 pinctrl-single,bits = <0x0 0x0 0x1F>;
305 compatible = "pinctrl-single";
306 reg = <0x1b00c600 0x4>;
308 pinctrl-single,bit-per-mux;
309 pinctrl-single,register-width = <32>;
310 pinctrl-single,function-mask = <0x1>;
311 #pinctrl-cells = <2>;
313 pinmux_gpio_mdio_en: gpio-mdio-en {
314 pinctrl-single,bits = <0x0 0x100 0x100>;
318 pinmux_led: pinmux@1b00cc00 {
319 compatible = "pinctrl-single";
320 reg = <0x1b00cc00 0x4>;
322 pinctrl-single,bit-per-mux;
323 pinctrl-single,register-width = <32>;
324 pinctrl-single,function-mask = <0x1>;
325 #pinctrl-cells = <2>;
328 pinmux_disable_sys_led: disable_sys_led {
329 pinctrl-single,bits = <0x0 0x0 0x1000>;
333 ethernet0: ethernet@1b00a300 {
334 compatible = "realtek,rtl838x-eth";
335 reg = <0x1b00a300 0x100>;
337 interrupt-parent = <&intc>;
340 phy-mode = "internal";
348 switch0: switch@1b000000 {
349 compatible = "realtek,rtl83xx-switch";
352 interrupt-parent = <&intc>;
356 thermal_zones: thermal-zones {
358 polling-delay-passive = <1000>;
359 polling-delay = <1000>;
360 coefficients = <1000 0>;
361 thermal-sensors = <&soc_thermal>;
364 temperature = <105000>;