1 #include "qcom-apq8064-v2.0.dtsi"
2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
6 model = "Qualcomm APQ8064/IFC6410";
7 compatible = "qcom,apq8064-ifc6410", "qcom,apq8064";
10 serial0 = &gsbi7_serial;
11 serial1 = &gsbi6_serial;
15 stdout-path = "serial0:115200n8";
19 compatible = "simple-bus";
21 sdcc4_pwrseq: sdcc4_pwrseq {
22 pinctrl-names = "default";
23 pinctrl-0 = <&wlan_default_gpios>;
24 compatible = "mmc-pwrseq-simple";
25 reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
30 compatible = "gpio-leds";
31 pinctrl-names = "default";
32 pinctrl-0 = <¬ify_led>;
35 label = "apq8064:green:user1";
36 gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
43 card_detect: card_detect {
51 pcie_pins: pcie_pinmux {
58 drive-strength = <12>;
66 vin_lvs1_3_6-supply = <&pm8921_s4>;
67 vin_lvs2-supply = <&pm8921_s1>;
68 vin_lvs4_5_7-supply = <&pm8921_s4>;
70 vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
71 vdd_l24-supply = <&pm8921_s1>;
72 vdd_l25-supply = <&pm8921_s1>;
73 vdd_l26-supply = <&pm8921_s7>;
74 vdd_l27-supply = <&pm8921_s7>;
75 vdd_l28-supply = <&pm8921_s7>;
81 regulator-min-microvolt = <1225000>;
82 regulator-max-microvolt = <1225000>;
83 qcom,switch-mode-frequency = <3200000>;
88 regulator-min-microvolt = <1000000>;
89 regulator-max-microvolt = <1400000>;
90 qcom,switch-mode-frequency = <4800000>;
94 regulator-min-microvolt = <1800000>;
95 regulator-max-microvolt = <1800000>;
96 qcom,switch-mode-frequency = <3200000>;
100 regulator-min-microvolt = <1300000>;
101 regulator-max-microvolt = <1300000>;
102 qcom,switch-mode-frequency = <3200000>;
106 regulator-min-microvolt = <3050000>;
107 regulator-max-microvolt = <3300000>;
112 regulator-min-microvolt = <1000000>;
113 regulator-max-microvolt = <1800000>;
118 regulator-min-microvolt = <2750000>;
119 regulator-max-microvolt = <3000000>;
124 regulator-min-microvolt = <2950000>;
125 regulator-max-microvolt = <2950000>;
130 regulator-min-microvolt = <1700000>;
131 regulator-max-microvolt = <1900000>;
145 ext_3p3v: regulator-fixed@1 {
146 compatible = "regulator-fixed";
147 regulator-min-microvolt = <3300000>;
148 regulator-max-microvolt = <3300000>;
149 regulator-name = "ext_3p3v";
150 regulator-type = "voltage";
151 startup-delay-us = <0>;
152 gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
157 gsbi3: gsbi@16200000 {
159 qcom,mode = <GSBI_PROT_I2C>;
167 qcom,mode = <GSBI_PROT_I2C>;
168 /* CAM I2C MIPI-CSI connector */
176 qcom,mode = <GSBI_PROT_I2C>;
180 clock-frequency = <200000>;
183 compatible = "atmel,24c128";
191 qcom,mode = <GSBI_PROT_SPI>;
196 cs-gpios = <&tlmm_pinmux 53 0>;
202 qcom,mode = <GSBI_PROT_UART_W_FC>;
206 pinctrl-names = "default";
207 pinctrl-0 = <&gsbi6_uart_4pins>;
213 qcom,mode = <GSBI_PROT_I2C_UART>;
216 pinctrl-names = "default";
217 pinctrl-0 = <&gsbi7_uart_2pins>;
221 sata_phy0: phy@1b400000 {
225 sata0: sata@29000000 {
227 target-supply = <&pm8921_s4>;
231 usb1_phy: phy@12500000 {
233 vddcx-supply = <&pm8921_s3>;
234 v3p3-supply = <&pm8921_l3>;
235 v1p8-supply = <&pm8921_l4>;
238 usb3_phy: phy@12520000 {
240 vddcx-supply = <&pm8921_s3>;
241 v3p3-supply = <&pm8921_l3>;
242 v1p8-supply = <&pm8921_l23>;
245 usb4_phy: phy@12530000 {
247 vddcx-supply = <&pm8921_s3>;
248 v3p3-supply = <&pm8921_l3>;
249 v1p8-supply = <&pm8921_l23>;
252 gadget1: gadget@12500000 {
271 vdda-supply = <&pm8921_s3>;
272 vdda_phy-supply = <&pm8921_lvs6>;
273 vdda_refclk-supply = <&ext_3p3v>;
274 pinctrl-0 = <&pcie_pins>;
275 pinctrl-names = "default";
276 perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
282 wlan_default_gpios: wlan-gpios {
287 power-source = <PM8921_GPIO_S4>;
296 power-source = <PM8921_GPIO_S4>;
305 sdcc1: sdcc@12400000 {
307 vmmc-supply = <&pm8921_l5>;
308 vqmmc-supply = <&pm8921_s4>;
311 /* External micro SD card */
312 sdcc3: sdcc@12180000 {
314 vmmc-supply = <&pm8921_l6>;
315 pinctrl-names = "default";
316 pinctrl-0 = <&card_detect>;
317 cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
320 sdcc4: sdcc@121c0000 {
322 vmmc-supply = <&ext_3p3v>;
323 vqmmc-supply = <&pm8921_lvs1>;
324 mmc-pwrseq = <&sdcc4_pwrseq>;