OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 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,nanostation-ac","ubnt,wa", "qca,ar9342"; |
||
11 | model = "Ubiquiti Nanostation 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 | phy0: ethernet-phy@0 { |
||
43 | phy-mode = "rgmii"; |
||
44 | reg = <0>; |
||
45 | |||
46 | qca,ar8327-initvals = < |
||
47 | 0x04 0x07600000 /* PORT0 PAD MODE CTRL */ |
||
48 | 0x58 0xffb7ffb7 /* LED_CTRL2 */ |
||
49 | 0x5c 0x03ffff00 /* LED_CTRL3 */ |
||
50 | 0x7c 0x0000007e /* PORT0_STATUS */ |
||
51 | >; |
||
52 | }; |
||
53 | }; |
||
54 | |||
55 | ð0 { |
||
56 | status = "okay"; |
||
57 | |||
58 | /* default for ar934x, except for 1000M and 10M */ |
||
59 | pll-data = <0x06000000 0x00000101 0x00001313>; |
||
60 | |||
61 | mtd-mac-address = <&eeprom 0x0>; |
||
62 | |||
63 | phy-mode = "rgmii"; |
||
64 | phy-handle = <&phy0>; |
||
65 | |||
66 | gmac-config { |
||
67 | device = <&gmac>; |
||
68 | rxd-delay = <2>; |
||
69 | rxdv-delay = <2>; |
||
70 | }; |
||
71 | }; |
||
72 | |||
73 | &wmac { |
||
74 | status = "okay"; |
||
75 | |||
76 | mtd-cal-data = <&eeprom 0x1000>; |
||
77 | mtd-mac-address = <&eeprom 0x1002>; |
||
78 | }; |