ath79: ar934x: use irq-ath79-intc driver and enable wmac
[oweals/openwrt.git] / target / linux / ath79 / dts / ar7242_avm_fritz300e.dts
index f1ad138f437ffd883890876321ff1f6ba4cf9add..07c1f637cb050935331df4a60439d617123167e0 100644 (file)
        compatible = "avm,fritz300e", "qca,ar7242";
        model = "AVM FRITZ!WLAN Repeater 300E";
 
+       aliases {
+               led-status = &power;
+       };
+
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x4000000>;
@@ -32,7 +36,7 @@
        leds {
                compatible = "gpio-leds";
 
-               power {
+               power: power {
                        label = "fritz300e:green:power";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                        default-state = "on";
@@ -46,6 +50,7 @@
                wlan {
                        label = "fritz300e:green:wlan";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy0tpt";
                };
        };
 
 &pcie {
        status = "okay";
 
-       ath9k: wifi@0000 {
+       ath9k: wifi@0 {
                reg = <0x0000 0 0 0 0>;
                #gpio-cells = <2>;
                gpio-controller;