brcm63xx: move the bootargs into the dtb files
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / dsl-274xb-f.dts
index f8ad084a7c1ce54a8c565d90f44053f83fe4641c..9ce2e98bb48210784421d198cf9538ad162b9fbc 100644 (file)
@@ -1,11 +1,17 @@
 /dts-v1/;
 
-/include/ "bcm6328.dtsi"
+#include "bcm6328.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "D-Link DSL-2740B/DSL-2741B rev F1";
        compatible = "d-link,dsl-274xb-f", "brcm,bcm6328";
 
+       chosen {
+               bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                wifi {
                        label = "wifi";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0xee>;
+                       linux,code = <KEY_WLAN>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio0 23 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio0 24 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };