ath79: add support for Teltonika RUT955 H7V3C0
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar7242_avm_fritz300e.dts
index 1dd16987144b2e14961ff352d67803c076f3dd09..14c80963d5e6bca1a0dfd81d7a9d9ad74aaf56bf 100644 (file)
        compatible = "avm,fritz300e", "qca,ar7242";
        model = "AVM FRITZ!WLAN Repeater 300E";
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
+       aliases {
+               led-boot = &led_power;
+               led-failsafe = &led_power;
+               led-running = &led_power;
+               led-upgrade = &led_power;
+               label-mac-device = &ath9k;
        };
 
-       gpio-keys {
-               compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               poll-interval = <20>;
+       keys {
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
@@ -32,7 +32,7 @@
        leds {
                compatible = "gpio-leds";
 
-               power {
+               led_power: power {
                        label = "fritz300e:green:power";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                        default-state = "on";
@@ -46,6 +46,7 @@
                wlan {
                        label = "fritz300e:green:wlan";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy0tpt";
                };
        };
 
 
 &spi {
        status = "okay";
+
        num-cs = <1>;
 
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
                        };
 
                        partition@20000 {
+                               compatible = "avm,eva-firmware";
                                reg = <0x20000 0xee0000>;
                                label = "firmware";
                        };
 &pcie {
        status = "okay";
 
-       ath9k: wifi@0 {
+       ath9k: wifi@0,0 {
                reg = <0x0000 0 0 0 0>;
                #gpio-cells = <2>;
                gpio-controller;