generic: ar8216: fix unknown packet flooding for ar8229/ar8236
[oweals/openwrt.git] / target / linux / ath79 / dts / ar9342_ubnt_nanostation-m-xw.dts
index 6ac79b0c1ea927def7d2534ca5f088f038d384b4..70758644db8b697696b79094f4ca056c85f0169f 100644 (file)
@@ -1,9 +1,6 @@
 // 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 "ar9342_ubnt_xw.dtsi"
 
 / {
@@ -17,7 +14,7 @@
        phy4-mii-enable;
        phy-mask = <0x23>;
 
-       phy4: ethernet-phy@0 {
+       phy0: ethernet-phy@0 {
                reg = <0>;
                phy-mode = "mii";
        };
@@ -26,8 +23,7 @@
 &eth0 {
        status = "okay";
 
-       phy-mode = "mii";
-       phy-handle = <&phy4>;
+       phy-handle = <&phy0>;
 
        gmac-config {
                device = <&gmac>;