lantiq: add compatible strings to dts files
[openwrt/openwrt.git] / target / linux / lantiq / dts / WBMR.dts
index 3dbc641e66873b05cfc8426c817b667ccf2db09d..9711a31cb2f9c1715a13dccb19bcdf6cff521ae8 100644 (file)
@@ -5,10 +5,11 @@
 #include <dt-bindings/input/input.h>
 
 / {
+       compatible = "buffalo,wbmr-hp-g300h", "lantiq,xway", "lantiq,ar9";
        model = "WBMR - Buffalo WBMR-HP-G300H";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "console=ttyLTQ0,115200";
        };
 
        aliases {
                eject {
                        label = "eject";
                        gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
-                       linux,code = <KEY_RFKILL>;
+                       linux,code = <KEY_EJECTCD>;
                };
                movie {
                        label = "movie";
                        gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
-                       linux,code = <BTN_9>;
+                       linux,code = <KEY_VIDEO>;
                };
        };