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 */
79 spi_0_pins: spi_0_pinmux {
81 function = "blsp_spi0";
82 pins = "gpio13", "gpio14","gpio15";
89 pins = "gpio13", "gpio14","gpio15";
90 drive-strength = <12>;
101 spi_1_pins: spi_1_pinmux {
103 function = "blsp_spi1";
104 pins = "gpio44", "gpio46","gpio47";
111 pins = "gpio44", "gpio46","gpio47";
112 drive-strength = <12>;
117 drive-strength = <2>;
123 serial_0_pins: serial0_pinmux {
125 pins = "gpio16", "gpio17";
126 function = "blsp_uart0";
131 serial_1_pins: serial1_pinmux {
133 pins = "gpio8", "gpio9", "gpio10", "gpio11";
134 function = "blsp_uart1";
139 i2c_0_pins: i2c_0_pinmux {
141 pins = "gpio20", "gpio21";
142 function = "blsp_i2c0";
147 i2c_1_pins: i2c_1_pinmux {
149 pins = "gpio34", "gpio35";
150 function = "blsp_i2c1";
155 sd_0_pins: sd_0_pinmux {
157 pins = "gpio23", "gpio24", "gpio25", "gpio26", "gpio29", "gpio30", "gpio31", "gpio32";
159 drive-strength = <10>;
166 drive-strength = <2>;
173 drive-strength = <10>;
179 mdio_pins: mdio_pinmux {
198 wifi1_1_pins: wifi2_pinmux {
211 pinctrl-0 = <&i2c_0_pins>;
212 pinctrl-names = "default";
216 compatible = "infineon,slb9645tt";
218 powered-while-suspended;
223 pinctrl-0 = <&i2c_1_pins>;
224 pinctrl-names = "default";
228 #address-cells = <1>;
230 compatible = "national,lp5523";
232 clock-mode = /bits/ 8 <1>;
237 chan-name = "LED0_Red";
238 led-cur = /bits/ 8 <0x64>;
239 max-cur = /bits/ 8 <0x78>;
240 color = <LED_COLOR_ID_RED>;
245 chan-name = "LED0_Green";
246 led-cur = /bits/ 8 <0x64>;
247 max-cur = /bits/ 8 <0x78>;
248 color = <LED_COLOR_ID_GREEN>;
253 chan-name = "LED0_Blue";
254 led-cur = /bits/ 8 <0x64>;
255 max-cur = /bits/ 8 <0x78>;
256 color = <LED_COLOR_ID_BLUE>;
260 * openwrt isn't ready to handle multi-intensity leds yet
261 * # echo 255 255 255 > /sys/class/leds/tricolor/multi_intensity
262 * # echo 255 > /sys/class/leds/tricolor/brightness
266 color = <LED_COLOR_ID_RGB>;
267 #address-cells = <1>;
272 chan-name = "tricolor";
273 led-cur = /bits/ 8 <0x64>;
274 max-cur = /bits/ 8 <0x78>;
275 color = <LED_COLOR_ID_RED>;
280 chan-name = "tricolor";
281 led-cur = /bits/ 8 <0x64>;
282 max-cur = /bits/ 8 <0x78>;
283 color = <LED_COLOR_ID_GREEN>;
288 chan-name = "tricolor";
289 led-cur = /bits/ 8 <0x64>;
290 max-cur = /bits/ 8 <0x78>;
291 color = <LED_COLOR_ID_BLUE>;
299 pinctrl-0 = <&spi_0_pins>;
300 pinctrl-names = "default";
302 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
305 compatible = "jedec,spi-nor";
307 spi-max-frequency = <24000000>;
312 pinctrl-0 = <&spi_1_pins>;
313 pinctrl-names = "default";
315 cs-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
318 * This "spidev" was included in the manufacturer device tree. I
319 * suspect it's the (unused; and removed from later HW spins) Zigbee
320 * radio -- SiliconLabs EM3581 Zigbee? There's no driver or binding for
321 * this at the moment.
324 compatible = "spidev";
326 spi-max-frequency = <24000000>;
331 pinctrl-0 = <&serial_0_pins>;
332 pinctrl-names = "default";
337 pinctrl-0 = <&serial_1_pins>;
338 pinctrl-names = "default";
343 qcom,phy_mdio_addr = <4>;
344 qcom,poll_required = <1>;
345 qcom,forced_speed = <1000>;
346 qcom,forced_duplex = <1>;
351 qcom,phy_mdio_addr = <3>;
352 qcom,forced_duplex = <1>;
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>;
405 qcom,ath10k-calibration-variant = "GO_GALE";
410 pinctrl-0 = <&wifi1_1_pins>;
411 pinctrl-names = "default";
412 qcom,ath10k-calibration-variant = "GO_GALE";