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/soc/qcom,tcsr.h>
15 serial0 = &gsbi4_serial;
19 stdout-path = "serial0:115200n8";
28 reg = <0x41200000 0x300000>;
34 compatible = "virtual,mdio-gpio";
37 gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH>,
38 <&qcom_pinmux 0 GPIO_ACTIVE_HIGH>;
39 pinctrl-0 = <&mdio_pins>;
40 pinctrl-names = "default";
42 phy0: ethernet-phy@0 {
44 qca,ar8327-initvals = <
45 0x00004 0x7600000 /* PAD0_MODE */
46 0x00008 0x1000000 /* PAD5_MODE */
47 0x0000c 0x80 /* PAD6_MODE */
48 0x000e4 0xaa545 /* MAC_POWER_SEL */
49 0x000e0 0xc74164de /* SGMII_CTRL */
50 0x0007c 0x4e /* PORT0_STATUS */
51 0x00094 0x4e /* PORT6_STATUS */
55 phy1: ethernet-phy@1 {
66 compatible = "google,storm-audio";
67 qcom,model = "ipq806x-storm";
72 lpass: lpass@28100000 {
74 pinctrl-names = "default", "idle";
75 pinctrl-0 = <&mi2s_default>;
76 pinctrl-1 = <&mi2s_idle>;
79 max98357a: max98357a {
80 compatible = "maxim,max98357a";
81 #sound-dai-cells = <1>;
82 pinctrl-names = "default";
83 pinctrl-0 = <&sdmode_pins>;
84 sdmode-gpios = <&qcom_pinmux 25 GPIO_ACTIVE_HIGH>;
90 rgmii0_pins: rgmii0_pins {
92 pins = "gpio2", "gpio66";
98 mi2s_default: mi2s_default {
102 drive-strength = <16>;
108 drive-strength = <16>;
114 drive-strength = <16>;
118 mi2s_idle: mi2s_idle {
122 drive-strength = <2>;
128 drive-strength = <2>;
134 drive-strength = <2>;
140 mdio_pins: mdio_pins {
142 pins = "gpio0", "gpio1";
144 drive-strength = <8>;
153 sdmode_pins: sdmode_pinmux {
156 drive-strength = <16>;
160 sdcc1_pins: sdcc1_pinmux {
162 pins = "gpio38", "gpio39", "gpio40",
163 "gpio41", "gpio42", "gpio43",
164 "gpio44", "gpio45", "gpio46",
170 drive-strength = <10>;
174 pins = "gpio38", "gpio39", "gpio40",
175 "gpio41", "gpio43", "gpio44",
177 drive-strength = <10>;
182 drive-strength = <16>;
187 i2c1_pins: i2c1_pinmux {
188 pins = "gpio53", "gpio54";
193 rpm_i2c_pinmux: rpm_i2c_pinmux {
195 pins = "gpio12", "gpio13";
197 drive-strength = <12>;
204 pins = "gpio18", "gpio19", "gpio21";
207 /delete-property/ bias-none;
208 /delete-property/ drive-strength;
211 pins = "gpio18", "gpio19";
212 drive-strength = <10>;
216 drive-strength = <10>;
221 drive-strength = <12>;
240 spi6_pins: spi6_pins {
242 pins = "gpio55", "gpio56", "gpio58";
247 pins = "gpio55", "gpio56";
248 drive-strength = <10>;
252 drive-strength = <10>;
258 drive-strength = <12>;
267 phy-handle = <&phy1>;
269 pinctrl-0 = <&rgmii0_pins>;
270 pinctrl-names = "default";
282 phy-handle = <&phy0>;
292 qcom,mode = <GSBI_PROT_I2C_UART>;
298 clock-frequency = <100000>;
300 pinctrl-0 = <&i2c1_pins>;
301 pinctrl-names = "default";
304 compatible = "infineon,slb9645tt";
306 powered-while-suspended;
312 qcom,mode = <GSBI_PROT_I2C_UART>;
321 qcom,mode = <GSBI_PROT_SPI>;
325 spi-max-frequency = <50000000>;
326 pinctrl-0 = <&spi_pins>;
327 pinctrl-names = "default";
329 cs-gpios = <&qcom_pinmux 20 0>;
332 compatible = "jedec,spi-nor";
333 spi-max-frequency = <50000000>;
341 qcom,mode = <GSBI_PROT_SPI>;
346 spi-max-frequency = <25000000>;
348 pinctrl-0 = <&spi6_pins>;
349 pinctrl-names = "default";
351 cs-gpios = <&qcom_pinmux 57 GPIO_ACTIVE_HIGH>;
353 dmas = <&adm_dma 8 0xb>,
355 dma-names = "rx", "tx";
358 * This "spidev" was included in the manufacturer device tree. I suspect
359 * it's the (unused) Zigbee radio -- SiliconLabs EM3581 Zigbee? There's
360 * no driver or binding for this at the moment.
363 compatible = "spidev";
365 spi-max-frequency = <25000000>;
374 #interrupt-cells = <1>;
376 #address-cells = <3>;
382 qcom,ath10k-sa-gpio = <2 3 4 0>;
383 qcom,ath10k-sa-gpio-func = <5 5 5 0>;
393 #interrupt-cells = <1>;
395 #address-cells = <3>;
401 qcom,ath10k-sa-gpio = <2 3 4 0>;
402 qcom,ath10k-sa-gpio-func = <5 5 5 0>;
412 #interrupt-cells = <1>;
414 #address-cells = <3>;
425 pinctrl-0 = <&rpm_i2c_pinmux>;
426 pinctrl-names = "default";
431 pinctrl-0 = <&sdcc1_pins>;
432 pinctrl-names = "default";
433 /delete-property/ mmc-ddr-1_8v;
437 compatible = "qcom,tcsr-ipq8064", "qcom,tcsr", "syscon";
438 qcom,usb-ctrl-select = <TCSR_USB_SELECT_USB3_DUAL>;