generic: ar8216: fix unknown packet flooding for ar8229/ar8236
[oweals/openwrt.git] / target / linux / ath79 / dts / ar7242_buffalo_wzr-hp-g450h.dts
index 804132dcfd1fa7a41e91eab4fca617b5acd5354e..16a617a2547cd067966a00f0d9bbba37b53a7d8e 100644 (file)
@@ -1,34 +1,32 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 /dts-v1/;
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 #include "ar7242_buffalo_wzr-bhr.dtsi"
 
 / {
        compatible = "buffalo,wzr-hp-g450h", "qca,ar7242";
        model = "Buffalo WZR-HP-G450H/WZR-450HP";
 
+       aliases {
+               label-mac-device = &eth0;
+       };
+
        ath9k-leds {
                compatible = "gpio-leds";
 
                led_movie_engine {
                        label = "buffalo:blue:movie_engine";
                        gpios = <&ath9k 13 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
 
                router {
                        label = "buffalo:green:router";
                        gpios = <&ath9k 14 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
 
                wireless {
                        label = "buffalo:green:wireless";
                        gpios = <&ath9k 15 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                        linux,default-trigger = "phy0tpt";
                };
        };
        };
 };
 
-&sec_vpn {
-       label = "buffalo:orange:security";
+&leds {
+       sec_vpn {
+               label = "buffalo:orange:security";
+               gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+       };
+};
+
+&eth0 {
+       mtd-mac-address = <&art 0x1002>;
 };
 
 &pcie {
@@ -69,7 +74,7 @@
        ath9k: wifi@0,0 {
                compatible = "pci168c,0030";
                reg = <0x0000 0 0 0 0>;
-               mtd-mac-address = <&ART 0x1002>;
+               mtd-mac-address = <&art 0x1002>;
                qca,no-eeprom;
                #gpio-cells = <2>;
                gpio-controller;