1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qcom-ipq4019.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/soc/qcom,tcsr.h>
10 model = "Linksys EA6350v3";
11 compatible = "linksys,ea6350v3";
15 led-failsafe = &power;
30 compatible = "qcom,tcsr";
31 reg = <0x1949000 0x100>;
32 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
36 compatible = "qcom,tcsr";
37 reg = <0x194b000 0x100>;
38 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
42 compatible = "qcom,tcsr";
43 reg = <0x1953000 0x1000>;
44 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
48 compatible = "qcom,tcsr";
49 reg = <0x1957000 0x100>;
50 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
71 compatible = "gpio-keys";
75 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_RESTART>;
81 gpios = <&tlmm 0 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_WPS_BUTTON>;
87 compatible = "gpio-leds";
90 function = LED_FUNCTION_STATUS;
91 color = <LED_COLOR_ID_GREEN>;
92 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
98 pinctrl-0 = <&serial_pins>;
99 pinctrl-names = "default";
137 nvmem-cell-names = "pre-calibration";
138 nvmem-cells = <&precal_art_1000>;
139 qcom,ath10k-calibration-variant = "linksys-ea6350v3";
144 nvmem-cell-names = "pre-calibration";
145 nvmem-cells = <&precal_art_5000>;
146 qcom,ath10k-calibration-variant = "linksys-ea6350v3";
154 serial_pins: serial_pinmux {
156 pins = "gpio60", "gpio61";
157 function = "blsp_uart0";
162 spi_0_pins: spi_0_pinmux {
164 function = "blsp_spi0";
165 pins = "gpio55", "gpio56", "gpio57";
166 drive-strength = <12>;
172 pins = "gpio54", "gpio59";
173 drive-strength = <2>;
180 &blsp1_spi1 { /* BLSP1 QUP1 */
181 pinctrl-0 = <&spi_0_pins>;
182 pinctrl-names = "default";
184 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>,
185 <&tlmm 59 GPIO_ACTIVE_HIGH>;
188 compatible = "jedec,spi-nor";
190 spi-max-frequency = <24000000>;
193 compatible = "fixed-partitions";
194 #address-cells = <1>;
199 reg = <0x00000000 0x00040000>;
204 reg = <0x00040000 0x00020000>;
209 reg = <0x00060000 0x00060000>;
214 reg = <0x000c0000 0x00010000>;
219 reg = <0x000d0000 0x00010000>;
223 label = "APPSBL"; /* uboot */
224 reg = <0x000e0000 0x00080000>;
229 reg = <0x00160000 0x00010000>;
233 compatible = "fixed-layout";
234 #address-cells = <1>;
237 precal_art_1000: precal@1000 {
238 reg = <0x1000 0x2f20>;
241 precal_art_5000: precal@5000 {
242 reg = <0x5000 0x2f20>;
248 reg = <0x00170000 0x00020000>;
252 reg = <0x00190000 0x00020000>;
256 reg = <0x001b0000 0x00010000>;
258 /* 0x001c0000 - 0x00200000 unused */
264 compatible = "spi-nand";
266 spi-max-frequency = <24000000>;
269 compatible = "fixed-partitions";
270 #address-cells = <1>;
275 reg = <0x00000000 0x02800000>;
279 reg = <0x00500000 0x02300000>;
282 label = "alt_kernel";
283 reg = <0x02800000 0x02800000>;
286 label = "alt_rootfs";
287 reg = <0x02d00000 0x02300000>;
291 reg = <0x05000000 0x00100000>;
295 reg = <0x05100000 0x02F00000>;
297 /* 0x00000000 - 0x08000000: 128 MiB */