realtek: Consolidate bootargs
[openwrt/staging/nbd.git] / target / linux / realtek / dts-5.10 / rtl838x.dtsi
index f5903ec17417af4ef5ff5e11db58880ad30bec62..a33b6d899e2a87b8903bca190fc0c722dab8cbde 100644 (file)
@@ -65,7 +65,7 @@
        };
 
        chosen {
-               bootargs = "console=ttyS0,38400";
+               bootargs = "console=ttyS0,115200";
        };
 
        cpuintc: cpuintc {
@@ -79,7 +79,7 @@
                compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;
-               ranges = <0x0 0xb8000000 0x10000>;
+               ranges = <0x0 0x18000000 0x10000>;
 
                intc: rtlintc@3000 {
                        compatible = "realtek,rtl-intc";
                status = "disabled";
        };
 
-       pinmux: pinmux@bb001000 {
+       pinmux: pinmux@1b001000 {
                compatible = "pinctrl-single";
-               reg = <0xbb001000 0x4>;
+               reg = <0x1b001000 0x4>;
 
                pinctrl-single,bit-per-mux;
                pinctrl-single,register-width = <32>;
                };
        };
 
-       ethernet0: ethernet@bb00a300 {
+       /* LED_GLB_CTRL */
+       pinmux_led: pinmux@1b00a000 {
+               compatible = "pinctrl-single";
+               reg = <0x1b00a000 0x4>;
+
+               pinctrl-single,bit-per-mux;
+               pinctrl-single,register-width = <32>;
+               pinctrl-single,function-mask = <0x1>;
+               #pinctrl-cells = <2>;
+
+               /* enable GPIO 0 */
+               pinmux_disable_sys_led: disable_sys_led {
+                       pinctrl-single,bits = <0x0 0x0 0x8000>;
+               };
+       };
+
+       ethernet0: ethernet@1b00a300 {
                compatible = "realtek,rtl838x-eth";
-               reg = <0xbb00a300 0x100>;
+               reg = <0x1b00a300 0x100>;
                interrupt-parent = <&intc>;
                interrupts = <24>;
                #interrupt-cells = <1>;
                };
        };
 
-       switch0: switch@bb000000 {
+       switch0: switch@1b000000 {
                compatible = "realtek,rtl83xx-switch";
 
                interrupt-parent = <&intc>;