OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line -... | Line 1... | |||
- | 1 | /* Copyright (c) 2015, The Linux Foundation. All rights reserved. |
||
- | 2 | * |
||
- | 3 | * Permission to use, copy, modify, and/or distribute this software for any |
||
- | 4 | * purpose with or without fee is hereby granted, provided that the above |
||
1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
5 | * copyright notice and this permission notice appear in all copies. |
|
- | 6 | * |
||
- | 7 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
||
- | 8 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
||
- | 9 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
||
- | 10 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
||
- | 11 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
||
- | 12 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
||
- | 13 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
||
- | 14 | * |
||
- | 15 | */ |
||
Line 2... | Line 16... | |||
2 | |
16 | |
|
- | 17 | #include "qcom-ipq4019.dtsi" |
||
3 | #include "qcom-ipq4019.dtsi" |
18 | #include "qcom-ipq4019-bus.dtsi" |
|
4 | #include <dt-bindings/gpio/gpio.h> |
19 | #include <dt-bindings/gpio/gpio.h> |
|
5 | #include <dt-bindings/input/input.h> |
20 | #include <dt-bindings/input/input.h> |
|
Line 6... | Line 21... | |||
6 | #include <dt-bindings/soc/qcom,tcsr.h> |
21 | #include <dt-bindings/soc/qcom,tcsr.h> |
|
Line 51... | Line 66... | |||
51 | |
66 | |
|
52 | usb2@60f8800 { |
67 | usb2@60f8800 { |
|
53 | status = "okay"; |
68 | status = "okay"; |
|
Line -... | Line 69... | |||
- | 69 | }; |
||
- | 70 | |
||
- | 71 | serial@78af000 { |
||
- | 72 | pinctrl-0 = <&serial_pins>; |
||
- | 73 | pinctrl-names = "default"; |
||
- | 74 | status = "okay"; |
||
54 | }; |
75 | }; |
|
55 | |
76 | |
|
56 | usb3@8af8800 { |
77 | usb3@8af8800 { |
|
Line 57... | Line 78... | |||
57 | status = "okay"; |
78 | status = "okay"; |
|
58 | }; |
79 | }; |
|
59 | |
80 | |
|
Line -... | Line 81... | |||
- | 81 | crypto@8e3a000 { |
||
- | 82 | status = "okay"; |
||
- | 83 | }; |
||
- | 84 | |
||
- | 85 | wifi@a000000 { |
||
- | 86 | status = "okay"; |
||
- | 87 | qcom,ath10k-calibration-variant = "AVM-FRITZBox-4040"; |
||
- | 88 | }; |
||
- | 89 | |
||
- | 90 | wifi@a800000 { |
||
60 | crypto@8e3a000 { |
91 | status = "okay"; |
|
61 | status = "okay"; |
92 | qcom,ath10k-calibration-variant = "AVM-FRITZBox-4040"; |
|
62 | }; |
93 | }; |
|
Line 63... | Line 94... | |||
63 | |
94 | |
|
Line 82... | Line 113... | |||
82 | edma@c080000 { |
113 | edma@c080000 { |
|
83 | status = "okay"; |
114 | status = "okay"; |
|
84 | }; |
115 | }; |
|
85 | }; |
116 | }; |
|
Line 86... | Line 117... | |||
86 | |
117 | |
|
87 | keys { |
118 | gpio-keys { |
|
Line 88... | Line 119... | |||
88 | compatible = "gpio-keys"; |
119 | compatible = "gpio-keys"; |
|
89 | |
120 | |
|
90 | wlan { |
121 | wlan { |
|
Line 98... | Line 129... | |||
98 | gpios = <&tlmm 63 GPIO_ACTIVE_LOW>; |
129 | gpios = <&tlmm 63 GPIO_ACTIVE_LOW>; |
|
99 | linux,code = <KEY_WPS_BUTTON>; |
130 | linux,code = <KEY_WPS_BUTTON>; |
|
100 | }; |
131 | }; |
|
101 | }; |
132 | }; |
|
Line 102... | Line 133... | |||
102 | |
133 | |
|
103 | switch-leds { |
134 | gpio-leds { |
|
Line 104... | Line 135... | |||
104 | compatible = "gpio-leds"; |
135 | compatible = "gpio-leds"; |
|
105 | |
136 | |
|
106 | wlan { |
137 | wlan { |
|
Line 169... | Line 200... | |||
169 | |
200 | |
|
170 | &blsp_dma { |
201 | &blsp_dma { |
|
171 | status = "okay"; |
202 | status = "okay"; |
|
Line 172... | Line 203... | |||
172 | }; |
203 | }; |
|
173 | |
204 | |
|
174 | &blsp1_spi1 { /* BLSP1 QUP1 */ |
205 | &spi_0 { /* BLSP1 QUP1 */ |
|
175 | pinctrl-0 = <&spi_0_pins>; |
206 | pinctrl-0 = <&spi_0_pins>; |
|
176 | pinctrl-names = "default"; |
207 | pinctrl-names = "default"; |
|
Line 177... | Line 208... | |||
177 | status = "okay"; |
208 | status = "okay"; |
|
178 | cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>; |
209 | cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>; |
|
179 | |
210 | |
|
180 | flash@0 { |
211 | mx25l25635f@0 { |
|
181 | compatible = "jedec,spi-nor"; |
212 | compatible = "jedec,spi-nor"; |
|
182 | #address-cells = <1>; |
213 | #address-cells = <1>; |
|
Line 246... | Line 277... | |||
246 | label = "uboot"; |
277 | label = "uboot"; |
|
247 | reg = <0x00220000 0x00080000>; |
278 | reg = <0x00220000 0x00080000>; |
|
248 | read-only; |
279 | read-only; |
|
249 | }; |
280 | }; |
|
250 | partition11@2A0000 { |
281 | partition11@2A0000 { |
|
251 | compatible = "denx,fit"; |
- | ||
252 | label = "firmware"; |
282 | label = "firmware"; |
|
253 | reg = <0x002a0000 0x01c60000>; |
283 | reg = <0x002a0000 0x01c60000>; |
|
254 | }; |
284 | }; |
|
255 | partition12@1f00000 { |
285 | partition12@1f00000 { |
|
256 | label = "jffs2"; |
286 | label = "jffs2"; |
|
Line 258... | Line 288... | |||
258 | }; |
288 | }; |
|
259 | }; |
289 | }; |
|
260 | }; |
290 | }; |
|
261 | }; |
291 | }; |
|
Line 262... | Line -... | |||
262 | |
- | ||
263 | &blsp1_uart1 { |
- | ||
264 | pinctrl-0 = <&serial_pins>; |
- | ||
265 | pinctrl-names = "default"; |
- | ||
266 | status = "okay"; |
- | ||
267 | }; |
- | ||
268 | |
292 | |
|
269 | &usb3_ss_phy { |
293 | &usb3_ss_phy { |
|
270 | status = "okay"; |
294 | status = "okay"; |
|
Line 271... | Line 295... | |||
271 | }; |
295 | }; |
|
Line 275... | Line 299... | |||
275 | }; |
299 | }; |
|
Line 276... | Line 300... | |||
276 | |
300 | |
|
277 | &usb2_hs_phy { |
301 | &usb2_hs_phy { |
|
278 | status = "okay"; |
302 | status = "okay"; |
|
279 | }; |
- | ||
280 | |
- | ||
281 | &wifi0 { |
- | ||
282 | status = "okay"; |
- | ||
283 | qcom,ath10k-calibration-variant = "AVM-FRITZBox-4040"; |
- | ||
284 | }; |
- | ||
285 | |
- | ||
286 | &wifi1 { |
- | ||
287 | status = "okay"; |
- | ||
288 | qcom,ath10k-calibration-variant = "AVM-FRITZBox-4040"; |
- |