ath79: add support for Ubiquiti NanoStation Loco M (XW)
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9342_ubnt_nanostation-loco-m-xw.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6
7 #include "ar9342_ubnt_xw.dtsi"
8
9 / {
10 compatible = "ubnt,nanostation-loco-m-xw", "ubnt,xw", "qca,ar9342";
11 model = "Ubiquiti Nanostation Loco M (XW)";
12 };
13
14 &mdio0 {
15 status = "okay";
16
17 phy-mask = <0x1>;
18
19 phy1: ethernet-phy@1 {
20 reg = <1>;
21 phy-mode = "mii";
22 };
23 };
24
25 &eth0 {
26 status = "okay";
27
28 phy-handle = <&phy1>;
29 };