ath79: ag71xx: replace ag71xx_get_phy_if_mode_name() with phy_modes()
[oweals/openwrt.git] / target / linux / ath79 / dts / ar9331_tplink_tl-wr741nd-v4.dtsi
index 9d8c1a022e82c23019b715da0faa4993f9e5e223..02c647c179cb74ab709d5e5556f67bfd11dcd383 100644 (file)
 
        aliases {
                serial0 = &uart;
-               led-status = &led_system;
+               led-boot = &system;
+               led-failsafe = &system;
+               led-running = &system;
+               led-upgrade = &system;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {
@@ -36,7 +37,7 @@
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                pinctrl-names = "default";
                pinctrl-0 = <&switch_led_pins>;
@@ -66,9 +67,9 @@
                        gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
                };
 
-               led_system: system {
+               system: system {
                        label = "tp-link:green:system";
-                       gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
                };
 
                wan {
@@ -79,7 +80,6 @@
                wlan {
                        label = "tp-link:green:wlan";
                        gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                        linux,default-trigger = "phy0tpt";
                };
        };
@@ -90,8 +90,6 @@
        num-cs = <1>;
 
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
                        };
 
                        firmware: partition@20000 {
+                               compatible = "tplink,firmware";
                                reg = <0x20000 0x3d0000>;
                                label = "firmware";
                        };