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
54 compatible = "gpio-keys";
55 pinctrl-0 = <&fw_pinmux>;
56 pinctrl-names = "default";
60 gpios = <&tlmm 57 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_RESTART>;
67 fw_pinmux: fw_pinmux {
102 spi_0_pins: spi_0_pinmux {
104 function = "blsp_spi0";
105 pins = "gpio13", "gpio14","gpio15";
112 pins = "gpio13", "gpio14","gpio15";
113 drive-strength = <12>;
118 drive-strength = <2>;
124 spi_1_pins: spi_1_pinmux {
126 function = "blsp_spi1";
127 pins = "gpio44", "gpio46","gpio47";
134 pins = "gpio44", "gpio46","gpio47";
135 drive-strength = <12>;
140 drive-strength = <2>;
146 serial_0_pins: serial0_pinmux {
148 pins = "gpio16", "gpio17";
149 function = "blsp_uart0";
154 serial_1_pins: serial1_pinmux {
156 pins = "gpio8", "gpio9", "gpio10", "gpio11";
157 function = "blsp_uart1";
162 i2c_0_pins: i2c_0_pinmux {
164 pins = "gpio20", "gpio21";
165 function = "blsp_i2c0";
170 i2c_1_pins: i2c_1_pinmux {
172 pins = "gpio34", "gpio35";
173 function = "blsp_i2c1";
178 sd_0_pins: sd_0_pinmux {
180 pins = "gpio23", "gpio24", "gpio25", "gpio26", "gpio29", "gpio30", "gpio31", "gpio32";
182 drive-strength = <10>;
189 drive-strength = <2>;
196 drive-strength = <10>;
202 mdio_pins: mdio_pinmux {
221 wifi1_1_pins: wifi2_pinmux {
234 pinctrl-0 = <&i2c_0_pins>;
235 pinctrl-names = "default";
239 compatible = "infineon,slb9645tt";
241 powered-while-suspended;
246 pinctrl-0 = <&i2c_1_pins>;
247 pinctrl-names = "default";
251 #address-cells = <1>;
253 compatible = "national,lp5523";
255 clock-mode = /bits/ 8 <1>;
260 chan-name = "LED0_Red";
261 led-cur = /bits/ 8 <0x64>;
262 max-cur = /bits/ 8 <0x78>;
263 color = <LED_COLOR_ID_RED>;
268 chan-name = "LED0_Green";
269 led-cur = /bits/ 8 <0x64>;
270 max-cur = /bits/ 8 <0x78>;
271 color = <LED_COLOR_ID_GREEN>;
276 chan-name = "LED0_Blue";
277 led-cur = /bits/ 8 <0x64>;
278 max-cur = /bits/ 8 <0x78>;
279 color = <LED_COLOR_ID_BLUE>;
283 * openwrt isn't ready to handle multi-intensity leds yet
284 * # echo 255 255 255 > /sys/class/leds/tricolor/multi_intensity
285 * # echo 255 > /sys/class/leds/tricolor/brightness
289 color = <LED_COLOR_ID_RGB>;
290 #address-cells = <1>;
295 chan-name = "tricolor";
296 led-cur = /bits/ 8 <0x64>;
297 max-cur = /bits/ 8 <0x78>;
298 color = <LED_COLOR_ID_RED>;
303 chan-name = "tricolor";
304 led-cur = /bits/ 8 <0x64>;
305 max-cur = /bits/ 8 <0x78>;
306 color = <LED_COLOR_ID_GREEN>;
311 chan-name = "tricolor";
312 led-cur = /bits/ 8 <0x64>;
313 max-cur = /bits/ 8 <0x78>;
314 color = <LED_COLOR_ID_BLUE>;
322 pinctrl-0 = <&spi_0_pins>;
323 pinctrl-names = "default";
325 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
328 compatible = "jedec,spi-nor";
330 spi-max-frequency = <24000000>;
335 pinctrl-0 = <&spi_1_pins>;
336 pinctrl-names = "default";
338 cs-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
341 * This "spidev" was included in the manufacturer device tree. I
342 * suspect it's the (unused; and removed from later HW spins) Zigbee
343 * radio -- SiliconLabs EM3581 Zigbee? There's no driver or binding for
344 * this at the moment.
347 compatible = "spidev";
349 spi-max-frequency = <24000000>;
354 pinctrl-0 = <&serial_0_pins>;
355 pinctrl-names = "default";
360 pinctrl-0 = <&serial_1_pins>;
361 pinctrl-names = "default";
371 pinctrl-0 = <&mdio_pins>;
372 pinctrl-names = "default";
381 pinctrl-0 = <&sd_0_pins>;
382 pinctrl-names = "default";
383 clock-frequency = <192000000>;
384 vqmmc-supply = <&vqmmc>;
432 qcom,ath10k-calibration-variant = "GO_GALE";
437 pinctrl-0 = <&wifi1_1_pins>;
438 pinctrl-names = "default";
439 qcom,ath10k-calibration-variant = "GO_GALE";