ath79: add support for Ubiquiti LiteBeam AC Gen2
[openwrt/staging/mkresin.git] / target / linux / ath79 / dts / ar9342_ubnt_litebeam-ac-gen2.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6
7 #include "ar9342_ubnt_wa.dtsi"
8
9 / {
10 compatible = "ubnt,litebeam-ac-gen2", "ubnt,wa", "qca,ar9342";
11 model = "Ubiquiti LiteBeam AC Gen2";
12 };
13
14 &mdio0 {
15 status = "okay";
16
17 phy-mask = <4>;
18 phy4: ethernet-phy@4 {
19 reg = <4>;
20 };
21 };
22
23 &eth0 {
24 status = "okay";
25
26 /* default for ar934x, except for 1000M and 10M */
27 pll-data = <0x02000000 0x00000101 0x00001313>;
28
29 mtd-mac-address = <&art 0x0>;
30
31 phy-mode = "rgmii-id";
32 phy-handle = <&phy4>;
33
34 gmac-config {
35 device = <&gmac>;
36 rxd-delay = <3>;
37 rxdv-delay = <3>;
38 };
39 };