brcm63xx: move the bootargs into the dtb files
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / ct-6373.dts
index 3a4079b9b665d307a72b2b7f3b0835607ce2a76f..2d5d8fa7e4796071364560e106a58c48e56fd6db 100644 (file)
@@ -1,11 +1,17 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Comtrend CT-6373";
        compatible = "comtrend,ct-6373", "brcm,bcm6358";
-/*
+
+       chosen {
+               bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+       };
+
        spi-gpio {
                #address-cells = <1>;
                #size-cells = <1>;
@@ -25,7 +31,7 @@
                        #gpio-cells = <2>;
                };
        };
-*/
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
@@ -36,7 +42,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 3 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
@@ -56,7 +62,6 @@
                        label = "CT6373-1:green:wlan";
                        gpios = <&gpio0 9 1>;
                };
-/*
                dsl_green {
                        label = "CT6373-1:green:adsl";
                        gpios = <&hc595 0 1>;
@@ -73,7 +78,6 @@
                        label = "CT6373-1:green:fxs2";
                        gpios = <&hc595 3 1>;
                };
-*/
        };
 };