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=";
48 compatible = "qcom,tcsr";
49 reg = <0x1949000 0x100>;
50 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
54 compatible = "qcom,tcsr";
55 reg = <0x1953000 0x1000>;
56 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
60 compatible = "qcom,tcsr";
61 reg = <0x1957000 0x100>;
62 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
75 compatible = "gpio-leds";
79 gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
83 label = "green:wlan5g";
84 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
88 label = "green:power";
89 gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>;
94 gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
99 gpios = <&tlmm 58 GPIO_ACTIVE_HIGH>;
103 label = "green:wlan2g";
104 gpios = <&tlmm 59 GPIO_ACTIVE_HIGH>;
109 compatible = "gpio-keys";
113 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
114 linux,code = <KEY_WPS_BUTTON>;
120 serial_pins: serial_pinmux {
122 pins = "gpio60", "gpio61";
123 function = "blsp_uart0";
128 spi_0_pins: spi_0_pinmux {
130 function = "blsp_spi0";
131 pins = "gpio55", "gpio56", "gpio57";
132 drive-strength = <12>;
138 drive-strength = <2>;
150 pinctrl-0 = <&spi_0_pins>;
151 pinctrl-names = "default";
153 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
156 compatible = "jedec,spi-nor";
158 spi-max-frequency = <24000000>;
161 compatible = "fixed-partitions";
162 #address-cells = <1>;
167 reg = <0x00000000 0x00040000>;
173 reg = <0x00040000 0x00020000>;
179 reg = <0x00060000 0x00060000>;
185 reg = <0x000c0000 0x00010000>;
191 reg = <0x000d0000 0x00010000>;
197 reg = <0x000e0000 0x00010000>;
203 reg = <0x000f0000 0x00080000>;
209 reg = <0x00170000 0x00010000>;
214 compatible = "denx,fit";
216 reg = <0x00180000 0x00ce0000>;
220 label = "manufacture";
221 reg = <0x00e60000 0x00050000>;
227 reg = <0x00eb0000 0x00150000>;
235 pinctrl-0 = <&serial_pins>;
236 pinctrl-names = "default";
246 qcom,ath10k-calibration-variant = "ZyXEL-WRE6606";
251 qcom,ath10k-calibration-variant = "ZyXEL-WRE6606";