x86: Make the vdso2c compiler use the host architecture headers
[linux/fpc-iii.git] / arch / arm / boot / dts / qcom-apq8064-cm-qs600.dts
blob35f1d46edded1a7e7aea86f09fb03674a0e464e7
1 #include "qcom-apq8064-v2.0.dtsi"
2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
5 / {
6         model = "CompuLab CM-QS600";
7         compatible = "qcom,apq8064-cm-qs600", "qcom,apq8064";
9         aliases {
10                 serial0 = &gsbi7_serial;
11         };
13         chosen {
14                 stdout-path = "serial0:115200n8";
15         };
17         pwrseq {
18                 #address-cells = <1>;
19                 #size-cells = <1>;
20                 ranges;
21                 compatible = "simple-bus";
23                 sdcc4_pwrseq: sdcc4_pwrseq {
24                         pinctrl-names = "default";
25                         pinctrl-0 = <&wlan_default_gpios>;
26                         compatible = "mmc-pwrseq-simple";
27                         reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
28                 };
29         };
31         soc {
32                 pinctrl@800000 {
33                         card_detect: card_detect {
34                                 mux {
35                                         pins = "gpio26";
36                                         function = "gpio";
37                                         bias-disable;
38                                 };
39                         };
41                         pcie_pins: pcie_pinmux {
42                                 mux {
43                                         pins = "gpio27";
44                                         function = "gpio";
45                                 };
46                                 conf {
47                                         pins = "gpio27";
48                                         drive-strength = <12>;
49                                         bias-disable;
50                                 };
51                         };
52                 };
54                 rpm@108000 {
55                         regulators {
56                                 vin_lvs1_3_6-supply = <&pm8921_s4>;
57                                 vin_lvs2-supply = <&pm8921_s1>;
58                                 vin_lvs4_5_7-supply = <&pm8921_s4>;
60                                 vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
61                                 vdd_l24-supply = <&pm8921_s1>;
62                                 vdd_l25-supply = <&pm8921_s1>;
63                                 vdd_l26-supply = <&pm8921_s7>;
64                                 vdd_l27-supply = <&pm8921_s7>;
65                                 vdd_l28-supply = <&pm8921_s7>;
68                                 /* Buck SMPS */
69                                 s1 {
70                                         regulator-always-on;
71                                         regulator-min-microvolt = <1225000>;
72                                         regulator-max-microvolt = <1225000>;
73                                         qcom,switch-mode-frequency = <3200000>;
74                                         bias-pull-down;
75                                 };
77                                 s3 {
78                                         regulator-min-microvolt = <1000000>;
79                                         regulator-max-microvolt = <1400000>;
80                                         qcom,switch-mode-frequency = <4800000>;
81                                 };
83                                 s4 {
84                                         regulator-min-microvolt = <1800000>;
85                                         regulator-max-microvolt = <1800000>;
86                                         qcom,switch-mode-frequency = <3200000>;
87                                 };
89                                 s7 {
90                                         regulator-min-microvolt = <1300000>;
91                                         regulator-max-microvolt = <1300000>;
92                                         qcom,switch-mode-frequency = <3200000>;
93                                 };
95                                 l3 {
96                                         regulator-min-microvolt = <3050000>;
97                                         regulator-max-microvolt = <3300000>;
98                                         bias-pull-down;
99                                 };
101                                 l4 {
102                                         regulator-min-microvolt = <1000000>;
103                                         regulator-max-microvolt = <1800000>;
104                                         bias-pull-down;
105                                 };
107                                 l5 {
108                                         regulator-min-microvolt = <2750000>;
109                                         regulator-max-microvolt = <3000000>;
110                                         bias-pull-down;
111                                 };
113                                 l23 {
114                                         regulator-min-microvolt = <1700000>;
115                                         regulator-max-microvolt = <1900000>;
116                                         bias-pull-down;
117                                 };
119                                 pm8921_lvs6: lvs6 {
120                                         bias-pull-down;
121                                 };
123                         };
124                 };
126                 gsbi@12440000 {
127                         status = "okay";
128                         qcom,mode = <GSBI_PROT_I2C>;
130                         i2c@12460000 {
131                                 status = "okay";
132                                 clock-frequency = <200000>;
134                                 eeprom@50 {
135                                         compatible = "24c02";
136                                         reg = <0x50>;
137                                         pagesize = <32>;
138                                 };
139                         };
140                 };
142                 gsbi@16600000 {
143                         status = "ok";
144                         qcom,mode = <GSBI_PROT_I2C_UART>;
145                         serial@16640000 {
146                                 status = "ok";
147                                 pinctrl-names = "default";
148                                 pinctrl-0 = <&gsbi7_uart_2pins>;
149                         };
150                 };
152                 /* OTG */
153                 usb1_phy: phy@12500000 {
154                         status          = "okay";
155                         vddcx-supply    = <&pm8921_s3>;
156                         v3p3-supply     = <&pm8921_l3>;
157                         v1p8-supply     = <&pm8921_l4>;
158                 };
160                 usb3_phy: phy@12520000 {
161                         status          = "okay";
162                         vddcx-supply    = <&pm8921_s3>;
163                         v3p3-supply     = <&pm8921_l3>;
164                         v1p8-supply     = <&pm8921_l23>;
165                 };
167                 usb4_phy: phy@12530000 {
168                         status          = "okay";
169                         vddcx-supply    = <&pm8921_s3>;
170                         v3p3-supply     = <&pm8921_l3>;
171                         v1p8-supply     = <&pm8921_l23>;
172                 };
174                 gadget1: gadget@12500000 {
175                         status = "ok";
176                 };
178                 /* OTG */
179                 usb1: usb@12500000 {
180                         status = "ok";
181                 };
183                 usb3: usb@12520000 {
184                         status = "okay";
185                 };
187                 usb4: usb@12530000 {
188                         status = "okay";
189                 };
191                 /* on board fixed 3.3v supply */
192                 v3p3_fixed: v3p3 {
193                         compatible = "regulator-fixed";
194                         regulator-name = "PCIE V3P3";
195                         regulator-min-microvolt = <3300000>;
196                         regulator-max-microvolt = <3300000>;
197                         regulator-always-on;
198                 };
200                 qcom,ssbi@500000 {
201                         pmic@0 {
202                                 gpio@150 {
203                                         wlan_default_gpios: wlan-gpios {
204                                                 pios {
205                                                         pins = "gpio43";
206                                                         function = "normal";
207                                                         bias-disable;
208                                                         power-source = <PM8921_GPIO_S4>;
209                                                 };
210                                         };
211                                 };
212                         };
213                 };
215                 pci@1b500000 {
216                         status = "ok";
217                         vdda-supply = <&pm8921_s3>;
218                         vdda_phy-supply = <&pm8921_lvs6>;
219                         vdda_refclk-supply = <&v3p3_fixed>;
220                         pinctrl-0 = <&pcie_pins>;
221                         pinctrl-names = "default";
222                         perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
223                 };
225                 amba {
226                         /* eMMC */
227                         sdcc1: sdcc@12400000 {
228                                 status = "okay";
229                                 vmmc-supply = <&pm8921_l5>;
230                                 vqmmc-supply = <&pm8921_s4>;
231                         };
233                         /* External micro SD card */
234                         sdcc3: sdcc@12180000 {
235                                 status = "okay";
236                                 vmmc-supply = <&v3p3_fixed>;
237                                 pinctrl-names   = "default";
238                                 pinctrl-0       = <&card_detect>;
239                                 cd-gpios        = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
240                         };
241                         /* WLAN */
242                         sdcc4: sdcc@121c0000 {
243                                 status = "okay";
244                                 vmmc-supply = <&v3p3_fixed>;
245                                 vqmmc-supply = <&v3p3_fixed>;
246                                 mmc-pwrseq = <&sdcc4_pwrseq>;
247                         };
248                 };
249         };