OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
2 | |||
3 | #include "qcom-ipq4019.dtsi" |
||
4 | #include <dt-bindings/gpio/gpio.h> |
||
5 | #include <dt-bindings/input/input.h> |
||
6 | #include <dt-bindings/soc/qcom,tcsr.h> |
||
7 | |||
8 | / { |
||
9 | model = "Linksys EA6350v3"; |
||
10 | compatible = "linksys,ea6350v3", "qcom,ipq4019"; |
||
11 | |||
12 | aliases { |
||
13 | led-boot = &power; |
||
14 | led-failsafe = &power; |
||
15 | led-running = &power; |
||
16 | led-upgrade = &power; |
||
17 | }; |
||
18 | |||
19 | soc { |
||
20 | mdio@90000 { |
||
21 | status = "okay"; |
||
22 | }; |
||
23 | |||
24 | ess-psgmii@98000 { |
||
25 | status = "okay"; |
||
26 | }; |
||
27 | |||
28 | tcsr@1949000 { |
||
29 | compatible = "qcom,tcsr"; |
||
30 | reg = <0x1949000 0x100>; |
||
31 | qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>; |
||
32 | }; |
||
33 | |||
34 | tcsr@194b000 { |
||
35 | compatible = "qcom,tcsr"; |
||
36 | reg = <0x194b000 0x100>; |
||
37 | qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>; |
||
38 | }; |
||
39 | |||
40 | ess_tcsr@1953000 { |
||
41 | compatible = "qcom,tcsr"; |
||
42 | reg = <0x1953000 0x1000>; |
||
43 | qcom,ess-interface-select = <TCSR_ESS_PSGMII>; |
||
44 | }; |
||
45 | |||
46 | tcsr@1957000 { |
||
47 | compatible = "qcom,tcsr"; |
||
48 | reg = <0x1957000 0x100>; |
||
49 | qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>; |
||
50 | }; |
||
51 | |||
52 | usb2@60f8800 { |
||
53 | status = "okay"; |
||
54 | }; |
||
55 | |||
56 | usb3@8af8800 { |
||
57 | status = "okay"; |
||
58 | }; |
||
59 | |||
60 | crypto@8e3a000 { |
||
61 | status = "okay"; |
||
62 | }; |
||
63 | |||
64 | watchdog@b017000 { |
||
65 | status = "okay"; |
||
66 | }; |
||
67 | |||
68 | ess-switch@c000000 { |
||
69 | status = "okay"; |
||
70 | }; |
||
71 | |||
72 | edma@c080000 { |
||
73 | status = "okay"; |
||
74 | }; |
||
75 | }; |
||
76 | |||
77 | keys { |
||
78 | compatible = "gpio-keys"; |
||
79 | |||
80 | reset { |
||
81 | label = "reset"; |
||
82 | gpios = <&tlmm 63 GPIO_ACTIVE_LOW>; |
||
83 | linux,code = <KEY_RESTART>; |
||
84 | }; |
||
85 | |||
86 | wps { |
||
87 | label = "wps"; |
||
88 | gpios = <&tlmm 0 GPIO_ACTIVE_LOW>; |
||
89 | linux,code = <KEY_WPS_BUTTON>; |
||
90 | }; |
||
91 | }; |
||
92 | |||
93 | leds { |
||
94 | compatible = "gpio-leds"; |
||
95 | |||
96 | power: status { |
||
97 | label = "EA6350v3:green:status"; |
||
98 | gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>; |
||
99 | }; |
||
100 | }; |
||
101 | }; |
||
102 | |||
103 | &blsp1_uart1 { |
||
104 | pinctrl-0 = <&serial_pins>; |
||
105 | pinctrl-names = "default"; |
||
106 | status = "okay"; |
||
107 | }; |
||
108 | |||
109 | &cryptobam { |
||
110 | status = "okay"; |
||
111 | }; |
||
112 | |||
113 | &wifi0 { |
||
114 | status = "okay"; |
||
115 | qcom,ath10k-calibration-variant = "linksys-ea6350v3"; |
||
116 | }; |
||
117 | |||
118 | &wifi1 { |
||
119 | status = "okay"; |
||
120 | qcom,ath10k-calibration-variant = "linksys-ea6350v3"; |
||
121 | }; |
||
122 | |||
123 | |||
124 | &blsp_dma { |
||
125 | status = "okay"; |
||
126 | }; |
||
127 | |||
128 | &tlmm { |
||
129 | serial_pins: serial_pinmux { |
||
130 | mux { |
||
131 | pins = "gpio60", "gpio61"; |
||
132 | function = "blsp_uart0"; |
||
133 | bias-disable; |
||
134 | }; |
||
135 | }; |
||
136 | |||
137 | spi_0_pins: spi_0_pinmux { |
||
138 | mux { |
||
139 | function = "blsp_spi0"; |
||
140 | pins = "gpio55", "gpio56", "gpio57"; |
||
141 | drive-strength = <12>; |
||
142 | bias-disable; |
||
143 | }; |
||
144 | |||
145 | mux_cs { |
||
146 | function = "gpio"; |
||
147 | pins = "gpio54", "gpio59"; |
||
148 | drive-strength = <2>; |
||
149 | bias-disable; |
||
150 | output-high; |
||
151 | }; |
||
152 | }; |
||
153 | }; |
||
154 | |||
155 | &blsp1_spi1 { /* BLSP1 QUP1 */ |
||
156 | pinctrl-0 = <&spi_0_pins>; |
||
157 | pinctrl-names = "default"; |
||
158 | status = "okay"; |
||
159 | cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, |
||
160 | <&tlmm 59 GPIO_ACTIVE_HIGH>; |
||
161 | |||
162 | flash@0 { |
||
163 | compatible = "jedec,spi-nor"; |
||
164 | reg = <0>; |
||
165 | spi-max-frequency = <24000000>; |
||
166 | |||
167 | partitions { |
||
168 | compatible = "fixed-partitions"; |
||
169 | #address-cells = <1>; |
||
170 | #size-cells = <1>; |
||
171 | |||
172 | SBL1@0 { |
||
173 | label = "SBL1"; |
||
174 | reg = <0x00000000 0x00040000>; |
||
175 | read-only; |
||
176 | }; |
||
177 | MBIB@40000 { |
||
178 | label = "MIBIB"; |
||
179 | reg = <0x00040000 0x00020000>; |
||
180 | read-only; |
||
181 | }; |
||
182 | QSEE@60000 { |
||
183 | label = "QSEE"; |
||
184 | reg = <0x00060000 0x00060000>; |
||
185 | read-only; |
||
186 | }; |
||
187 | CDT@c0000 { |
||
188 | label = "CDT"; |
||
189 | reg = <0x000c0000 0x00010000>; |
||
190 | read-only; |
||
191 | }; |
||
192 | APPSBLENV@d0000 { |
||
193 | label = "APPSBLENV"; |
||
194 | reg = <0x000d0000 0x00010000>; |
||
195 | read-only; |
||
196 | }; |
||
197 | APPSBL@e0000 { |
||
198 | label = "APPSBL"; /* uboot */ |
||
199 | reg = <0x000e0000 0x00080000>; |
||
200 | read-only; |
||
201 | }; |
||
202 | ART@160000 { |
||
203 | label = "ART"; |
||
204 | reg = <0x00160000 0x00010000>; |
||
205 | read-only; |
||
206 | }; |
||
207 | u_env@170000 { |
||
208 | label = "u_env"; |
||
209 | reg = <0x00170000 0x00020000>; |
||
210 | }; |
||
211 | s_env@190000 { |
||
212 | label = "s_env"; |
||
213 | reg = <0x00190000 0x00020000>; |
||
214 | }; |
||
215 | devinfo@1b0000 { |
||
216 | label = "devinfo"; |
||
217 | reg = <0x001b0000 0x00010000>; |
||
218 | }; |
||
219 | /* 0x001c0000 - 0x00200000 unused */ |
||
220 | }; |
||
221 | }; |
||
222 | |||
223 | flash@1 { |
||
224 | status = "okay"; |
||
225 | compatible = "spinand,mt29f", "w25n01gv"; |
||
226 | reg = <1>; |
||
227 | spi-max-frequency = <24000000>; |
||
228 | |||
229 | partitions { |
||
230 | compatible = "fixed-partitions"; |
||
231 | #address-cells = <1>; |
||
232 | #size-cells = <1>; |
||
233 | |||
234 | kernel@0 { |
||
235 | label = "kernel"; |
||
236 | reg = <0x00000000 0x02800000>; |
||
237 | }; |
||
238 | rootfs@300000 { |
||
239 | label = "rootfs"; |
||
240 | reg = <0x00300000 0x02500000>; |
||
241 | }; |
||
242 | alt_kernel@2800000 { |
||
243 | label = "alt_kernel"; |
||
244 | reg = <0x02800000 0x02800000>; |
||
245 | }; |
||
246 | alt_rootfs@2b00000 { |
||
247 | label = "alt_rootfs"; |
||
248 | reg = <0x02b00000 0x02500000>; |
||
249 | }; |
||
250 | sysdiag@5000000 { |
||
251 | label = "sysdiag"; |
||
252 | reg = <0x05000000 0x00100000>; |
||
253 | }; |
||
254 | syscfg@5100000 { |
||
255 | label = "syscfg"; |
||
256 | reg = <0x05100000 0x02F00000>; |
||
257 | }; |
||
258 | /* 0x00000000 - 0x08000000: 128 MiB */ |
||
259 | }; |
||
260 | }; |
||
261 | }; |
||
262 | |||
263 | &usb3_ss_phy { |
||
264 | status = "okay"; |
||
265 | }; |
||
266 | |||
267 | &usb3_hs_phy { |
||
268 | status = "okay"; |
||
269 | }; |
||
270 | |||
271 | &usb2_hs_phy { |
||
272 | status = "okay"; |
||
273 | }; |