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=";
49 compatible = "qcom,tcsr";
50 reg = <0x1949000 0x100>;
51 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
55 compatible = "qcom,tcsr";
56 reg = <0x1953000 0x1000>;
57 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
61 compatible = "qcom,tcsr";
62 reg = <0x1957000 0x100>;
63 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
76 compatible = "gpio-leds";
79 function = LED_FUNCTION_WPS;
80 color = <LED_COLOR_ID_GREEN>;
81 gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
85 label = "green:wlan5g";
86 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
90 function = LED_FUNCTION_POWER;
91 color = <LED_COLOR_ID_GREEN>;
92 gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>;
97 gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
101 label = "red:wlan2g";
102 gpios = <&tlmm 58 GPIO_ACTIVE_HIGH>;
106 label = "green:wlan2g";
107 gpios = <&tlmm 59 GPIO_ACTIVE_HIGH>;
112 compatible = "gpio-keys";
116 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
117 linux,code = <KEY_WPS_BUTTON>;
123 serial_pins: serial_pinmux {
125 pins = "gpio60", "gpio61";
126 function = "blsp_uart0";
131 spi_0_pins: spi_0_pinmux {
133 function = "blsp_spi0";
134 pins = "gpio55", "gpio56", "gpio57";
135 drive-strength = <12>;
141 drive-strength = <2>;
153 pinctrl-0 = <&spi_0_pins>;
154 pinctrl-names = "default";
156 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
159 compatible = "jedec,spi-nor";
161 spi-max-frequency = <24000000>;
164 compatible = "fixed-partitions";
165 #address-cells = <1>;
170 reg = <0x00000000 0x00040000>;
176 reg = <0x00040000 0x00020000>;
182 reg = <0x00060000 0x00060000>;
188 reg = <0x000c0000 0x00010000>;
194 reg = <0x000d0000 0x00010000>;
200 reg = <0x000e0000 0x00010000>;
206 reg = <0x000f0000 0x00080000>;
212 reg = <0x00170000 0x00010000>;
217 compatible = "denx,fit";
219 reg = <0x00180000 0x00ce0000>;
223 label = "manufacture";
224 reg = <0x00e60000 0x00050000>;
230 reg = <0x00eb0000 0x00150000>;
238 pinctrl-0 = <&serial_pins>;
239 pinctrl-names = "default";
249 qcom,ath10k-calibration-variant = "ZyXEL-WRE6606";
254 qcom,ath10k-calibration-variant = "ZyXEL-WRE6606";