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";
17 label-mac-device = &gmac0;
22 * rootwait: in case we're booting from slow/async USB storage.
24 bootargs-append = " rootwait";
25 stdout-path = &blsp1_uart1;
29 device_type = "memory";
30 reg = <0x80000000 0x20000000>; /* 512MB */
36 * Factory bootloader (depthcharge) will fail to boot
37 * if this exact path (soc/edma@c080000/gmac0) doesn't
44 * Factory bootloader (depthcharge) will fail to boot
45 * if this exact path (soc/edma@c080000/gmac1) doesn't
89 spi_0_pins: spi_0_pinmux {
91 function = "blsp_spi0";
92 pins = "gpio13", "gpio14","gpio15";
99 pins = "gpio13", "gpio14","gpio15";
100 drive-strength = <12>;
105 drive-strength = <2>;
111 spi_1_pins: spi_1_pinmux {
113 function = "blsp_spi1";
114 pins = "gpio44", "gpio46","gpio47";
121 pins = "gpio44", "gpio46","gpio47";
122 drive-strength = <12>;
127 drive-strength = <2>;
133 serial_0_pins: serial0_pinmux {
135 pins = "gpio16", "gpio17";
136 function = "blsp_uart0";
141 serial_1_pins: serial1_pinmux {
143 pins = "gpio8", "gpio9", "gpio10", "gpio11";
144 function = "blsp_uart1";
149 i2c_0_pins: i2c_0_pinmux {
151 pins = "gpio20", "gpio21";
152 function = "blsp_i2c0";
157 i2c_1_pins: i2c_1_pinmux {
159 pins = "gpio34", "gpio35";
160 function = "blsp_i2c1";
165 sd_0_pins: sd_0_pinmux {
167 pins = "gpio23", "gpio24", "gpio25", "gpio26", "gpio29", "gpio30", "gpio31", "gpio32";
169 drive-strength = <10>;
176 drive-strength = <2>;
183 drive-strength = <10>;
189 mdio_pins: mdio_pinmux {
208 wifi1_1_pins: wifi2_pinmux {
221 pinctrl-0 = <&i2c_0_pins>;
222 pinctrl-names = "default";
226 compatible = "infineon,slb9645tt";
228 powered-while-suspended;
233 pinctrl-0 = <&i2c_1_pins>;
234 pinctrl-names = "default";
238 #address-cells = <1>;
240 compatible = "national,lp5523";
242 clock-mode = /bits/ 8 <1>;
247 chan-name = "LED0_Red";
248 led-cur = /bits/ 8 <0x64>;
249 max-cur = /bits/ 8 <0x78>;
250 color = <LED_COLOR_ID_RED>;
255 chan-name = "LED0_Green";
256 led-cur = /bits/ 8 <0x64>;
257 max-cur = /bits/ 8 <0x78>;
258 color = <LED_COLOR_ID_GREEN>;
263 chan-name = "LED0_Blue";
264 led-cur = /bits/ 8 <0x64>;
265 max-cur = /bits/ 8 <0x78>;
266 color = <LED_COLOR_ID_BLUE>;
270 * openwrt isn't ready to handle multi-intensity leds yet
271 * # echo 255 255 255 > /sys/class/leds/tricolor/multi_intensity
272 * # echo 255 > /sys/class/leds/tricolor/brightness
276 color = <LED_COLOR_ID_RGB>;
277 #address-cells = <1>;
282 chan-name = "tricolor";
283 led-cur = /bits/ 8 <0x64>;
284 max-cur = /bits/ 8 <0x78>;
285 color = <LED_COLOR_ID_RED>;
290 chan-name = "tricolor";
291 led-cur = /bits/ 8 <0x64>;
292 max-cur = /bits/ 8 <0x78>;
293 color = <LED_COLOR_ID_GREEN>;
298 chan-name = "tricolor";
299 led-cur = /bits/ 8 <0x64>;
300 max-cur = /bits/ 8 <0x78>;
301 color = <LED_COLOR_ID_BLUE>;
309 pinctrl-0 = <&spi_0_pins>;
310 pinctrl-names = "default";
312 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
315 compatible = "jedec,spi-nor";
317 spi-max-frequency = <24000000>;
322 pinctrl-0 = <&spi_1_pins>;
323 pinctrl-names = "default";
325 cs-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
328 * This "spidev" was included in the manufacturer device tree. I
329 * suspect it's the (unused; and removed from later HW spins) Zigbee
330 * radio -- SiliconLabs EM3581 Zigbee? There's no driver or binding for
331 * this at the moment.
334 compatible = "spidev";
336 spi-max-frequency = <24000000>;
341 pinctrl-0 = <&serial_0_pins>;
342 pinctrl-names = "default";
347 pinctrl-0 = <&serial_1_pins>;
348 pinctrl-names = "default";
358 pinctrl-0 = <&mdio_pins>;
359 pinctrl-names = "default";
368 pinctrl-0 = <&sd_0_pins>;
369 pinctrl-names = "default";
370 clock-frequency = <192000000>;
371 vqmmc-supply = <&vqmmc>;
419 qcom,ath10k-calibration-variant = "GO_GALE";
424 pinctrl-0 = <&wifi1_1_pins>;
425 pinctrl-names = "default";
426 qcom,ath10k-calibration-variant = "GO_GALE";