generic: ar8216: fix unknown packet flooding for ar8229/ar8236
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9561_tplink_archer-c25-v1.dts
index 794ac24ed8fca5b4754837e4e6983a3420d9e229..e7b30df81f0a5347815a887856e333f97527fa38 100644 (file)
                bootargs = "console=ttyS0,115200n8";
        };
 
+       aliases {
+               led-boot = &led_power;
+               led-failsafe = &led_power;
+               led-running = &led_power;
+               led-upgrade = &led_power;
+               label-mac-device = &eth0;
+       };
+
        led_spi {
                compatible = "spi-gpio";
                #address-cells = <1>;
        keys {
                compatible = "gpio-keys";
 
-               wifi_button {
+               wifi {
                        label = "WiFi button";
                        linux,code = <KEY_RFKILL>;
                        gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
                };
 
-               reset_button {
+               reset {
                        label = "Reset button";
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
                };
        };
 
-       aliases {
-               led-boot = &power;
-               led-failsafe = &power;
-               led-running = &power;
-               led-upgrade = &power;
-               label-mac-device = &eth0;
-       };
-
        leds {
                compatible = "gpio-leds";
 
-               power: power {
+               led_power: power {
                        label = "tp-link:green:power";
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
                        default-state = "on";
 
 &spi {
        status = "okay";
+
        num-cs = <1>;
 
        flash@0 {
 };
 
 &eth0 {
-       phy-mode = "mii";
+       status = "okay";
+
        phy-handle = <&swphy4>;
 
-       status = "okay";
        mtd-mac-address = <&info 0x8>;
 };
 
 &eth1 {
        status = "okay";
+
        mtd-mac-address = <&info 0x8>;
        mtd-mac-address-increment = <1>;
 };
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&info 0x8>;
 };