ath79: enable gpio on ar933x by default
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9331_etactica_eg200.dts
index d18a239d3263f53c2a877b0615406a9616aee653..3cf72a321a4eec75b732b12266f29142b8991886 100644 (file)
        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>;
                };
        };
@@ -34,7 +36,7 @@
                        gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
                };
 
-               etactica {
+               led_etactica: etactica {
                        label = "eg200:red:etactica";
                        gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
                };
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        dr_mode = "host";
        status = "okay";
 &wmac {
        status = "okay";
        mtd-cal-data = <&art 0x1000>;
-       mtd-mac-address = <&art 0x1002>;
 };