brcm63xx: move the bootargs into the dtb files
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm96348GW-11.dts
index 15828a13ed2ff368db1d3245b1756396afd77f27..f1f6f6d52243cd7808275e9d573e8c0e487c74b7 100644 (file)
@@ -1,11 +1,17 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96348GW-11 reference board";
        compatible = "brcm,bcm96348gw-11", "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 = <&gpio1 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };