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/leds/common.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
8 model = "Qualcomm APQ8064/IFC6410";
9 compatible = "qcom,apq8064-ifc6410", "qcom,apq8064";
12 serial0 = &gsbi7_serial;
13 serial1 = &gsbi6_serial;
22 stdout-path = "serial0:115200n8";
26 compatible = "simple-bus";
28 sdcc4_pwrseq: sdcc4_pwrseq {
29 pinctrl-names = "default";
30 pinctrl-0 = <&wlan_default_gpios>;
31 compatible = "mmc-pwrseq-simple";
32 reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-leds";
38 pinctrl-names = "default";
39 pinctrl-0 = <¬ify_led>;
42 label = "apq8064:green:user1";
43 color = <LED_COLOR_ID_GREEN>;
44 gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
50 compatible = "hdmi-connector";
55 remote-endpoint = <&hdmi_out>;
62 card_detect: card_detect {
70 pcie_pins: pcie_pinmux {
77 drive-strength = <12>;
85 vin_lvs1_3_6-supply = <&pm8921_s4>;
86 vin_lvs2-supply = <&pm8921_s1>;
87 vin_lvs4_5_7-supply = <&pm8921_s4>;
89 vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
90 vdd_l24-supply = <&pm8921_s1>;
91 vdd_l25-supply = <&pm8921_s1>;
92 vdd_l26-supply = <&pm8921_s7>;
93 vdd_l27-supply = <&pm8921_s7>;
94 vdd_l28-supply = <&pm8921_s7>;
100 regulator-min-microvolt = <1225000>;
101 regulator-max-microvolt = <1225000>;
102 qcom,switch-mode-frequency = <3200000>;
107 regulator-min-microvolt = <1000000>;
108 regulator-max-microvolt = <1400000>;
109 qcom,switch-mode-frequency = <4800000>;
113 regulator-min-microvolt = <1800000>;
114 regulator-max-microvolt = <1800000>;
115 qcom,switch-mode-frequency = <3200000>;
119 regulator-min-microvolt = <1300000>;
120 regulator-max-microvolt = <1300000>;
121 qcom,switch-mode-frequency = <3200000>;
125 regulator-min-microvolt = <3050000>;
126 regulator-max-microvolt = <3300000>;
131 regulator-min-microvolt = <1000000>;
132 regulator-max-microvolt = <1800000>;
137 regulator-min-microvolt = <2750000>;
138 regulator-max-microvolt = <3000000>;
143 regulator-min-microvolt = <2950000>;
144 regulator-max-microvolt = <2950000>;
149 regulator-min-microvolt = <1700000>;
150 regulator-max-microvolt = <1900000>;
164 ext_3p3v: regulator-fixed@1 {
165 compatible = "regulator-fixed";
166 regulator-min-microvolt = <3300000>;
167 regulator-max-microvolt = <3300000>;
168 regulator-name = "ext_3p3v";
169 regulator-type = "voltage";
170 startup-delay-us = <0>;
171 gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
176 gsbi3: gsbi@16200000 {
178 qcom,mode = <GSBI_PROT_I2C>;
186 qcom,mode = <GSBI_PROT_I2C>;
187 /* CAM I2C MIPI-CSI connector */
195 qcom,mode = <GSBI_PROT_I2C>;
199 clock-frequency = <200000>;
202 compatible = "atmel,24c128";
210 qcom,mode = <GSBI_PROT_SPI>;
215 cs-gpios = <&tlmm_pinmux 53 0>;
221 qcom,mode = <GSBI_PROT_UART_W_FC>;
225 pinctrl-names = "default";
226 pinctrl-0 = <&gsbi6_uart_4pins>;
232 qcom,mode = <GSBI_PROT_I2C_UART>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&gsbi7_uart_2pins>;
240 sata_phy0: phy@1b400000 {
244 sata0: sata@29000000 {
246 target-supply = <&pm8921_s4>;
255 v3p3-supply = <&pm8921_l3>;
256 v1p8-supply = <&pm8921_l4>;
266 v3p3-supply = <&pm8921_l3>;
267 v1p8-supply = <&pm8921_l23>;
277 v3p3-supply = <&pm8921_l3>;
278 v1p8-supply = <&pm8921_l23>;
285 vdda-supply = <&pm8921_s3>;
286 vdda_phy-supply = <&pm8921_lvs6>;
287 vdda_refclk-supply = <&ext_3p3v>;
288 pinctrl-0 = <&pcie_pins>;
289 pinctrl-names = "default";
290 perst-gpios = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
296 wlan_default_gpios: wlan-gpios-state {
301 power-source = <PM8921_GPIO_S4>;
305 notify_led: nled-state {
310 power-source = <PM8921_GPIO_S4>;
319 sdcc1: mmc@12400000 {
321 vmmc-supply = <&pm8921_l5>;
322 vqmmc-supply = <&pm8921_s4>;
325 /* External micro SD card */
326 sdcc3: mmc@12180000 {
328 vmmc-supply = <&pm8921_l6>;
329 pinctrl-names = "default";
330 pinctrl-0 = <&card_detect>;
331 cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
334 sdcc4: mmc@121c0000 {
336 vmmc-supply = <&ext_3p3v>;
337 vqmmc-supply = <&pm8921_lvs1>;
338 mmc-pwrseq = <&sdcc4_pwrseq>;
345 core-vdda-supply = <&pm8921_hdmi_switch>;
347 hpd-gpios = <&tlmm_pinmux 72 GPIO_ACTIVE_HIGH>;
352 remote-endpoint = <&mdp_dtv_out>;
358 remote-endpoint = <&hdmi_con>;
367 core-vdda-supply = <&pm8921_hdmi_switch>;
376 remote-endpoint = <&hdmi_in>;