ath79: add support for TP-Link Archer C60 v3
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9561_tplink_archer-c6x.dtsi
index 21a470961f65a47b303414d446d2830d37fd1d07..b1b166d89a6d0a5e0cf39b0217e0b19b1d1f2872 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>
                led-failsafe = &led_power;
                led-running = &led_power;
                led-upgrade = &led_power;
-               label-mac-device = &eth0;
+               label-mac-device = &eth1;
        };
 
        keys {
                compatible = "gpio-keys";
 
-               wifi_button {
+               wifi {
                        label = "WiFi button";
                        linux,code = <KEY_RFKILL>;
                        gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
                };
 
-               reset_button {
+               reset {
                        label = "Reset button";
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
                };
        };
 
-       leds {
+       leds: leds {
                compatible = "gpio-leds";
 
                led_power: power {
                        gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
                };
 
-               wan_amber {
-                       label = "tp-link:amber:wan";
-                       gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
-               };
-
                lan {
                        label = "tp-link:green:lan";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
-
-               wps {
-                       label = "tp-link:green:wps";
-                       gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
-               };
        };
 };
 
 &eth0 {
        status = "okay";
 
-       phy-mode = "mii";
        phy-handle = <&swphy4>;
 
        mtd-mac-address = <&mac 0x8>;
+       mtd-mac-address-increment = <1>;
 };
 
 &eth1 {
        status = "okay";
 
        mtd-mac-address = <&mac 0x8>;
-       mtd-mac-address-increment = <1>;
 };
 
 &wmac {