lantiq: add compatible strings to dts files
[openwrt/openwrt.git] / target / linux / lantiq / dts / WBMR.dts
index 07671d60536e44f89dd7dcdf6ae2361c30671737..9711a31cb2f9c1715a13dccb19bcdf6cff521ae8 100644 (file)
@@ -2,11 +2,14 @@
 
 #include "ar9.dtsi"
 
+#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>;
                };
        };