1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qcom-ipq4019.dtsi"
4 #include <dt-bindings/leds/common.h>
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "Linksys WHW01 v1";
10 compatible = "linksys,whw01-v1";
13 serial0 = &blsp1_uart1;
14 led-boot = &led_system_blue;
15 led-running = &led_system_blue;
19 stdout-path = "serial0:115200n8";
20 bootargs-append = " root=/dev/ubiblock0_0";
25 compatible = "gpio-keys";
29 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
58 pinctrl-0 = <&i2c_0_pins>;
59 pinctrl-1 = <&i2c_0_pins>;
60 pinctrl-names = "i2c_active", "i2c_sleep";
63 compatible = "nxp,pca9633";
71 color = <LED_COLOR_ID_RED>;
72 function = LED_FUNCTION_POWER;
77 color = <LED_COLOR_ID_GREEN>;
78 function = LED_FUNCTION_POWER;
81 led_system_blue: led@2 {
83 color = <LED_COLOR_ID_BLUE>;
84 function = LED_FUNCTION_POWER;
85 linux,default-trigger = "default-on";
92 pinctrl-0 = <&spi_0_pins>;
93 pinctrl-names = "default";
94 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 4 GPIO_ACTIVE_HIGH>;
98 compatible = "jedec,spi-nor";
99 spi-max-frequency = <24000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
114 reg = <0x40000 0x20000>;
120 reg = <0x60000 0x60000>;
126 reg = <0xc0000 0x10000>;
132 reg = <0xd0000 0xa0000>;
138 reg = <0x170000 0x10000>;
141 compatible = "nvmem-cells";
142 #address-cells = <1>;
145 precal_art_1000: precal@1000 {
146 reg = <0x1000 0x2f20>;
149 precal_art_5000: precal@5000 {
150 reg = <0x5000 0x2f20>;
156 reg = <0x180000 0x40000>;
161 reg = <0x1c0000 0x20000>;
166 reg = <0x1e0000 0x20000>;
174 compatible = "spi-nand";
175 spi-max-frequency = <24000000>;
178 compatible = "fixed-partitions";
179 #address-cells = <1>;
184 reg = <0x0000000 0x5000000>;
189 reg = <0x0600000 0x4a00000>;
193 label = "alt_kernel";
194 reg = <0x5000000 0x5000000>;
198 label = "alt_rootfs";
199 reg = <0x5600000 0x4a00000>;
204 reg = <0xa000000 0x0200000>;
210 reg = <0xa200000 0x5e00000>;
218 pinctrl-0 = <&serial_pins>;
219 pinctrl-names = "default";
225 pinctrl-0 = <&mdio_pins>;
226 pinctrl-names = "default";
227 phy-reset-gpio = <&tlmm 62 GPIO_ACTIVE_HIGH>;
231 mdio_pins: mdio_pinmux {
245 serial_pins: serial_pinmux {
247 pins = "gpio60", "gpio61";
248 function = "blsp_uart0";
253 spi_0_pins: spi_0_pinmux {
255 function = "blsp_spi0";
256 pins = "gpio55", "gpio56", "gpio57";
261 pins = "gpio54", "gpio4";
265 pins = "gpio55", "gpio56", "gpio57";
266 drive-strength = <12>;
271 pins = "gpio54", "gpio4";
272 drive-strength = <2>;
278 i2c_0_pins: i2c_0_pinmux {
280 function = "blsp_i2c0";
281 pins = "gpio58", "gpio59";
320 qcom,ath10k-calibration-variant = "linksys-whw01-v1";
321 nvmem-cell-names = "pre-calibration";
322 nvmem-cells = <&precal_art_1000>;
327 qcom,ath10k-calibration-variant = "linksys-whw01-v1";
328 nvmem-cell-names = "pre-calibration";
329 nvmem-cells = <&precal_art_5000>;