ath79: add support for TP-Link TL-WR940N v6
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7161_ubnt_routerstation.dtsi
index a438a3f913ed298dc9984cac3805c14e97683589..fc5d8335b5590a9dd32b949ddb706e417c4104da 100644 (file)
@@ -1,5 +1,4 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
        };
 
        aliases {
-               led-boot = &rf;
-               led-failsafe = &rf;
-               led-running = &rf;
-               led-upgrade = &rf;
+               led-boot = &led_rf;
+               led-failsafe = &led_rf;
+               led-running = &led_rf;
+               led-upgrade = &led_rf;
        };
 
        extosc: ref {
                clock-frequency = <40000000>;
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
-               rf: rf_green {
+               led_rf: rf_green {
                        label = "ubnt:green:rf";
                        gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
                };
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "sw4";
@@ -87,7 +85,7 @@
        #address-cells = <1>;
        #size-cells = <0>;
 
-       usb_ochi_port: port@1 {
+       usb_ohci_port: port@1 {
                reg = <1>;
                #trigger-source-cells = <0>;
        };
@@ -98,7 +96,7 @@
        #address-cells = <1>;
        #size-cells = <0>;
 
-       usb_echi_port: port@1 {
+       usb_ehci_port: port@1 {
                reg = <1>;
                #trigger-source-cells = <0>;
        };