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>;
63 compatible = "gpio-keys";
67 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_RESTART>;
73 gpios = <&tlmm 0 GPIO_ACTIVE_LOW>;
74 linux,code = <KEY_WPS_BUTTON>;
79 compatible = "gpio-leds";
82 function = LED_FUNCTION_STATUS;
83 color = <LED_COLOR_ID_GREEN>;
84 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
90 pinctrl-0 = <&serial_pins>;
91 pinctrl-names = "default";
129 nvmem-cell-names = "pre-calibration";
130 nvmem-cells = <&precal_art_1000>;
131 qcom,ath10k-calibration-variant = "linksys-ea6350v3";
136 nvmem-cell-names = "pre-calibration";
137 nvmem-cells = <&precal_art_5000>;
138 qcom,ath10k-calibration-variant = "linksys-ea6350v3";
146 serial_pins: serial_pinmux {
148 pins = "gpio60", "gpio61";
149 function = "blsp_uart0";
154 spi_0_pins: spi_0_pinmux {
156 function = "blsp_spi0";
157 pins = "gpio55", "gpio56", "gpio57";
158 drive-strength = <12>;
164 pins = "gpio54", "gpio59";
165 drive-strength = <2>;
172 &blsp1_spi1 { /* BLSP1 QUP1 */
173 pinctrl-0 = <&spi_0_pins>;
174 pinctrl-names = "default";
176 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>,
177 <&tlmm 59 GPIO_ACTIVE_HIGH>;
180 compatible = "jedec,spi-nor";
182 spi-max-frequency = <24000000>;
185 compatible = "fixed-partitions";
186 #address-cells = <1>;
191 reg = <0x00000000 0x00040000>;
196 reg = <0x00040000 0x00020000>;
201 reg = <0x00060000 0x00060000>;
206 reg = <0x000c0000 0x00010000>;
211 reg = <0x000d0000 0x00010000>;
215 label = "APPSBL"; /* uboot */
216 reg = <0x000e0000 0x00080000>;
221 reg = <0x00160000 0x00010000>;
225 compatible = "fixed-layout";
226 #address-cells = <1>;
229 precal_art_1000: precal@1000 {
230 reg = <0x1000 0x2f20>;
233 precal_art_5000: precal@5000 {
234 reg = <0x5000 0x2f20>;
240 reg = <0x00170000 0x00020000>;
244 reg = <0x00190000 0x00020000>;
248 reg = <0x001b0000 0x00010000>;
250 /* 0x001c0000 - 0x00200000 unused */
256 compatible = "spi-nand";
258 spi-max-frequency = <24000000>;
261 compatible = "fixed-partitions";
262 #address-cells = <1>;
267 reg = <0x00000000 0x02800000>;
271 reg = <0x00500000 0x02300000>;
274 label = "alt_kernel";
275 reg = <0x02800000 0x02800000>;
278 label = "alt_rootfs";
279 reg = <0x02d00000 0x02300000>;
283 reg = <0x05000000 0x00100000>;
287 reg = <0x05100000 0x02F00000>;
289 /* 0x00000000 - 0x08000000: 128 MiB */