1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-apq8064-v2.0.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7 model = "Qualcomm APQ8064/IFC6410";
8 compatible = "qcom,apq8064-ifc6410", "qcom,apq8064";
11 serial0 = &gsbi7_serial;
12 serial1 = &gsbi6_serial;
21 stdout-path = "serial0:115200n8";
25 compatible = "simple-bus";
27 sdcc4_pwrseq: sdcc4_pwrseq {
28 pinctrl-names = "default";
29 pinctrl-0 = <&wlan_default_gpios>;
30 compatible = "mmc-pwrseq-simple";
31 reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-leds";
37 pinctrl-names = "default";
38 pinctrl-0 = <¬ify_led>;
41 label = "apq8064:green:user1";
42 gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
48 compatible = "hdmi-connector";
53 remote-endpoint = <&hdmi_out>;
60 card_detect: card_detect {
68 pcie_pins: pcie_pinmux {
75 drive-strength = <12>;
83 vin_lvs1_3_6-supply = <&pm8921_s4>;
84 vin_lvs2-supply = <&pm8921_s1>;
85 vin_lvs4_5_7-supply = <&pm8921_s4>;
87 vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
88 vdd_l24-supply = <&pm8921_s1>;
89 vdd_l25-supply = <&pm8921_s1>;
90 vdd_l26-supply = <&pm8921_s7>;
91 vdd_l27-supply = <&pm8921_s7>;
92 vdd_l28-supply = <&pm8921_s7>;
98 regulator-min-microvolt = <1225000>;
99 regulator-max-microvolt = <1225000>;
100 qcom,switch-mode-frequency = <3200000>;
105 regulator-min-microvolt = <1000000>;
106 regulator-max-microvolt = <1400000>;
107 qcom,switch-mode-frequency = <4800000>;
111 regulator-min-microvolt = <1800000>;
112 regulator-max-microvolt = <1800000>;
113 qcom,switch-mode-frequency = <3200000>;
117 regulator-min-microvolt = <1300000>;
118 regulator-max-microvolt = <1300000>;
119 qcom,switch-mode-frequency = <3200000>;
123 regulator-min-microvolt = <3050000>;
124 regulator-max-microvolt = <3300000>;
129 regulator-min-microvolt = <1000000>;
130 regulator-max-microvolt = <1800000>;
135 regulator-min-microvolt = <2750000>;
136 regulator-max-microvolt = <3000000>;
141 regulator-min-microvolt = <2950000>;
142 regulator-max-microvolt = <2950000>;
147 regulator-min-microvolt = <1700000>;
148 regulator-max-microvolt = <1900000>;
162 ext_3p3v: regulator-fixed@1 {
163 compatible = "regulator-fixed";
164 regulator-min-microvolt = <3300000>;
165 regulator-max-microvolt = <3300000>;
166 regulator-name = "ext_3p3v";
167 regulator-type = "voltage";
168 startup-delay-us = <0>;
169 gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
174 gsbi3: gsbi@16200000 {
176 qcom,mode = <GSBI_PROT_I2C>;
184 qcom,mode = <GSBI_PROT_I2C>;
185 /* CAM I2C MIPI-CSI connector */
193 qcom,mode = <GSBI_PROT_I2C>;
197 clock-frequency = <200000>;
200 compatible = "atmel,24c128";
208 qcom,mode = <GSBI_PROT_SPI>;
213 cs-gpios = <&tlmm_pinmux 53 0>;
219 qcom,mode = <GSBI_PROT_UART_W_FC>;
223 pinctrl-names = "default";
224 pinctrl-0 = <&gsbi6_uart_4pins>;
230 qcom,mode = <GSBI_PROT_I2C_UART>;
233 pinctrl-names = "default";
234 pinctrl-0 = <&gsbi7_uart_2pins>;
238 sata_phy0: phy@1b400000 {
242 sata0: sata@29000000 {
244 target-supply = <&pm8921_s4>;
253 v3p3-supply = <&pm8921_l3>;
254 v1p8-supply = <&pm8921_l4>;
264 v3p3-supply = <&pm8921_l3>;
265 v1p8-supply = <&pm8921_l23>;
275 v3p3-supply = <&pm8921_l3>;
276 v1p8-supply = <&pm8921_l23>;
283 vdda-supply = <&pm8921_s3>;
284 vdda_phy-supply = <&pm8921_lvs6>;
285 vdda_refclk-supply = <&ext_3p3v>;
286 pinctrl-0 = <&pcie_pins>;
287 pinctrl-names = "default";
288 perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
294 wlan_default_gpios: wlan-gpios {
299 power-source = <PM8921_GPIO_S4>;
308 power-source = <PM8921_GPIO_S4>;
317 sdcc1: sdcc@12400000 {
319 vmmc-supply = <&pm8921_l5>;
320 vqmmc-supply = <&pm8921_s4>;
323 /* External micro SD card */
324 sdcc3: sdcc@12180000 {
326 vmmc-supply = <&pm8921_l6>;
327 pinctrl-names = "default";
328 pinctrl-0 = <&card_detect>;
329 cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
332 sdcc4: sdcc@121c0000 {
334 vmmc-supply = <&ext_3p3v>;
335 vqmmc-supply = <&pm8921_lvs1>;
336 mmc-pwrseq = <&sdcc4_pwrseq>;
343 core-vdda-supply = <&pm8921_hdmi_switch>;
344 hdmi-mux-supply = <&ext_3p3v>;
346 hpd-gpios = <&tlmm_pinmux 72 GPIO_ACTIVE_HIGH>;
351 remote-endpoint = <&mdp_dtv_out>;
357 remote-endpoint = <&hdmi_con>;
366 core-vdda-supply = <&pm8921_hdmi_switch>;
375 remote-endpoint = <&hdmi_in>;