realtek: cleanup and update soc dtsi in 5.10
[openwrt/staging/chunkeey.git] / target / linux / realtek / dts-5.10 / rtl930x.dtsi
index 5d13fc31b3777977a56c0ce48797cbd0b74189e6..ea89fd2584e1bd29de7edf3274f0962351092d86 100644 (file)
        };
 
        cpuintc: cpuintc {
+               compatible = "mti,cpu-interrupt-controller";
                #address-cells = <0>;
                #interrupt-cells = <1>;
                interrupt-controller;
-               compatible = "mti,cpu-interrupt-controller";
        };
 
        intc: rtlintc {
+               compatible = "realtek,rt9300-intc";
+               reg = <0xb8003000 0x20>;
                #address-cells = <0>;
                #interrupt-cells = <1>;
                interrupt-controller;
-               compatible = "realtek,rt9300-intc";
-               reg = <0xb8003000 0x20>;
        };
 
        osc: oscillator {
        };
 
        spi0: spi@b8001200 {
-               status = "okay";
-
                compatible = "realtek,rtl838x-nor";
                reg = <0xb8001200 0x100>;
 
                reg-shift = <2>;
                fifo-size = <1>;
                no-loopback-test;
-
-               status = "okay";
        };
 
        uart1: uart@b8002100 {
                reg-shift = <2>;
                fifo-size = <1>;
                no-loopback-test;
-
-               status = "okay";
        };
 
        gpio0: gpio-controller@b8003500 {
        };
 
        ethernet0: ethernet@bb00a300 {
-               status = "okay";
                compatible = "realtek,rtl838x-eth";
                reg = <0xbb00a300 0x100>;
                interrupt-parent = <&intc>;
                interrupts = <24>;
                #interrupt-cells = <1>;
                phy-mode = "internal";
+
                fixed-link {
                        speed = <1000>;
                        full-duplex;
        };
 
        switch0: switch@bb000000 {
-               status = "okay";
+               compatible = "realtek,rtl83xx-switch";
 
                interrupt-parent = <&intc>;
                interrupts = <20>;
-
-               compatible = "realtek,rtl83xx-switch";
        };
 };