brcm63xx: move the bootargs into the dtb files
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / wap-5813n.dts
index 0d168d23384809a6cc4d85e58e660d1cc55ab8d1..9312bedb47f5d6d4176802d97a2b560527f4f517 100644 (file)
@@ -1,11 +1,17 @@
 /dts-v1/;
 
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Comtrend WAP-5813n";
        compatible = "comtrend,wap-5813n", "brcm,bcm6368";
 
+       chosen {
+               bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                wlan {
                        label = "wlan";
                        gpios = <&gpio1 0 1>;
-                       linux,code = <0xee>;
+                       linux,code = <KEY_WLAN>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
-                       gpios = <&gpio1 1 1>;
-                       linux,code = <0x211>;
+                       gpios = <&gpio1 3 1>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };