ath79: etactica-eg200: fix restore button
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9342_ubnt_nanobeam-ac.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,nanobeam-ac", "ubnt,wa", "qca,ar9342";
11 model = "Ubiquiti NanoBeam AC (WA)";
12
13 leds {
14 compatible = "gpio-leds";
15
16 rssi0 {
17 label = "ubnt:blue:rssi0";
18 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
19 };
20
21 rssi1 {
22 label = "ubnt:blue:rssi1";
23 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
24 };
25
26 rssi2 {
27 label = "ubnt:blue:rssi2";
28 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
29 };
30
31 rssi3 {
32 label = "ubnt:blue:rssi3";
33 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
34 };
35 };
36 };
37
38 &mdio0 {
39 status = "okay";
40
41 phy-mask = <4>;
42 phy4: ethernet-phy@4 {
43 phy-mode = "rgmii";
44 reg = <4>;
45 };
46 };
47
48 &eth0 {
49 status = "okay";
50
51 /* default for ar934x, except for 1000M and 10M */
52 pll-data = <0x06000000 0x00000101 0x00001313>;
53
54 mtd-mac-address = <&eeprom 0x0>;
55
56 phy-mode = "rgmii";
57 phy-handle = <&phy4>;
58
59 gmac-config {
60 device = <&gmac>;
61 rxd-delay = <3>;
62 rxdv-delay = <3>;
63 };
64 };