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";
10 compatible = "linksys,whw01";
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>;
46 pinctrl-0 = <&i2c_0_pins>;
47 pinctrl-1 = <&i2c_0_pins>;
48 pinctrl-names = "i2c_active", "i2c_sleep";
51 compatible = "nxp,pca9633";
59 color = <LED_COLOR_ID_RED>;
60 function = LED_FUNCTION_POWER;
65 color = <LED_COLOR_ID_GREEN>;
66 function = LED_FUNCTION_POWER;
69 led_system_blue: led@2 {
71 color = <LED_COLOR_ID_BLUE>;
72 function = LED_FUNCTION_POWER;
73 linux,default-trigger = "default-on";
80 pinctrl-0 = <&spi_0_pins>;
81 pinctrl-names = "default";
82 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 4 GPIO_ACTIVE_HIGH>;
86 compatible = "jedec,spi-nor";
87 spi-max-frequency = <24000000>;
90 compatible = "fixed-partitions";
102 reg = <0x40000 0x20000>;
108 reg = <0x60000 0x60000>;
114 reg = <0xc0000 0x10000>;
120 reg = <0xd0000 0xa0000>;
126 reg = <0x170000 0x10000>;
130 compatible = "fixed-layout";
131 #address-cells = <1>;
134 precal_art_1000: precal@1000 {
135 reg = <0x1000 0x2f20>;
138 precal_art_5000: precal@5000 {
139 reg = <0x5000 0x2f20>;
146 reg = <0x180000 0x40000>;
151 reg = <0x1c0000 0x20000>;
156 reg = <0x1e0000 0x20000>;
164 compatible = "spi-nand";
165 spi-max-frequency = <24000000>;
168 compatible = "fixed-partitions";
169 #address-cells = <1>;
174 reg = <0x0000000 0x5000000>;
179 reg = <0x0600000 0x4a00000>;
183 label = "alt_kernel";
184 reg = <0x5000000 0x5000000>;
188 label = "alt_rootfs";
189 reg = <0x5600000 0x4a00000>;
194 reg = <0xa000000 0x0200000>;
200 reg = <0xa200000 0x5e00000>;
208 pinctrl-0 = <&serial_pins>;
209 pinctrl-names = "default";
215 pinctrl-0 = <&mdio_pins>;
216 pinctrl-names = "default";
217 phy-reset-gpio = <&tlmm 62 GPIO_ACTIVE_HIGH>;
221 mdio_pins: mdio_pinmux {
235 serial_pins: serial_pinmux {
237 pins = "gpio60", "gpio61";
238 function = "blsp_uart0";
243 spi_0_pins: spi_0_pinmux {
245 function = "blsp_spi0";
246 pins = "gpio55", "gpio56", "gpio57";
251 pins = "gpio54", "gpio4";
255 pins = "gpio55", "gpio56", "gpio57";
256 drive-strength = <12>;
261 pins = "gpio54", "gpio4";
262 drive-strength = <2>;
268 i2c_0_pins: i2c_0_pinmux {
270 function = "blsp_i2c0";
271 pins = "gpio58", "gpio59";
310 qcom,ath10k-calibration-variant = "linksys-whw01-v1";
311 nvmem-cell-names = "pre-calibration";
312 nvmem-cells = <&precal_art_1000>;
317 qcom,ath10k-calibration-variant = "linksys-whw01-v1";
318 nvmem-cell-names = "pre-calibration";
319 nvmem-cells = <&precal_art_5000>;