ath79: ag71xx: replace ag71xx_get_phy_if_mode_name() with phy_modes()
[oweals/openwrt.git] / target / linux / ath79 / dts / ar7161_ubnt_routerstation.dtsi
index a116351be91351000fe25b84015c53eb9786429b..6e4361f10f248e8cb0a5ff1e1be81b5a96d8faf7 100644 (file)
                clock-frequency = <40000000>;
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                rf: rf_green {
                        label = "ubnt:green:rf";
                        gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;