ath79: add support for Ubiquiti NanoBeam M5
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9342_ubnt_nanobeam-m5.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9342_ubnt_xw.dtsi"
4
5 / {
6 compatible = "ubnt,nanobeam-m5-xw", "ubnt,xw", "qca,ar9342";
7 model = "Ubiquiti NanoBeam M5 (XW)";
8 };
9
10 &mdio0 {
11 status = "okay";
12
13 phy-mask = <0x1>;
14
15 phy1: ethernet-phy@1 {
16 reg = <1>;
17 phy-mode = "mii";
18 reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
19 };
20 };
21
22 &eth0 {
23 status = "okay";
24
25 phy-handle = <&phy1>;
26 };