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>;
47 compatible = "hdmi-connector";
52 remote-endpoint = <&hdmi_out>;
59 card_detect: card_detect {
67 pcie_pins: pcie_pinmux {
74 drive-strength = <12>;
79 hdmi_pinctrl: hdmi-pinctrl {
81 pins = "gpio70", "gpio71", "gpio72";
86 pins = "gpio70", "gpio71";
94 drive-strength = <16>;
101 vin_lvs1_3_6-supply = <&pm8921_s4>;
102 vin_lvs2-supply = <&pm8921_s1>;
103 vin_lvs4_5_7-supply = <&pm8921_s4>;
105 vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
106 vdd_l24-supply = <&pm8921_s1>;
107 vdd_l25-supply = <&pm8921_s1>;
108 vdd_l26-supply = <&pm8921_s7>;
109 vdd_l27-supply = <&pm8921_s7>;
110 vdd_l28-supply = <&pm8921_s7>;
116 regulator-min-microvolt = <1225000>;
117 regulator-max-microvolt = <1225000>;
118 qcom,switch-mode-frequency = <3200000>;
123 regulator-min-microvolt = <1000000>;
124 regulator-max-microvolt = <1400000>;
125 qcom,switch-mode-frequency = <4800000>;
129 regulator-min-microvolt = <1800000>;
130 regulator-max-microvolt = <1800000>;
131 qcom,switch-mode-frequency = <3200000>;
135 regulator-min-microvolt = <1300000>;
136 regulator-max-microvolt = <1300000>;
137 qcom,switch-mode-frequency = <3200000>;
141 regulator-min-microvolt = <3050000>;
142 regulator-max-microvolt = <3300000>;
147 regulator-min-microvolt = <1000000>;
148 regulator-max-microvolt = <1800000>;
153 regulator-min-microvolt = <2750000>;
154 regulator-max-microvolt = <3000000>;
159 regulator-min-microvolt = <2950000>;
160 regulator-max-microvolt = <2950000>;
165 regulator-min-microvolt = <1700000>;
166 regulator-max-microvolt = <1900000>;
180 ext_3p3v: regulator-fixed@1 {
181 compatible = "regulator-fixed";
182 regulator-min-microvolt = <3300000>;
183 regulator-max-microvolt = <3300000>;
184 regulator-name = "ext_3p3v";
185 regulator-type = "voltage";
186 startup-delay-us = <0>;
187 gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
192 gsbi3: gsbi@16200000 {
194 qcom,mode = <GSBI_PROT_I2C>;
202 qcom,mode = <GSBI_PROT_I2C>;
203 /* CAM I2C MIPI-CSI connector */
211 qcom,mode = <GSBI_PROT_I2C>;
215 clock-frequency = <200000>;
218 compatible = "atmel,24c128";
226 qcom,mode = <GSBI_PROT_SPI>;
231 cs-gpios = <&tlmm_pinmux 53 0>;
237 qcom,mode = <GSBI_PROT_UART_W_FC>;
241 pinctrl-names = "default";
242 pinctrl-0 = <&gsbi6_uart_4pins>;
248 qcom,mode = <GSBI_PROT_I2C_UART>;
251 pinctrl-names = "default";
252 pinctrl-0 = <&gsbi7_uart_2pins>;
256 sata_phy0: phy@1b400000 {
260 sata0: sata@29000000 {
262 target-supply = <&pm8921_s4>;
266 usb1_phy: phy@12500000 {
268 vddcx-supply = <&pm8921_s3>;
269 v3p3-supply = <&pm8921_l3>;
270 v1p8-supply = <&pm8921_l4>;
273 usb3_phy: phy@12520000 {
275 vddcx-supply = <&pm8921_s3>;
276 v3p3-supply = <&pm8921_l3>;
277 v1p8-supply = <&pm8921_l23>;
280 usb4_phy: phy@12530000 {
282 vddcx-supply = <&pm8921_s3>;
283 v3p3-supply = <&pm8921_l3>;
284 v1p8-supply = <&pm8921_l23>;
287 gadget1: gadget@12500000 {
306 vdda-supply = <&pm8921_s3>;
307 vdda_phy-supply = <&pm8921_lvs6>;
308 vdda_refclk-supply = <&ext_3p3v>;
309 pinctrl-0 = <&pcie_pins>;
310 pinctrl-names = "default";
311 perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
317 wlan_default_gpios: wlan-gpios {
322 power-source = <PM8921_GPIO_S4>;
331 power-source = <PM8921_GPIO_S4>;
340 sdcc1: sdcc@12400000 {
342 vmmc-supply = <&pm8921_l5>;
343 vqmmc-supply = <&pm8921_s4>;
346 /* External micro SD card */
347 sdcc3: sdcc@12180000 {
349 vmmc-supply = <&pm8921_l6>;
350 pinctrl-names = "default";
351 pinctrl-0 = <&card_detect>;
352 cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
355 sdcc4: sdcc@121c0000 {
357 vmmc-supply = <&ext_3p3v>;
358 vqmmc-supply = <&pm8921_lvs1>;
359 mmc-pwrseq = <&sdcc4_pwrseq>;
366 core-vdda-supply = <&pm8921_hdmi_switch>;
367 hdmi-mux-supply = <&ext_3p3v>;
369 hpd-gpios = <&tlmm_pinmux 72 GPIO_ACTIVE_HIGH>;
371 pinctrl-names = "default";
372 pinctrl-0 = <&hdmi_pinctrl>;
377 remote-endpoint = <&mdp_dtv_out>;
383 remote-endpoint = <&hdmi_con>;
392 core-vdda-supply = <&pm8921_hdmi_switch>;
401 remote-endpoint = <&hdmi_in>;