generic: ar8216: fix unknown packet flooding for ar8229/ar8236
[oweals/openwrt.git] / target / linux / ath79 / dts / ar9331_tplink_tl-wr741nd-v4.dtsi
index 770ab56821c506d66b3f50e33382677fe87e7e00..4f11d5d7a496d11ee82c8bf8a52384efb82077fc 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 {
                serial0 = &uart;
-               led-status = &led_system;
+               led-boot = &led_system;
+               led-failsafe = &led_system;
+               led-running = &led_system;
+               led-upgrade = &led_system;
+               label-mac-device = &wmac;
        };
 
-       gpio-keys-polled {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+       keys {
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
+
                pinctrl-names = "default";
-               pinctrl-0 = <&switch_led_pins>;
+               pinctrl-0 = <&switch_led_disable_pins>;
 
                lan1 {
                        label = "tp-link:green:lan1";
@@ -66,7 +69,7 @@
 
                led_system: system {
                        label = "tp-link:green:system";
-                       gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
                };
 
                wan {
@@ -77,7 +80,6 @@
                wlan {
                        label = "tp-link:green:wlan";
                        gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                        linux,default-trigger = "phy0tpt";
                };
        };
@@ -85,6 +87,7 @@
 
 &spi {
        status = "okay";
+
        num-cs = <1>;
 
        flash@0 {
                        };
 
                        firmware: partition@20000 {
+                               compatible = "tplink,firmware";
                                reg = <0x20000 0x3d0000>;
                                label = "firmware";
                        };
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&uboot 0x1fc00>;
 };