ath79: add support for Teltonika RUT955 H7V3C0
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9531_tplink_archer-d50-v1.dts
index 430a8f98edec3ca23eb0850d7e7e14b9533f19b1..130944f4f5ca33ef9e84616b54ffdbf83379eb5d 100644 (file)
        model = "TP-Link Archer D50 v1";
 
        aliases {
+               led-boot = &led_system;
+               led-failsafe = &led_system;
+               led-running = &led_system;
+               led-upgrade = &led_system;
                label-mac-device = &wmac;
        };
 
                bootargs = "console=ttyS0,115200n8";
        };
 
-       gpio_leds: leds {
+       leds {
                compatible = "gpio-leds";
 
-               led_wlan2g: wlan2g {
+               wlan2g {
                        label = "tp-link:white:wlan2g";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
-               led_wlan5g: wlan5g {
+               wlan5g {
                        label = "tp-link:white:wlan5g";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
-                };
+               };
 
-               qss_led: qss {
+               qss {
                        label = "tp-link:white:qss";
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
                };
@@ -60,7 +64,7 @@
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
-               system: system{
+               led_system: system {
                        label = "tp-link:white:system";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       uboot:  partition@0 {
+                       partition@0 {
                                label = "u-boot";
                                reg = <0x000000 0x020000>;
                                read-only;
 
 &eth0 {
        status = "okay";
+
        phy-handle = <&swphy4>;
 
        mtd-mac-address = <&romfile 0xf100>;
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&romfile 0xf100>;
 };