1 /* Copyright (c) 2015, The Linux Foundation. All rights reserved.
2 * Copyright (c) 2018, David Bauer <mail@david-bauer.net>
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 #include "qcom-ipq4019.dtsi"
19 #include <dt-bindings/gpio/gpio.h>
20 #include <dt-bindings/input/input.h>
21 #include <dt-bindings/leds/common.h>
22 #include <dt-bindings/soc/qcom,tcsr.h>
25 model = "ZyXEL WRE6606";
26 compatible = "zyxel,wre6606";
30 led-failsafe = &power;
36 bootargs-append = " mtdparts=";
41 compatible = "qcom,tcsr";
42 reg = <0x1949000 0x100>;
43 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
47 compatible = "qcom,tcsr";
48 reg = <0x1953000 0x1000>;
49 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
53 compatible = "qcom,tcsr";
54 reg = <0x1957000 0x100>;
55 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
60 compatible = "gpio-leds";
63 function = LED_FUNCTION_WPS;
64 color = <LED_COLOR_ID_GREEN>;
65 gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
69 label = "green:wlan5g";
70 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
74 function = LED_FUNCTION_POWER;
75 color = <LED_COLOR_ID_GREEN>;
76 gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>;
81 gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
86 gpios = <&tlmm 58 GPIO_ACTIVE_HIGH>;
90 label = "green:wlan2g";
91 gpios = <&tlmm 59 GPIO_ACTIVE_HIGH>;
96 compatible = "gpio-keys";
100 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
101 linux,code = <KEY_WPS_BUTTON>;
119 serial_pins: serial_pinmux {
121 pins = "gpio60", "gpio61";
122 function = "blsp_uart0";
127 spi_0_pins: spi_0_pinmux {
129 function = "blsp_spi0";
130 pins = "gpio55", "gpio56", "gpio57";
131 drive-strength = <12>;
137 drive-strength = <2>;
149 pinctrl-0 = <&spi_0_pins>;
150 pinctrl-names = "default";
152 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
155 compatible = "jedec,spi-nor";
157 spi-max-frequency = <24000000>;
160 compatible = "fixed-partitions";
161 #address-cells = <1>;
166 reg = <0x00000000 0x00040000>;
172 reg = <0x00040000 0x00020000>;
178 reg = <0x00060000 0x00060000>;
184 reg = <0x000c0000 0x00010000>;
190 reg = <0x000d0000 0x00010000>;
196 reg = <0x000e0000 0x00010000>;
202 reg = <0x000f0000 0x00080000>;
208 reg = <0x00170000 0x00010000>;
213 compatible = "denx,fit";
215 reg = <0x00180000 0x00ce0000>;
219 label = "manufacture";
220 reg = <0x00e60000 0x00050000>;
226 reg = <0x00eb0000 0x00150000>;
234 pinctrl-0 = <&serial_pins>;
235 pinctrl-names = "default";
249 qcom,ath10k-calibration-variant = "ZyXEL-WRE6606";
254 qcom,ath10k-calibration-variant = "ZyXEL-WRE6606";