brcm63xx: move the bootargs into the dtb files
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / hg520v.dts
index 88647fa01be0cead7d9ce863e25d409472069065..a86311f08ec894ca38ca884b7d1041bdd0db0902 100644 (file)
@@ -1,11 +1,17 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Huawei EchoLife HG520v";
        compatible = "huawei,hg520v", "brcm,bcm6358";
 
+       chosen {
+               bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
@@ -16,7 +22,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 5 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };