generic: ar8216: fix unknown packet flooding for ar8229/ar8236
[oweals/openwrt.git] / target / linux / ath79 / dts / ar9342_ubnt_nanostation-m-xw.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "ar9342_ubnt_xw.dtsi"
5
6 / {
7         compatible = "ubnt,nanostation-m-xw", "ubnt,xw", "qca,ar9342";
8         model = "Ubiquiti Nanostation M (XW)";
9 };
10
11 &mdio0 {
12         status = "okay";
13
14         phy4-mii-enable;
15         phy-mask = <0x23>;
16
17         phy0: ethernet-phy@0 {
18                 reg = <0>;
19                 phy-mode = "mii";
20         };
21 };
22
23 &eth0 {
24         status = "okay";
25
26         phy-handle = <&phy0>;
27
28         gmac-config {
29                 device = <&gmac>;
30                 mii-gmac0 = <1>;
31                 mii-gmac0-slave = <1>;
32         };
33 };