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