brcm63xx: switch to board based failsafe networking
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / dgnd3700v1.dts
index b349576239969873baded9cb698e96eab9c3475c..2b6248b19a6f84cf4b7e0be1e960019013a0fd2d 100644 (file)
@@ -1,11 +1,17 @@
 /dts-v1/;
 
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Netgear DGND3700v1/DGND3800B";
        compatible = "netgear,dgnd3700v1", "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 = <&gpio0 10 1>;
-                       linux,code = <0xee>;
+                       linux,code = <KEY_WLAN>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio0 12 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
                wps {
                        label = "wps";
                        gpios = <&gpio1 3 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };