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/soc/qcom,tcsr.h>
24 model = "ZyXEL WRE6606";
25 compatible = "zyxel,wre6606";
29 led-failsafe = &power;
35 bootargs-append = " mtdparts=";
52 compatible = "qcom,tcsr";
53 reg = <0x1949000 0x100>;
54 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
58 compatible = "qcom,tcsr";
59 reg = <0x1953000 0x1000>;
60 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
64 compatible = "qcom,tcsr";
65 reg = <0x1957000 0x100>;
66 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
88 compatible = "gpio-leds";
91 label = "wre6606:green:wps";
92 gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
96 label = "wre6606:green:wlan5g";
97 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
101 label = "wre6606:green:power";
102 gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>;
106 label = "wre6606:red:wlan5g";
107 gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
111 label = "wre6606:red:wlan2g";
112 gpios = <&tlmm 58 GPIO_ACTIVE_HIGH>;
116 label = "wre6606:green:wlan2g";
117 gpios = <&tlmm 59 GPIO_ACTIVE_HIGH>;
122 compatible = "gpio-keys";
126 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
127 linux,code = <KEY_WPS_BUTTON>;
133 serial_pins: serial_pinmux {
135 pins = "gpio60", "gpio61";
136 function = "blsp_uart0";
141 spi_0_pins: spi_0_pinmux {
143 function = "blsp_spi0";
144 pins = "gpio55", "gpio56", "gpio57";
145 drive-strength = <12>;
151 drive-strength = <2>;
163 pinctrl-0 = <&spi_0_pins>;
164 pinctrl-names = "default";
166 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
169 compatible = "jedec,spi-nor";
171 spi-max-frequency = <24000000>;
174 compatible = "fixed-partitions";
175 #address-cells = <1>;
180 reg = <0x00000000 0x00040000>;
186 reg = <0x00040000 0x00020000>;
192 reg = <0x00060000 0x00060000>;
198 reg = <0x000c0000 0x00010000>;
204 reg = <0x000d0000 0x00010000>;
210 reg = <0x000e0000 0x00010000>;
216 reg = <0x000f0000 0x00080000>;
222 reg = <0x00170000 0x00010000>;
227 compatible = "denx,fit";
229 reg = <0x00180000 0x00ce0000>;
233 label = "manufacture";
234 reg = <0x00e60000 0x00050000>;
240 reg = <0x00eb0000 0x00150000>;
248 pinctrl-0 = <&serial_pins>;
249 pinctrl-names = "default";
259 qcom,ath10k-calibration-variant = "ZyXEL-WRE6606";
264 qcom,ath10k-calibration-variant = "ZyXEL-WRE6606";