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;
20 stdout-path = "serial0:115200n8";
24 compatible = "simple-bus";
26 sdcc4_pwrseq: sdcc4_pwrseq {
27 pinctrl-names = "default";
28 pinctrl-0 = <&wlan_default_gpios>;
29 compatible = "mmc-pwrseq-simple";
30 reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-leds";
36 pinctrl-names = "default";
37 pinctrl-0 = <¬ify_led>;
40 label = "apq8064:green:user1";
41 gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
48 card_detect: card_detect {
56 pcie_pins: pcie_pinmux {
63 drive-strength = <12>;
71 vin_lvs1_3_6-supply = <&pm8921_s4>;
72 vin_lvs2-supply = <&pm8921_s1>;
73 vin_lvs4_5_7-supply = <&pm8921_s4>;
75 vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
76 vdd_l24-supply = <&pm8921_s1>;
77 vdd_l25-supply = <&pm8921_s1>;
78 vdd_l26-supply = <&pm8921_s7>;
79 vdd_l27-supply = <&pm8921_s7>;
80 vdd_l28-supply = <&pm8921_s7>;
86 regulator-min-microvolt = <1225000>;
87 regulator-max-microvolt = <1225000>;
88 qcom,switch-mode-frequency = <3200000>;
93 regulator-min-microvolt = <1000000>;
94 regulator-max-microvolt = <1400000>;
95 qcom,switch-mode-frequency = <4800000>;
99 regulator-min-microvolt = <1800000>;
100 regulator-max-microvolt = <1800000>;
101 qcom,switch-mode-frequency = <3200000>;
105 regulator-min-microvolt = <1300000>;
106 regulator-max-microvolt = <1300000>;
107 qcom,switch-mode-frequency = <3200000>;
111 regulator-min-microvolt = <3050000>;
112 regulator-max-microvolt = <3300000>;
117 regulator-min-microvolt = <1000000>;
118 regulator-max-microvolt = <1800000>;
123 regulator-min-microvolt = <2750000>;
124 regulator-max-microvolt = <3000000>;
129 regulator-min-microvolt = <2950000>;
130 regulator-max-microvolt = <2950000>;
135 regulator-min-microvolt = <1700000>;
136 regulator-max-microvolt = <1900000>;
150 ext_3p3v: regulator-fixed@1 {
151 compatible = "regulator-fixed";
152 regulator-min-microvolt = <3300000>;
153 regulator-max-microvolt = <3300000>;
154 regulator-name = "ext_3p3v";
155 regulator-type = "voltage";
156 startup-delay-us = <0>;
157 gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
162 gsbi3: gsbi@16200000 {
164 qcom,mode = <GSBI_PROT_I2C>;
172 qcom,mode = <GSBI_PROT_I2C>;
173 /* CAM I2C MIPI-CSI connector */
181 qcom,mode = <GSBI_PROT_I2C>;
185 clock-frequency = <200000>;
188 compatible = "atmel,24c128";
196 qcom,mode = <GSBI_PROT_SPI>;
201 cs-gpios = <&tlmm_pinmux 53 0>;
207 qcom,mode = <GSBI_PROT_UART_W_FC>;
211 pinctrl-names = "default";
212 pinctrl-0 = <&gsbi6_uart_4pins>;
218 qcom,mode = <GSBI_PROT_I2C_UART>;
221 pinctrl-names = "default";
222 pinctrl-0 = <&gsbi7_uart_2pins>;
226 sata_phy0: phy@1b400000 {
230 sata0: sata@29000000 {
232 target-supply = <&pm8921_s4>;
236 usb1_phy: phy@12500000 {
238 vddcx-supply = <&pm8921_s3>;
239 v3p3-supply = <&pm8921_l3>;
240 v1p8-supply = <&pm8921_l4>;
243 usb3_phy: phy@12520000 {
245 vddcx-supply = <&pm8921_s3>;
246 v3p3-supply = <&pm8921_l3>;
247 v1p8-supply = <&pm8921_l23>;
250 usb4_phy: phy@12530000 {
252 vddcx-supply = <&pm8921_s3>;
253 v3p3-supply = <&pm8921_l3>;
254 v1p8-supply = <&pm8921_l23>;
257 gadget1: gadget@12500000 {
276 vdda-supply = <&pm8921_s3>;
277 vdda_phy-supply = <&pm8921_lvs6>;
278 vdda_refclk-supply = <&ext_3p3v>;
279 pinctrl-0 = <&pcie_pins>;
280 pinctrl-names = "default";
281 perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
287 wlan_default_gpios: wlan-gpios {
292 power-source = <PM8921_GPIO_S4>;
301 power-source = <PM8921_GPIO_S4>;
310 sdcc1: sdcc@12400000 {
312 vmmc-supply = <&pm8921_l5>;
313 vqmmc-supply = <&pm8921_s4>;
316 /* External micro SD card */
317 sdcc3: sdcc@12180000 {
319 vmmc-supply = <&pm8921_l6>;
320 pinctrl-names = "default";
321 pinctrl-0 = <&card_detect>;
322 cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
325 sdcc4: sdcc@121c0000 {
327 vmmc-supply = <&ext_3p3v>;
328 vqmmc-supply = <&pm8921_lvs1>;
329 mmc-pwrseq = <&sdcc4_pwrseq>;