ath79: fix dts of Teltonika RUT9xx devices
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9331_etactica_eg200.dts
index 569ab11e6de61d895b46e785bae42a5852e686c1..079cc88767396a8323d5eaf4605d5bf345d2b41d 100644 (file)
@@ -8,47 +8,47 @@
 
 / {
        model = "eTactica EG200";
-       compatible = "etactica,eg200", "rme-eg200";
+       compatible = "etactica,eg200", "qca,ar9331";
 
        aliases {
+               led-boot = &led_etactica;
+               led-failsafe = &led_etactica;
+               led-upgrade = &led_etactica;
                serial0 = &uart;
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <50>;
+               compatible = "gpio-keys";
 
                restore {
-                       linux,code = <KEY_WPS_BUTTON>;
+                       linux,code = <KEY_RESTART>;
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
        };
 
        leds {
                compatible = "gpio-leds";
+               pinctrl-names = "default";
+               pinctrl-0 = <&switch_led_disable_pins>;
 
                modbus {
                        label = "eg200:red:modbus";
                        gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                };
 
-               etactica {
+               led_etactica: etactica {
                        label = "eg200:red:etactica";
                        gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                };
 
                eth0 {
                        label = "eg200:red:eth0";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
 
                wlan {
                        label = "eg200:red:wlan";
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                        linux,default-trigger = "phy0tpt";
                };
        };
                        };
 
                        firmware@50000 {
+                               compatible = "denx,uimage";
                                reg = <0x50000 0xfa0000>;
                        };
 
 &wmac {
        status = "okay";
        mtd-cal-data = <&art 0x1000>;
-       mtd-mac-address = <&art 0x1002>;
 };