ipq40xx: only include ath10k-board-qca4019 for the generic subtarget
[openwrt/staging/chunkeey.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.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 phy-mask = <0x23>;
15
16 phy0: ethernet-phy@0 {
17 reg = <0>;
18 phy-mode = "mii";
19 };
20 };
21
22 &eth0 {
23 status = "okay";
24
25 phy-handle = <&phy0>;
26
27 gmac-config {
28 device = <&gmac>;
29 mii-gmac0 = <1>;
30 mii-gmac0-slave = <1>;
31 };
32 };