Rebased from upstream / out of band repository.
[librecmc/librecmc.git] / target / linux / ath79 / dts / ar9342_ubnt_lap-120.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3
4 #include <dt-bindings/input/input.h>
5
6 #include "ar9342_ubnt_wa.dtsi"
7
8 / {
9         compatible = "ubnt,lap-120", "ubnt,wa", "qca,ar9342";
10         model = "Ubiquiti LiteAP ac (LAP-120)";
11 };
12
13 &mdio0 {
14         status = "okay";
15
16         phy-mask = <4>;
17         phy4: ethernet-phy@4 {
18                 phy-mode = "rgmii";
19                 reg = <4>;
20         };
21 };
22
23 &eth0 {
24         status = "okay";
25
26         /* default for ar934x, except for 1000M and 10M */
27         pll-data = <0x06000000 0x00000101 0x00001313>;
28
29         mtd-mac-address = <&eeprom 0x0>;
30
31         phy-mode = "rgmii";
32         phy-handle = <&phy4>;
33
34         gmac-config {
35                 device = <&gmac>;
36                 rxd-delay = <3>;
37                 rxdv-delay = <3>;
38         };
39 };
40
41 &wmac {
42         status = "disabled";
43 };