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 = "CompuLab CM-QS600";
8 compatible = "qcom,apq8064-cm-qs600", "qcom,apq8064";
11 serial0 = &gsbi7_serial;
15 stdout-path = "serial0:115200n8";
22 compatible = "simple-bus";
24 sdcc4_pwrseq: sdcc4_pwrseq {
25 pinctrl-names = "default";
26 pinctrl-0 = <&wlan_default_gpios>;
27 compatible = "mmc-pwrseq-simple";
28 reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
34 card_detect: card_detect {
42 pcie_pins: pcie_pinmux {
49 drive-strength = <12>;
57 vin_lvs1_3_6-supply = <&pm8921_s4>;
58 vin_lvs2-supply = <&pm8921_s1>;
59 vin_lvs4_5_7-supply = <&pm8921_s4>;
61 vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
62 vdd_l24-supply = <&pm8921_s1>;
63 vdd_l25-supply = <&pm8921_s1>;
64 vdd_l26-supply = <&pm8921_s7>;
65 vdd_l27-supply = <&pm8921_s7>;
66 vdd_l28-supply = <&pm8921_s7>;
72 regulator-min-microvolt = <1225000>;
73 regulator-max-microvolt = <1225000>;
74 qcom,switch-mode-frequency = <3200000>;
79 regulator-min-microvolt = <1000000>;
80 regulator-max-microvolt = <1400000>;
81 qcom,switch-mode-frequency = <4800000>;
85 regulator-min-microvolt = <1800000>;
86 regulator-max-microvolt = <1800000>;
87 qcom,switch-mode-frequency = <3200000>;
91 regulator-min-microvolt = <1300000>;
92 regulator-max-microvolt = <1300000>;
93 qcom,switch-mode-frequency = <3200000>;
97 regulator-min-microvolt = <3050000>;
98 regulator-max-microvolt = <3300000>;
103 regulator-min-microvolt = <1000000>;
104 regulator-max-microvolt = <1800000>;
109 regulator-min-microvolt = <2750000>;
110 regulator-max-microvolt = <3000000>;
115 regulator-min-microvolt = <1700000>;
116 regulator-max-microvolt = <1900000>;
129 qcom,mode = <GSBI_PROT_I2C>;
133 clock-frequency = <200000>;
136 compatible = "24c02";
145 qcom,mode = <GSBI_PROT_I2C_UART>;
148 pinctrl-names = "default";
149 pinctrl-0 = <&gsbi7_uart_2pins>;
159 v3p3-supply = <&pm8921_l3>;
160 v1p8-supply = <&pm8921_l4>;
170 v3p3-supply = <&pm8921_l3>;
171 v1p8-supply = <&pm8921_l23>;
181 v3p3-supply = <&pm8921_l3>;
182 v1p8-supply = <&pm8921_l23>;
187 /* on board fixed 3.3v supply */
189 compatible = "regulator-fixed";
190 regulator-name = "PCIE V3P3";
191 regulator-min-microvolt = <3300000>;
192 regulator-max-microvolt = <3300000>;
199 wlan_default_gpios: wlan-gpios {
204 power-source = <PM8921_GPIO_S4>;
213 vdda-supply = <&pm8921_s3>;
214 vdda_phy-supply = <&pm8921_lvs6>;
215 vdda_refclk-supply = <&v3p3_fixed>;
216 pinctrl-0 = <&pcie_pins>;
217 pinctrl-names = "default";
218 perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
223 sdcc1: sdcc@12400000 {
225 vmmc-supply = <&pm8921_l5>;
226 vqmmc-supply = <&pm8921_s4>;
229 /* External micro SD card */
230 sdcc3: sdcc@12180000 {
232 vmmc-supply = <&v3p3_fixed>;
233 pinctrl-names = "default";
234 pinctrl-0 = <&card_detect>;
235 cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
238 sdcc4: sdcc@121c0000 {
240 vmmc-supply = <&v3p3_fixed>;
241 vqmmc-supply = <&v3p3_fixed>;
242 mmc-pwrseq = <&sdcc4_pwrseq>;