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>;
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>;
129 compatible = "nvmem-cells";
130 #address-cells = <1>;
133 precal_art_1000: precal@1000 {
134 reg = <0x1000 0x2f20>;
137 precal_art_5000: precal@5000 {
138 reg = <0x5000 0x2f20>;
144 reg = <0x180000 0x40000>;
149 reg = <0x1c0000 0x20000>;
154 reg = <0x1e0000 0x20000>;
162 compatible = "spi-nand";
163 spi-max-frequency = <24000000>;
166 compatible = "fixed-partitions";
167 #address-cells = <1>;
172 reg = <0x0000000 0x5000000>;
177 reg = <0x0600000 0x4a00000>;
181 label = "alt_kernel";
182 reg = <0x5000000 0x5000000>;
186 label = "alt_rootfs";
187 reg = <0x5600000 0x4a00000>;
192 reg = <0xa000000 0x0200000>;
198 reg = <0xa200000 0x5e00000>;
206 pinctrl-0 = <&serial_pins>;
207 pinctrl-names = "default";
213 pinctrl-0 = <&mdio_pins>;
214 pinctrl-names = "default";
215 phy-reset-gpio = <&tlmm 62 GPIO_ACTIVE_HIGH>;
219 mdio_pins: mdio_pinmux {
233 serial_pins: serial_pinmux {
235 pins = "gpio60", "gpio61";
236 function = "blsp_uart0";
241 spi_0_pins: spi_0_pinmux {
243 function = "blsp_spi0";
244 pins = "gpio55", "gpio56", "gpio57";
249 pins = "gpio54", "gpio4";
253 pins = "gpio55", "gpio56", "gpio57";
254 drive-strength = <12>;
259 pins = "gpio54", "gpio4";
260 drive-strength = <2>;
266 i2c_0_pins: i2c_0_pinmux {
268 function = "blsp_i2c0";
269 pins = "gpio58", "gpio59";
308 qcom,ath10k-calibration-variant = "linksys-whw01-v1";
309 nvmem-cell-names = "pre-calibration";
310 nvmem-cells = <&precal_art_1000>;
315 qcom,ath10k-calibration-variant = "linksys-whw01-v1";
316 nvmem-cell-names = "pre-calibration";
317 nvmem-cells = <&precal_art_5000>;