1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2014 The ChromiumOS Authors
6 #include "qcom-ipq8064-smb208.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/soc/qcom,tcsr.h>
16 serial0 = &gsbi4_serial;
20 stdout-path = "serial0:115200n8";
29 reg = <0x41200000 0x300000>;
35 compatible = "gpio-keys";
36 pinctrl-0 = <&button_pins>;
37 pinctrl-names = "default";
41 gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
43 debounce-interval = <60>;
49 gpios = <&qcom_pinmux 15 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_CONFIG>;
51 debounce-interval = <60>;
57 compatible = "virtual,mdio-gpio";
60 gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH>,
61 <&qcom_pinmux 0 GPIO_ACTIVE_HIGH>;
62 pinctrl-0 = <&mdio_pins>;
63 pinctrl-names = "default";
66 compatible = "qca,qca8337";
80 tx-internal-delay-ps = <1000>;
81 rx-internal-delay-ps = <1000>;
92 phy-mode = "internal";
93 phy-handle = <&phy_port1>;
99 phy-mode = "internal";
100 phy-handle = <&phy_port2>;
121 #address-cells = <1>;
141 compatible = "google,storm-audio";
142 qcom,model = "ipq806x-storm";
144 codec = <&max98357a>;
147 lpass: lpass@28100000 {
149 pinctrl-names = "default", "idle";
150 pinctrl-0 = <&mi2s_default>;
151 pinctrl-1 = <&mi2s_idle>;
154 max98357a: max98357a {
155 compatible = "maxim,max98357a";
156 #sound-dai-cells = <1>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&sdmode_pins>;
159 sdmode-gpios = <&qcom_pinmux 25 GPIO_ACTIVE_HIGH>;
165 rgmii0_pins: rgmii0_pins {
167 pins = "gpio2", "gpio66";
168 drive-strength = <8>;
173 mi2s_default: mi2s_default {
177 drive-strength = <16>;
183 drive-strength = <16>;
189 drive-strength = <16>;
193 mi2s_idle: mi2s_idle {
197 drive-strength = <2>;
203 drive-strength = <2>;
209 drive-strength = <2>;
215 mdio_pins: mdio_pins {
217 pins = "gpio0", "gpio1";
219 drive-strength = <8>;
228 sdmode_pins: sdmode_pinmux {
231 drive-strength = <16>;
235 sdcc1_pins: sdcc1_pinmux {
237 pins = "gpio38", "gpio39", "gpio40",
238 "gpio41", "gpio42", "gpio43",
239 "gpio44", "gpio45", "gpio46",
245 drive-strength = <10>;
249 pins = "gpio38", "gpio39", "gpio40",
250 "gpio41", "gpio43", "gpio44",
252 drive-strength = <10>;
257 drive-strength = <16>;
262 i2c1_pins: i2c1_pinmux {
263 pins = "gpio53", "gpio54";
268 rpm_i2c_pinmux: rpm_i2c_pinmux {
270 pins = "gpio12", "gpio13";
272 drive-strength = <12>;
279 pins = "gpio18", "gpio19", "gpio21";
282 /delete-property/ bias-none;
283 /delete-property/ drive-strength;
286 pins = "gpio18", "gpio19";
287 drive-strength = <10>;
291 drive-strength = <10>;
296 drive-strength = <12>;
307 button_pins: button_pins {
320 spi6_pins: spi6_pins {
322 pins = "gpio55", "gpio56", "gpio58";
327 pins = "gpio55", "gpio56";
328 drive-strength = <10>;
332 drive-strength = <10>;
338 drive-strength = <12>;
351 phy-handle = <&phy1>;
353 pinctrl-0 = <&rgmii0_pins>;
354 pinctrl-names = "default";
366 phy-handle = <&phy0>;
376 qcom,mode = <GSBI_PROT_I2C_UART>;
382 clock-frequency = <100000>;
384 pinctrl-0 = <&i2c1_pins>;
385 pinctrl-names = "default";
388 compatible = "infineon,slb9645tt";
390 powered-while-suspended;
396 qcom,mode = <GSBI_PROT_I2C_UART>;
405 qcom,mode = <GSBI_PROT_SPI>;
409 spi-max-frequency = <50000000>;
410 pinctrl-0 = <&spi_pins>;
411 pinctrl-names = "default";
413 cs-gpios = <&qcom_pinmux 20 0>;
416 compatible = "jedec,spi-nor";
417 spi-max-frequency = <50000000>;
425 qcom,mode = <GSBI_PROT_SPI>;
430 spi-max-frequency = <25000000>;
432 pinctrl-0 = <&spi6_pins>;
433 pinctrl-names = "default";
435 cs-gpios = <&qcom_pinmux 57 GPIO_ACTIVE_HIGH>;
437 dmas = <&adm_dma 8 0xb>,
439 dma-names = "rx", "tx";
442 * This "spidev" was included in the manufacturer device tree. I suspect
443 * it's the (unused) Zigbee radio -- SiliconLabs EM3581 Zigbee? There's
444 * no driver or binding for this at the moment.
447 compatible = "spidev";
449 spi-max-frequency = <25000000>;
458 #interrupt-cells = <1>;
460 #address-cells = <3>;
466 qcom,ath10k-sa-gpio = <2 3 4 0>;
467 qcom,ath10k-sa-gpio-func = <5 5 5 0>;
477 #interrupt-cells = <1>;
479 #address-cells = <3>;
485 qcom,ath10k-sa-gpio = <2 3 4 0>;
486 qcom,ath10k-sa-gpio-func = <5 5 5 0>;
496 #interrupt-cells = <1>;
498 #address-cells = <3>;
509 pinctrl-0 = <&rpm_i2c_pinmux>;
510 pinctrl-names = "default";
515 pinctrl-0 = <&sdcc1_pins>;
516 pinctrl-names = "default";
517 /delete-property/ mmc-ddr-1_8v;
521 compatible = "qcom,tcsr-ipq8064", "qcom,tcsr", "syscon";
522 qcom,usb-ctrl-select = <TCSR_USB_SELECT_USB3_DUAL>;