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>;
50 card_detect: card_detect {
58 pcie_pins: pcie_pinmux {
65 drive-strength = <12>;
73 vin_lvs1_3_6-supply = <&pm8921_s4>;
74 vin_lvs2-supply = <&pm8921_s1>;
75 vin_lvs4_5_7-supply = <&pm8921_s4>;
77 vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
78 vdd_l24-supply = <&pm8921_s1>;
79 vdd_l25-supply = <&pm8921_s1>;
80 vdd_l26-supply = <&pm8921_s7>;
81 vdd_l27-supply = <&pm8921_s7>;
82 vdd_l28-supply = <&pm8921_s7>;
88 regulator-min-microvolt = <1225000>;
89 regulator-max-microvolt = <1225000>;
90 qcom,switch-mode-frequency = <3200000>;
95 regulator-min-microvolt = <1000000>;
96 regulator-max-microvolt = <1400000>;
97 qcom,switch-mode-frequency = <4800000>;
101 regulator-min-microvolt = <1800000>;
102 regulator-max-microvolt = <1800000>;
103 qcom,switch-mode-frequency = <3200000>;
107 regulator-min-microvolt = <1300000>;
108 regulator-max-microvolt = <1300000>;
109 qcom,switch-mode-frequency = <3200000>;
113 regulator-min-microvolt = <1200000>;
114 regulator-max-microvolt = <1200000>;
119 regulator-min-microvolt = <3050000>;
120 regulator-max-microvolt = <3300000>;
125 regulator-min-microvolt = <1000000>;
126 regulator-max-microvolt = <1800000>;
131 regulator-min-microvolt = <2750000>;
132 regulator-max-microvolt = <3000000>;
137 regulator-min-microvolt = <2950000>;
138 regulator-max-microvolt = <2950000>;
143 regulator-min-microvolt = <1700000>;
144 regulator-max-microvolt = <1900000>;
149 regulator-min-microvolt = < 375000>;
150 regulator-max-microvolt = <1050000>;
168 ext_3p3v: regulator-fixed@1 {
169 compatible = "regulator-fixed";
170 regulator-min-microvolt = <3300000>;
171 regulator-max-microvolt = <3300000>;
172 regulator-name = "ext_3p3v";
173 regulator-type = "voltage";
174 startup-delay-us = <0>;
175 gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
180 pil_q6v4: pil@28800000 {
181 qcom,pll-supply = <&pm8921_l26>;
182 qcom,pll-uV = <1050000>;
185 hdmi: qcom,hdmi-tx@4a00000 {
187 core-vdda-supply = <&pm8921_hdmi_switch>;
188 hdmi-mux-supply = <&ext_3p3v>;
191 mdp: qcom,mdp@5100000 {
193 lvds-vccs-3p3v-supply = <&ext_3p3v>;
194 lvds-pll-vdda-supply = <&pm8921_l2>;
195 lvds-vdda-supply = <&pm8921_lvs7>;
199 remote-endpoint = <&auo_in>;
204 panel_3p3v: panel_3p3v {
205 compatible = "regulator-fixed";
206 pinctrl-0 = <&disp_en_gpios>;
207 pinctrl-names = "default";
208 regulator-min-microvolt = <3300000>;
209 regulator-max-microvolt = <3300000>;
210 regulator-name = "panel_en_3p3v";
211 regulator-type = "voltage";
212 startup-delay-us = <0>;
213 gpio = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>;
218 backlight: backlight{
219 pinctrl-0 = <&pwm_bl_gpios>;
220 pinctrl-names = "default";
221 compatible = "gpio-backlight";
222 gpios = <&pm8921_gpio 26 GPIO_ACTIVE_HIGH>;
226 panel: auo,b101xtn01 {
228 compatible = "auo,b101xtn01";
230 ddc-i2c-bus = <&gsbi3_i2c>;
231 backlight = <&backlight>;
232 power-supply = <&panel_3p3v>;
235 remote-endpoint = <&lvds_out>;
240 gsbi3: gsbi@16200000 {
242 qcom,mode = <GSBI_PROT_I2C>;
250 qcom,mode = <GSBI_PROT_I2C>;
254 clock-frequency = <200000>;
257 compatible = "atmel,24c128";
266 qcom,mode = <GSBI_PROT_UART_W_FC>;
270 pinctrl-names = "default";
271 pinctrl-0 = <&gsbi6_uart_4pins>;
277 qcom,mode = <GSBI_PROT_I2C_UART>;
280 pinctrl-names = "default";
281 pinctrl-0 = <&gsbi7_uart_2pins>;
289 sata_phy0: phy@1b400000 {
293 sata0: sata@29000000 {
295 target-supply = <&pm8921_s4>;
299 usb1_phy: phy@12500000 {
301 vddcx-supply = <&pm8921_s3>;
302 v3p3-supply = <&pm8921_l3>;
303 v1p8-supply = <&pm8921_l4>;
306 usb3_phy: phy@12520000 {
308 vddcx-supply = <&pm8921_s3>;
309 v3p3-supply = <&pm8921_l3>;
310 v1p8-supply = <&pm8921_l23>;
313 usb4_phy: phy@12530000 {
315 vddcx-supply = <&pm8921_s3>;
316 v3p3-supply = <&pm8921_l3>;
317 v1p8-supply = <&pm8921_l23>;
320 gadget1: gadget@12500000 {
339 vdda-supply = <&pm8921_s3>;
340 vdda_phy-supply = <&pm8921_lvs6>;
341 vdda_refclk-supply = <&ext_3p3v>;
342 pinctrl-0 = <&pcie_pins>;
343 pinctrl-names = "default";
344 perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
351 pwm_bl_gpios: pwm-bl-gpios {
356 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
357 power-source = <PM8921_GPIO_S4>;
361 disp_en_gpios: disp-en-gpios {
366 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
367 power-source = <PM8921_GPIO_S4>;
371 wlan_default_gpios: wlan-gpios {
376 power-source = <PM8921_GPIO_S4>;
385 power-source = <PM8921_GPIO_S4>;
394 power-source = <PM8921_GPIO_S4>;
403 sdcc1: sdcc@12400000 {
405 vmmc-supply = <&pm8921_l5>;
406 vqmmc-supply = <&pm8921_s4>;
409 /* External micro SD card */
410 sdcc3: sdcc@12180000 {
412 vmmc-supply = <&pm8921_l6>;
413 pinctrl-names = "default";
414 pinctrl-0 = <&card_detect>;
415 cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
418 sdcc4: sdcc@121c0000 {
420 vmmc-supply = <&ext_3p3v>;
421 vqmmc-supply = <&pm8921_lvs1>;
422 mmc-pwrseq = <&sdcc4_pwrseq>;
429 cpu-supply = <&saw0>;
433 cpu-supply = <&saw1>;
437 cpu-supply = <&saw2>;
441 cpu-supply = <&saw3>;