brcm63xx: move the bootargs into the dtb files
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / dg834g_v4.dts
index 8cbb3f3ce9cdd64d9de371fe3b65b4c415b219a5..ee63473e3c481e056f4bd094c65d484854a4258b 100644 (file)
@@ -1,11 +1,17 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Netgear DG834G v4";
        compatible = "netgear,dg834g-v4", "brcm,bcm6348";
 
+       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 = <&gpio0 6 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };