1 /* Copyright (c) 2015, The Linux Foundation. All rights reserved.
3 * Permission to use, copy, modify, and/or distribute this software for any
4 * purpose with or without fee is hereby granted, provided that the above
5 * copyright notice and this permission notice appear in all copies.
7 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 #include "qcom-ipq4019-ap.dk01.1.dtsi"
18 #include "qcom-ipq4019-bus.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 NBG6617";
25 compatible = "zyxel,nbg6617", "qcom,ipq4019";
28 device_type = "memory";
29 reg = <0x80000000 0x10000000>;
34 led-failsafe = &power;
40 #address-cells = <0x1>;
45 reg = <0x87000000 0x0500000>;
50 reg = <0x87500000 0x600000>;
55 reg = <0x87b00000 0x500000>;
64 pins = "gpio0", "gpio1", "gpio3", "gpio5", "gpio58";
65 drive-strength = <0x8>;
74 compatible = "qcom,tcsr";
75 reg = <0x194b000 0x100>;
76 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
81 compatible = "qcom,tcsr";
82 reg = <0x1953000 0x1000>;
83 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
88 compatible = "qcom,tcsr";
89 reg = <0x1949000 0x100>;
90 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
94 compatible = "qcom,tcsr";
95 reg = <0x1957000 0x100>;
96 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
100 compatible = "qcom,qca-gcnt";
101 reg = <0x4a1000 0x4>;
128 cryptobam: dma@8e04000 {
138 compatible = "gpio-keys";
142 gpios = <&tlmm 0x2 GPIO_ACTIVE_HIGH>;
143 linux,code = <KEY_RFKILL>;
148 gpios = <&tlmm 0x3f GPIO_ACTIVE_LOW>;
149 linux,code = <KEY_WPS_BUTTON>;
154 gpios = <&tlmm 0x4 GPIO_ACTIVE_LOW>;
155 linux,code = <KEY_RESTART>;
160 compatible = "gpio-leds";
163 label = "nbg6617:green:power";
164 gpios = <&tlmm 0x3 GPIO_ACTIVE_HIGH>;
168 label = "nbg6617:green:wps";
169 gpios = <&tlmm 0x1 GPIO_ACTIVE_HIGH>;
173 label = "nbg6617:green:wlan2G";
174 gpios = <&tlmm 0x3a GPIO_ACTIVE_HIGH>;
178 label = "nbg6617:green:wlan5G";
179 gpios = <&tlmm 0x5 GPIO_ACTIVE_HIGH>;
185 &spi_0 { /* BLSP1 QUP1 */
196 compatible = "fixed-partitions";
197 #address-cells = <1>;
202 reg = <0x00000000 0x08000000>;
203 read-only; /* for now */