OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "mt7620a.dtsi" |
||
4 | |||
5 | #include <dt-bindings/gpio/gpio.h> |
||
6 | #include <dt-bindings/input/input.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "asus,rp-n53", "ralink,mt7620a-soc"; |
||
10 | model = "Asus RP-N53"; |
||
11 | |||
3 | office | 12 | gpio-keys-polled { |
1 | office | 13 | compatible = "gpio-keys-polled"; |
3 | office | 14 | #address-cells = <1>; |
15 | #size-cells = <0>; |
||
1 | office | 16 | poll-interval = <20>; |
17 | |||
18 | touch { |
||
19 | label = "touch"; |
||
20 | gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; |
||
21 | linux,code = <BTN_0>; |
||
22 | }; |
||
23 | |||
24 | wps { |
||
25 | label = "wps"; |
||
26 | gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; |
||
27 | linux,code = <BTN_0>; |
||
28 | }; |
||
29 | |||
30 | reset { |
||
31 | label = "reset"; |
||
32 | gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; |
||
33 | linux,code = <BTN_0>; |
||
34 | }; |
||
35 | |||
36 | audio { |
||
37 | label = "audio"; |
||
38 | gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; |
||
39 | linux,code = <BTN_1>; |
||
40 | }; |
||
41 | }; |
||
42 | |||
3 | office | 43 | gpio-leds { |
1 | office | 44 | compatible = "gpio-leds"; |
45 | |||
46 | backlight { |
||
47 | label = "rp-n53:white:back"; |
||
48 | gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; |
||
49 | }; |
||
50 | |||
51 | wifi0 { |
||
52 | label = "rp-n53:blue:5g3"; |
||
53 | gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; |
||
54 | }; |
||
55 | |||
56 | wifi1 { |
||
57 | label = "rp-n53:blue:5g2"; |
||
58 | gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; |
||
59 | }; |
||
60 | |||
61 | wifi2 { |
||
62 | label = "rp-n53:blue:5g1"; |
||
63 | gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; |
||
64 | }; |
||
65 | |||
66 | wifi3 { |
||
67 | label = "rp-n53:blue:wifi"; |
||
68 | gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; |
||
69 | }; |
||
70 | |||
71 | wifi4 { |
||
72 | label = "rp-n53:blue:2g1"; |
||
73 | gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; |
||
74 | }; |
||
75 | |||
76 | wifi5 { |
||
77 | label = "rp-n53:blue:2g2"; |
||
78 | gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; |
||
79 | }; |
||
80 | |||
81 | wifi6 { |
||
82 | label = "rp-n53:blue:2g3"; |
||
83 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
||
84 | }; |
||
85 | }; |
||
86 | }; |
||
87 | |||
88 | &gpio1 { |
||
89 | status = "okay"; |
||
90 | }; |
||
91 | |||
92 | &i2c { |
||
93 | status = "okay"; |
||
94 | }; |
||
95 | |||
96 | &i2s { |
||
97 | status = "okay"; |
||
98 | pinctrl-names = "default"; |
||
99 | pinctrl-0 = <&pcm_i2s_pins>; |
||
100 | }; |
||
101 | |||
102 | &spi0 { |
||
103 | status = "okay"; |
||
104 | |||
105 | m25p80@0 { |
||
3 | office | 106 | #address-cells = <1>; |
107 | #size-cells = <1>; |
||
1 | office | 108 | compatible = "jedec,spi-nor"; |
109 | reg = <0>; |
||
110 | spi-max-frequency = <10000000>; |
||
111 | |||
3 | office | 112 | partition@0 { |
113 | label = "u-boot"; |
||
114 | reg = <0x0 0x30000>; |
||
115 | read-only; |
||
116 | }; |
||
1 | office | 117 | |
3 | office | 118 | partition@30000 { |
119 | label = "u-boot-env"; |
||
120 | reg = <0x30000 0x10000>; |
||
121 | read-only; |
||
122 | }; |
||
1 | office | 123 | |
3 | office | 124 | factory: partition@40000 { |
125 | label = "factory"; |
||
126 | reg = <0x40000 0x10000>; |
||
127 | read-only; |
||
128 | }; |
||
1 | office | 129 | |
3 | office | 130 | partition@50000 { |
131 | label = "firmware"; |
||
132 | reg = <0x50000 0x7b0000>; |
||
1 | office | 133 | }; |
134 | }; |
||
135 | }; |
||
136 | |||
137 | &pcm { |
||
138 | status = "okay"; |
||
139 | }; |
||
140 | |||
141 | &gdma { |
||
142 | status = "okay"; |
||
143 | }; |
||
144 | |||
145 | &wmac { |
||
146 | ralink,mtd-eeprom = <&factory 0>; |
||
147 | }; |
||
148 | |||
149 | &pinctrl { |
||
150 | state_default: pinctrl0 { |
||
151 | gpio { |
||
152 | ralink,group = "mdio", "rgmii1"; |
||
153 | ralink,function = "gpio"; |
||
154 | }; |
||
155 | }; |
||
156 | }; |
||
157 | |||
158 | &gsw { |
||
159 | mediatek,port4 = "ephy"; |
||
160 | pinctrl-names = "default"; |
||
161 | pinctrl-0 = <&ephy_pins>; |
||
162 | }; |
||
163 | |||
164 | &pcie { |
||
165 | status = "okay"; |
||
166 | |||
3 | office | 167 | pcie-bridge { |
168 | wifi@1814,5592 { |
||
169 | compatible = "pci1814,5592"; |
||
170 | reg = <0x0000 0 0 0 0>; |
||
171 | ralink,2ghz = <0>; |
||
172 | ralink,mtd-eeprom = <&factory 0x8000>; |
||
173 | }; |
||
1 | office | 174 | }; |
175 | }; |