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 &bt_gpios>;
24 compatible = "mmc-pwrseq-simple";
25 reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>,
26 <&pm8921_gpio 44 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-leds";
32 pinctrl-names = "default";
33 pinctrl-0 = <¬ify_led>;
36 label = "apq8064:green:user1";
37 gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
44 card_detect: card_detect {
52 pcie_pins: pcie_pinmux {
59 drive-strength = <12>;
67 vin_lvs1_3_6-supply = <&pm8921_s4>;
68 vin_lvs2-supply = <&pm8921_s1>;
69 vin_lvs4_5_7-supply = <&pm8921_s4>;
71 vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
72 vdd_l24-supply = <&pm8921_s1>;
73 vdd_l25-supply = <&pm8921_s1>;
74 vdd_l26-supply = <&pm8921_s7>;
75 vdd_l27-supply = <&pm8921_s7>;
76 vdd_l28-supply = <&pm8921_s7>;
82 regulator-min-microvolt = <1225000>;
83 regulator-max-microvolt = <1225000>;
84 qcom,switch-mode-frequency = <3200000>;
89 regulator-min-microvolt = <1000000>;
90 regulator-max-microvolt = <1400000>;
91 qcom,switch-mode-frequency = <4800000>;
95 regulator-min-microvolt = <1800000>;
96 regulator-max-microvolt = <1800000>;
97 qcom,switch-mode-frequency = <3200000>;
101 regulator-min-microvolt = <1300000>;
102 regulator-max-microvolt = <1300000>;
103 qcom,switch-mode-frequency = <3200000>;
107 regulator-min-microvolt = <1200000>;
108 regulator-max-microvolt = <1200000>;
113 regulator-min-microvolt = <3050000>;
114 regulator-max-microvolt = <3300000>;
119 regulator-min-microvolt = <1000000>;
120 regulator-max-microvolt = <1800000>;
125 regulator-min-microvolt = <2750000>;
126 regulator-max-microvolt = <3000000>;
131 regulator-min-microvolt = <2950000>;
132 regulator-max-microvolt = <2950000>;
137 regulator-min-microvolt = <1700000>;
138 regulator-max-microvolt = <1900000>;
143 regulator-min-microvolt = < 375000>;
144 regulator-max-microvolt = <1050000>;
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 pil_q6v4: pil@28800000 {
175 qcom,pll-supply = <&pm8921_l26>;
176 qcom,pll-uV = <1050000>;
179 hdmi: qcom,hdmi-tx@4a00000 {
181 core-vdda-supply = <&pm8921_hdmi_switch>;
182 hdmi-mux-supply = <&ext_3p3v>;
185 mdp: qcom,mdp@5100000 {
187 lvds-vccs-3p3v-supply = <&ext_3p3v>;
188 lvds-pll-vdda-supply = <&pm8921_l2>;
189 lvds-vdda-supply = <&pm8921_lvs7>;
193 remote-endpoint = <&auo_in>;
198 panel_3p3v: panel_3p3v {
199 compatible = "regulator-fixed";
200 pinctrl-0 = <&disp_en_gpios>;
201 pinctrl-names = "default";
202 regulator-min-microvolt = <3300000>;
203 regulator-max-microvolt = <3300000>;
204 regulator-name = "panel_en_3p3v";
205 regulator-type = "voltage";
206 startup-delay-us = <0>;
207 gpio = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>;
212 backlight: backlight{
213 pinctrl-0 = <&pwm_bl_gpios>;
214 pinctrl-names = "default";
215 compatible = "gpio-backlight";
216 gpios = <&pm8921_gpio 26 GPIO_ACTIVE_HIGH>;
220 panel: auo,b101xtn01 {
222 compatible = "auo,b101xtn01";
224 ddc-i2c-bus = <&gsbi3_i2c>;
225 backlight = <&backlight>;
226 power-supply = <&panel_3p3v>;
229 remote-endpoint = <&lvds_out>;
234 gsbi3: gsbi@16200000 {
236 qcom,mode = <GSBI_PROT_I2C>;
244 qcom,mode = <GSBI_PROT_I2C>;
248 clock-frequency = <200000>;
251 compatible = "atmel,24c128";
260 qcom,mode = <GSBI_PROT_UART_W_FC>;
264 pinctrl-names = "default";
265 pinctrl-0 = <&gsbi6_uart_4pins>;
271 qcom,mode = <GSBI_PROT_I2C_UART>;
274 pinctrl-names = "default";
275 pinctrl-0 = <&gsbi7_uart_2pins>;
283 sata_phy0: phy@1b400000 {
287 sata0: sata@29000000 {
289 target-supply = <&pm8921_s4>;
293 usb1_phy: phy@12500000 {
295 vddcx-supply = <&pm8921_s3>;
296 v3p3-supply = <&pm8921_l3>;
297 v1p8-supply = <&pm8921_l4>;
300 usb3_phy: phy@12520000 {
302 vddcx-supply = <&pm8921_s3>;
303 v3p3-supply = <&pm8921_l3>;
304 v1p8-supply = <&pm8921_l23>;
307 usb4_phy: phy@12530000 {
309 vddcx-supply = <&pm8921_s3>;
310 v3p3-supply = <&pm8921_l3>;
311 v1p8-supply = <&pm8921_l23>;
314 gadget1: gadget@12500000 {
333 vdda-supply = <&pm8921_s3>;
334 vdda_phy-supply = <&pm8921_lvs6>;
335 vdda_refclk-supply = <&ext_3p3v>;
336 pinctrl-0 = <&pcie_pins>;
337 pinctrl-names = "default";
338 perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
345 pwm_bl_gpios: pwm-bl-gpios {
350 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
351 power-source = <PM8921_GPIO_S4>;
355 disp_en_gpios: disp-en-gpios {
360 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
361 power-source = <PM8921_GPIO_S4>;
365 wlan_default_gpios: wlan-gpios {
370 power-source = <PM8921_GPIO_S4>;
379 power-source = <PM8921_GPIO_S4>;
388 power-source = <PM8921_GPIO_S4>;
397 sdcc1: sdcc@12400000 {
399 vmmc-supply = <&pm8921_l5>;
400 vqmmc-supply = <&pm8921_s4>;
403 /* External micro SD card */
404 sdcc3: sdcc@12180000 {
406 vmmc-supply = <&pm8921_l6>;
407 pinctrl-names = "default";
408 pinctrl-0 = <&card_detect>;
409 cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
412 sdcc4: sdcc@121c0000 {
414 vmmc-supply = <&ext_3p3v>;
415 vqmmc-supply = <&pm8921_lvs1>;
416 mmc-pwrseq = <&sdcc4_pwrseq>;
423 cpu-supply = <&saw0>;
427 cpu-supply = <&saw1>;
431 cpu-supply = <&saw2>;
435 cpu-supply = <&saw3>;