1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2016, 2018 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2016 Google, Inc
7 #include "qcom-ipq4019.dtsi"
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/leds/common.h>
13 model = "Google WiFi (Gale)";
14 compatible = "google,wifi", "google,gale-v2", "qcom,ipq4019";
18 * rootwait: in case we're booting from slow/async USB storage.
20 bootargs-append = " rootwait";
21 stdout-path = &blsp1_uart1;
25 device_type = "memory";
26 reg = <0x80000000 0x20000000>; /* 512MB */
65 spi_0_pins: spi_0_pinmux {
67 function = "blsp_spi0";
68 pins = "gpio13", "gpio14","gpio15";
75 pins = "gpio13", "gpio14","gpio15";
76 drive-strength = <12>;
87 spi_1_pins: spi_1_pinmux {
89 function = "blsp_spi1";
90 pins = "gpio44", "gpio46","gpio47";
97 pins = "gpio44", "gpio46","gpio47";
98 drive-strength = <12>;
103 drive-strength = <2>;
109 serial_0_pins: serial0_pinmux {
111 pins = "gpio16", "gpio17";
112 function = "blsp_uart0";
117 serial_1_pins: serial1_pinmux {
119 pins = "gpio8", "gpio9", "gpio10", "gpio11";
120 function = "blsp_uart1";
125 i2c_0_pins: i2c_0_pinmux {
127 pins = "gpio20", "gpio21";
128 function = "blsp_i2c0";
133 i2c_1_pins: i2c_1_pinmux {
135 pins = "gpio34", "gpio35";
136 function = "blsp_i2c1";
141 sd_0_pins: sd_0_pinmux {
143 pins = "gpio23", "gpio24", "gpio25", "gpio26", "gpio29", "gpio30", "gpio31", "gpio32";
145 drive-strength = <10>;
152 drive-strength = <2>;
159 drive-strength = <10>;
165 mdio_pins: mdio_pinmux {
184 wifi1_1_pins: wifi2_pinmux {
197 pinctrl-0 = <&i2c_0_pins>;
198 pinctrl-names = "default";
202 compatible = "infineon,slb9645tt";
204 powered-while-suspended;
209 pinctrl-0 = <&i2c_1_pins>;
210 pinctrl-names = "default";
214 #address-cells = <1>;
216 compatible = "national,lp5523";
218 clock-mode = /bits/ 8 <1>;
223 chan-name = "LED0_Red";
224 led-cur = /bits/ 8 <0x64>;
225 max-cur = /bits/ 8 <0x78>;
226 color = <LED_COLOR_ID_RED>;
231 chan-name = "LED0_Green";
232 led-cur = /bits/ 8 <0x64>;
233 max-cur = /bits/ 8 <0x78>;
234 color = <LED_COLOR_ID_GREEN>;
239 chan-name = "LED0_Blue";
240 led-cur = /bits/ 8 <0x64>;
241 max-cur = /bits/ 8 <0x78>;
242 color = <LED_COLOR_ID_BLUE>;
246 * openwrt isn't ready to handle multi-intensity leds yet
247 * # echo 255 255 255 > /sys/class/leds/tricolor/multi_intensity
248 * # echo 255 > /sys/class/leds/tricolor/brightness
252 color = <LED_COLOR_ID_RGB>;
253 #address-cells = <1>;
258 chan-name = "tricolor";
259 led-cur = /bits/ 8 <0x64>;
260 max-cur = /bits/ 8 <0x78>;
261 color = <LED_COLOR_ID_RED>;
266 chan-name = "tricolor";
267 led-cur = /bits/ 8 <0x64>;
268 max-cur = /bits/ 8 <0x78>;
269 color = <LED_COLOR_ID_GREEN>;
274 chan-name = "tricolor";
275 led-cur = /bits/ 8 <0x64>;
276 max-cur = /bits/ 8 <0x78>;
277 color = <LED_COLOR_ID_BLUE>;
285 pinctrl-0 = <&spi_0_pins>;
286 pinctrl-names = "default";
288 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
291 compatible = "jedec,spi-nor";
293 spi-max-frequency = <24000000>;
298 pinctrl-0 = <&spi_1_pins>;
299 pinctrl-names = "default";
301 cs-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
304 * This "spidev" was included in the manufacturer device tree. I
305 * suspect it's the (unused; and removed from later HW spins) Zigbee
306 * radio -- SiliconLabs EM3581 Zigbee? There's no driver or binding for
307 * this at the moment.
310 compatible = "spidev";
312 spi-max-frequency = <24000000>;
317 pinctrl-0 = <&serial_0_pins>;
318 pinctrl-names = "default";
323 pinctrl-0 = <&serial_1_pins>;
324 pinctrl-names = "default";
330 pinctrl-0 = <&mdio_pins>;
331 pinctrl-names = "default";
340 pinctrl-0 = <&sd_0_pins>;
341 pinctrl-names = "default";
342 clock-frequency = <192000000>;
343 vqmmc-supply = <&vqmmc>;
377 qcom,ath10k-calibration-variant = "GO_GALE";
382 pinctrl-0 = <&wifi1_1_pins>;
383 pinctrl-names = "default";
384 qcom,ath10k-calibration-variant = "GO_GALE";