ad980756105a9f1dd3ce5fcbd9467d1e5cd654af
[oweals/openwrt.git] / target / linux / ath79 / dts / ar9342_ubnt_bullet-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,bullet-m-xw", "ubnt,xw", "qca,ar9342";
11         model = "Ubiquiti Bullet M (XW)";
12 };
13
14 &mdio0 {
15         status = "okay";
16
17         phy-mask = <4>;
18         phy4: ethernet-phy@4 {
19                 phy-mode = "rgmii";
20                 reg = <4>;
21         };
22 };
23
24 &eth0 {
25         status = "okay";
26
27         pll-data = <0x06000000 0x00000101 0x00001313>;
28         mtd-mac-address = <&eeprom 0x0>;
29
30         phy-mode = "rgmii";
31         phy-handle = <&phy4>;
32
33         gmac-config {
34                 device = <&gmac>;
35                 rxd-delay = <3>;
36                 rxdv-delay = <3>;
37         };
38 };
39
40 &eth1 {
41         status = "disabled";
42 };