]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
ARM: dts: ifc6410: enable q6 dsp node
[karo-tx-linux.git] / arch / arm / boot / dts / qcom-apq8064-ifc6410.dts
index 11ac608b6d50e716e6fc2aabf47839ce1b871d96..5b6d7072acb651f166447a353671c94cf59995fc 100644 (file)
 
                sdcc4_pwrseq: sdcc4_pwrseq {
                        pinctrl-names = "default";
-                       pinctrl-0 = <&wlan_default_gpios>;
+                       pinctrl-0 = <&wlan_default_gpios &bt_gpios>;
                        compatible = "mmc-pwrseq-simple";
-                       reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
+                       reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>,
+                                     <&pm8921_gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
 
                };
        };
 
+       smd {
+               q6@1 {
+                       status = "okay";
+               };
+       };
+
        soc {
                pinctrl@800000 {
                        card_detect: card_detect {
                                        bias-disable;
                                };
                        };
+
+                       pcie_pins: pcie_pinmux {
+                               mux {
+                                       pins = "gpio27";
+                                       function = "gpio";
+                               };
+                               conf {
+                                       pins = "gpio27";
+                                       drive-strength = <12>;
+                                       bias-disable;
+                               };
+                       };
                };
 
                rpm@108000 {
@@ -64,7 +83,7 @@
 
 
                                /* Buck SMPS */
-                               pm8921_s1: s1 {
+                               s1 {
                                        regulator-always-on;
                                        regulator-min-microvolt = <1225000>;
                                        regulator-max-microvolt = <1225000>;
                                        bias-pull-down;
                                };
 
-                               pm8921_s3: s3 {
+                               s3 {
                                        regulator-min-microvolt = <1000000>;
                                        regulator-max-microvolt = <1400000>;
                                        qcom,switch-mode-frequency = <4800000>;
                                };
 
-                               pm8921_s4: s4 {
+                               s4 {
                                        regulator-min-microvolt = <1800000>;
                                        regulator-max-microvolt = <1800000>;
                                        qcom,switch-mode-frequency = <3200000>;
                                };
 
-                               pm8921_s7: s7 {
+                               s7 {
                                        regulator-min-microvolt = <1300000>;
                                        regulator-max-microvolt = <1300000>;
                                        qcom,switch-mode-frequency = <3200000>;
                                };
 
-                               pm8921_l3: l3 {
+                               l2 {
+                                       regulator-min-microvolt = <1200000>;
+                                       regulator-max-microvolt = <1200000>;
+                                       bias-pull-down;
+                               };
+
+                               l3 {
                                        regulator-min-microvolt = <3050000>;
                                        regulator-max-microvolt = <3300000>;
                                        bias-pull-down;
                                };
 
-                               pm8921_l4: l4 {
+                               l4 {
                                        regulator-min-microvolt = <1000000>;
                                        regulator-max-microvolt = <1800000>;
                                        bias-pull-down;
                                };
 
-                               pm8921_l5: l5 {
+                               l5 {
                                        regulator-min-microvolt = <2750000>;
                                        regulator-max-microvolt = <3000000>;
                                        bias-pull-down;
                                };
 
-                               pm8921_l6: l6 {
+                               l6 {
                                        regulator-min-microvolt = <2950000>;
                                        regulator-max-microvolt = <2950000>;
                                        bias-pull-down;
                                };
 
-                               pm8921_l23: l23 {
+                               l23 {
                                        regulator-min-microvolt = <1700000>;
                                        regulator-max-microvolt = <1900000>;
                                        bias-pull-down;
                                };
 
-                               pm8921_lvs1: lvs1 {
+                               l26 {
+                                       regulator-min-microvolt = < 375000>;
+                                       regulator-max-microvolt = <1050000>;
+                                       bias-pull-down;
+                               };
+
+                               lvs1 {
+                                       bias-pull-down;
+                               };
+
+                               lvs6 {
+                                       bias-pull-down;
+                               };
+
+                               lvs7 {
                                        bias-pull-down;
                                };
                        };
                        regulator-boot-on;
                };
 
+               pil_q6v4: pil@28800000 {
+                       qcom,pll-supply = <&pm8921_l26>;
+                       qcom,pll-uV = <1050000>;
+               };
+
+               hdmi: qcom,hdmi-tx@4a00000 {
+                       status = "okay";
+                       core-vdda-supply = <&pm8921_hdmi_switch>;
+                       hdmi-mux-supply = <&ext_3p3v>;
+               };
+
+               mdp: qcom,mdp@5100000 {
+                       status = "okay";
+                       lvds-vccs-3p3v-supply = <&ext_3p3v>;
+                       lvds-pll-vdda-supply = <&pm8921_l2>;
+                       lvds-vdda-supply = <&pm8921_lvs7>;
+                       
+                       port {
+                               lvds_out: endpoint {
+                                       remote-endpoint = <&auo_in>;
+                               };
+                       }; 
+               };
+
+               panel_3p3v: panel_3p3v {
+                       compatible = "regulator-fixed";
+                       pinctrl-0 = <&disp_en_gpios>;
+                       pinctrl-names = "default";
+                       regulator-min-microvolt = <3300000>;
+                       regulator-max-microvolt = <3300000>;
+                       regulator-name = "panel_en_3p3v";
+                       regulator-type = "voltage";
+                       startup-delay-us = <0>;
+                       gpio = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>;
+                       enable-active-high;
+                       regulator-boot-on;
+               };
+
+               backlight: backlight{
+                       pinctrl-0 = <&pwm_bl_gpios>;
+                       pinctrl-names = "default";
+                       compatible = "gpio-backlight";
+                       gpios = <&pm8921_gpio 26 GPIO_ACTIVE_HIGH>;
+                       default-on;
+               };
+
+               panel: auo,b101xtn01 {
+                       status = "okay";
+                       compatible = "auo,b101xtn01";
+
+                       ddc-i2c-bus = <&gsbi3_i2c>;
+                       backlight = <&backlight>;
+                       power-supply = <&panel_3p3v>;
+                       port {
+                               auo_in: endpoint {
+                                       remote-endpoint = <&lvds_out>;
+                               };
+                       };
+               };
+
                gsbi3: gsbi@16200000 {
                        status = "okay";
                        qcom,mode = <GSBI_PROT_I2C>;
-                       i2c3: i2c@16280000 {
+                       i2c@16280000 {
                                status = "okay";
                        };
                };
 
                gsbi@16500000 {
                        status = "ok";
-                       qcom,mode = <GSBI_PROT_I2C_UART>;
+                       qcom,mode = <GSBI_PROT_UART_W_FC>;
 
                        serial@16540000 {
                                status = "ok";
                        };
                };
 
+               adm: dma@18320000 {
+                       status = "okay";
+               };
+
                sata_phy0: phy@1b400000 {
                        status = "okay";
                };
                        status = "okay";
                };
 
+               pci@1b500000 {
+                       status = "ok";
+                       vdda-supply = <&pm8921_s3>;
+                       vdda_phy-supply = <&pm8921_lvs6>;
+                       vdda_refclk-supply = <&ext_3p3v>;
+                       pinctrl-0 = <&pcie_pins>;
+                       pinctrl-names = "default";
+                       perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
+               };
+
                qcom,ssbi@500000 {
                        pmic@0 {
                                gpio@150 {
+
+                                       pwm_bl_gpios: pwm-bl-gpios {
+                                               pios {
+                                                       pins = "gpio26";
+                                                       bias-disable;
+                                                       function = "normal";
+                                                       qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
+                                                       power-source = <PM8921_GPIO_S4>;
+                                               };
+                                       };
+
+                                       disp_en_gpios: disp-en-gpios {
+                                               pios {
+                                                       pins = "gpio36";
+                                                       bias-disable;
+                                                       function = "normal";
+                                                       qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
+                                                       power-source = <PM8921_GPIO_S4>;
+                                               };
+                                       };
+
                                        wlan_default_gpios: wlan-gpios {
                                                pios {
                                                        pins = "gpio43";
                                                };
                                        };
 
+                                       bt_gpios: bt-gpio {
+                                               pios {
+                                                       pins = "gpio44";
+                                                       function = "normal";
+                                                       bias-disable;
+                                                       power-source = <PM8921_GPIO_S4>;
+                                               };
+                                       };
+
                                        notify_led: nled {
                                                pios {
                                                        pins = "gpio18";
                };
        };
 };
+
+&CPU0 {
+       cpu-supply = <&saw0>;
+};
+
+&CPU1 {
+       cpu-supply = <&saw1>;
+};
+
+&CPU2 {
+       cpu-supply = <&saw2>;
+};
+
+&CPU3 {
+       cpu-supply = <&saw3>;
+};