xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-msm8960-samsung-expressatt.dts (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring#include <dt-bindings/input/input.h>
3*724ba675SRob Herring
4*724ba675SRob Herring#include "qcom-msm8960.dtsi"
5*724ba675SRob Herring#include <dt-bindings/reset/qcom,gcc-msm8960.h>
6*724ba675SRob Herring
7*724ba675SRob Herring/ {
8*724ba675SRob Herring	model = "Samsung Galaxy Express SGH-I437";
9*724ba675SRob Herring	compatible = "samsung,expressatt", "qcom,msm8960";
10*724ba675SRob Herring	chassis-type = "handset";
11*724ba675SRob Herring
12*724ba675SRob Herring	aliases {
13*724ba675SRob Herring		serial0 = &gsbi5_serial;
14*724ba675SRob Herring		mmc0 = &sdcc1; /* SDCC1 eMMC slot */
15*724ba675SRob Herring		mmc1 = &sdcc3; /* SDCC3 SD card slot */
16*724ba675SRob Herring	};
17*724ba675SRob Herring
18*724ba675SRob Herring	chosen {
19*724ba675SRob Herring		stdout-path = "serial0:115200n8";
20*724ba675SRob Herring	};
21*724ba675SRob Herring};
22*724ba675SRob Herring
23*724ba675SRob Herring&gsbi5 {
24*724ba675SRob Herring	qcom,mode = <GSBI_PROT_I2C_UART>;
25*724ba675SRob Herring	status = "okay";
26*724ba675SRob Herring};
27*724ba675SRob Herring
28*724ba675SRob Herring&gsbi5_serial {
29*724ba675SRob Herring	status = "okay";
30*724ba675SRob Herring};
31*724ba675SRob Herring
32*724ba675SRob Herring&sdcc1 {
33*724ba675SRob Herring	vmmc-supply = <&pm8921_l5>;
34*724ba675SRob Herring	status = "okay";
35*724ba675SRob Herring};
36*724ba675SRob Herring
37*724ba675SRob Herring&sdcc3 {
38*724ba675SRob Herring	vmmc-supply = <&pm8921_l6>;
39*724ba675SRob Herring	vqmmc-supply = <&pm8921_l7>;
40*724ba675SRob Herring	status = "okay";
41*724ba675SRob Herring};
42*724ba675SRob Herring
43*724ba675SRob Herring&gsbi1 {
44*724ba675SRob Herring	qcom,mode = <GSBI_PROT_SPI>;
45*724ba675SRob Herring	pinctrl-0 = <&spi1_default>;
46*724ba675SRob Herring	pinctrl-names = "default";
47*724ba675SRob Herring	status = "okay";
48*724ba675SRob Herring};
49*724ba675SRob Herring
50*724ba675SRob Herring&gsbi1_spi {
51*724ba675SRob Herring	status = "okay";
52*724ba675SRob Herring};
53*724ba675SRob Herring
54*724ba675SRob Herring&msmgpio {
55*724ba675SRob Herring	spi1_default: spi1-default-state {
56*724ba675SRob Herring		mosi-pins {
57*724ba675SRob Herring			pins = "gpio6";
58*724ba675SRob Herring			function = "gsbi1";
59*724ba675SRob Herring			drive-strength = <12>;
60*724ba675SRob Herring			bias-disable;
61*724ba675SRob Herring		};
62*724ba675SRob Herring
63*724ba675SRob Herring		miso-pins {
64*724ba675SRob Herring			pins = "gpio7";
65*724ba675SRob Herring			function = "gsbi1";
66*724ba675SRob Herring			drive-strength = <12>;
67*724ba675SRob Herring			bias-disable;
68*724ba675SRob Herring		};
69*724ba675SRob Herring
70*724ba675SRob Herring		cs-pins {
71*724ba675SRob Herring			pins = "gpio8";
72*724ba675SRob Herring			function = "gsbi1";
73*724ba675SRob Herring			drive-strength = <12>;
74*724ba675SRob Herring			bias-disable;
75*724ba675SRob Herring			output-low;
76*724ba675SRob Herring		};
77*724ba675SRob Herring
78*724ba675SRob Herring		clk-pins {
79*724ba675SRob Herring			pins = "gpio9";
80*724ba675SRob Herring			function = "gsbi1";
81*724ba675SRob Herring			drive-strength = <12>;
82*724ba675SRob Herring			bias-disable;
83*724ba675SRob Herring		};
84*724ba675SRob Herring	};
85*724ba675SRob Herring};
86*724ba675SRob Herring
87*724ba675SRob Herring&rpm {
88*724ba675SRob Herring	regulators {
89*724ba675SRob Herring		compatible = "qcom,rpm-pm8921-regulators";
90*724ba675SRob Herring		vin_lvs1_3_6-supply = <&pm8921_s4>;
91*724ba675SRob Herring		vin_lvs2-supply = <&pm8921_s4>;
92*724ba675SRob Herring		vin_lvs4_5_7-supply = <&pm8921_s4>;
93*724ba675SRob Herring		vdd_ncp-supply = <&pm8921_l6>;
94*724ba675SRob Herring		vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
95*724ba675SRob Herring		vdd_l21_l23_l29-supply = <&pm8921_s8>;
96*724ba675SRob Herring		vdd_l24-supply = <&pm8921_s1>;
97*724ba675SRob Herring		vdd_l25-supply = <&pm8921_s1>;
98*724ba675SRob Herring		vdd_l27-supply = <&pm8921_s7>;
99*724ba675SRob Herring		vdd_l28-supply = <&pm8921_s7>;
100*724ba675SRob Herring
101*724ba675SRob Herring		/* Buck SMPS */
102*724ba675SRob Herring		pm8921_s1: s1 {
103*724ba675SRob Herring			regulator-always-on;
104*724ba675SRob Herring			regulator-min-microvolt = <1225000>;
105*724ba675SRob Herring			regulator-max-microvolt = <1225000>;
106*724ba675SRob Herring			qcom,switch-mode-frequency = <3200000>;
107*724ba675SRob Herring			bias-pull-down;
108*724ba675SRob Herring		};
109*724ba675SRob Herring
110*724ba675SRob Herring		pm8921_s2: s2 {
111*724ba675SRob Herring			regulator-min-microvolt = <1300000>;
112*724ba675SRob Herring			regulator-max-microvolt = <1300000>;
113*724ba675SRob Herring			qcom,switch-mode-frequency = <1600000>;
114*724ba675SRob Herring			bias-pull-down;
115*724ba675SRob Herring		};
116*724ba675SRob Herring
117*724ba675SRob Herring		pm8921_s3: s3 {
118*724ba675SRob Herring			regulator-min-microvolt = <500000>;
119*724ba675SRob Herring			regulator-max-microvolt = <1150000>;
120*724ba675SRob Herring			qcom,switch-mode-frequency = <4800000>;
121*724ba675SRob Herring			bias-pull-down;
122*724ba675SRob Herring		};
123*724ba675SRob Herring
124*724ba675SRob Herring		pm8921_s4: s4 {
125*724ba675SRob Herring			regulator-always-on;
126*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
127*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
128*724ba675SRob Herring			qcom,switch-mode-frequency = <1600000>;
129*724ba675SRob Herring			bias-pull-down;
130*724ba675SRob Herring			qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>;
131*724ba675SRob Herring		};
132*724ba675SRob Herring
133*724ba675SRob Herring		pm8921_s7: s7 {
134*724ba675SRob Herring			regulator-min-microvolt = <1150000>;
135*724ba675SRob Herring			regulator-max-microvolt = <1150000>;
136*724ba675SRob Herring			qcom,switch-mode-frequency = <3200000>;
137*724ba675SRob Herring			bias-pull-down;
138*724ba675SRob Herring		};
139*724ba675SRob Herring
140*724ba675SRob Herring		pm8921_s8: s8 {
141*724ba675SRob Herring			regulator-always-on;
142*724ba675SRob Herring			regulator-min-microvolt = <2050000>;
143*724ba675SRob Herring			regulator-max-microvolt = <2050000>;
144*724ba675SRob Herring			qcom,switch-mode-frequency = <1600000>;
145*724ba675SRob Herring			bias-pull-down;
146*724ba675SRob Herring		};
147*724ba675SRob Herring
148*724ba675SRob Herring		/* PMOS LDO */
149*724ba675SRob Herring		pm8921_l1: l1 {
150*724ba675SRob Herring			regulator-always-on;
151*724ba675SRob Herring			regulator-min-microvolt = <1050000>;
152*724ba675SRob Herring			regulator-max-microvolt = <1050000>;
153*724ba675SRob Herring			bias-pull-down;
154*724ba675SRob Herring		};
155*724ba675SRob Herring
156*724ba675SRob Herring		pm8921_l2: l2 {
157*724ba675SRob Herring			regulator-min-microvolt = <1200000>;
158*724ba675SRob Herring			regulator-max-microvolt = <1200000>;
159*724ba675SRob Herring			bias-pull-down;
160*724ba675SRob Herring		};
161*724ba675SRob Herring
162*724ba675SRob Herring		pm8921_l3: l3 {
163*724ba675SRob Herring			regulator-min-microvolt = <3075000>;
164*724ba675SRob Herring			regulator-max-microvolt = <3300000>;
165*724ba675SRob Herring			bias-pull-down;
166*724ba675SRob Herring		};
167*724ba675SRob Herring
168*724ba675SRob Herring		pm8921_l4: l4 {
169*724ba675SRob Herring			regulator-always-on;
170*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
171*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
172*724ba675SRob Herring			bias-pull-down;
173*724ba675SRob Herring		};
174*724ba675SRob Herring
175*724ba675SRob Herring		pm8921_l5: l5 {
176*724ba675SRob Herring			regulator-min-microvolt = <2950000>;
177*724ba675SRob Herring			regulator-max-microvolt = <2950000>;
178*724ba675SRob Herring			bias-pull-down;
179*724ba675SRob Herring		};
180*724ba675SRob Herring
181*724ba675SRob Herring		pm8921_l6: l6 {
182*724ba675SRob Herring			regulator-min-microvolt = <2950000>;
183*724ba675SRob Herring			regulator-max-microvolt = <2950000>;
184*724ba675SRob Herring			bias-pull-down;
185*724ba675SRob Herring		};
186*724ba675SRob Herring
187*724ba675SRob Herring		pm8921_l7: l7 {
188*724ba675SRob Herring			regulator-always-on;
189*724ba675SRob Herring			regulator-min-microvolt = <1850000>;
190*724ba675SRob Herring			regulator-max-microvolt = <2950000>;
191*724ba675SRob Herring			bias-pull-down;
192*724ba675SRob Herring		};
193*724ba675SRob Herring
194*724ba675SRob Herring		pm8921_l8: l8 {
195*724ba675SRob Herring			regulator-min-microvolt = <3000000>;
196*724ba675SRob Herring			regulator-max-microvolt = <3100000>;
197*724ba675SRob Herring			bias-pull-down;
198*724ba675SRob Herring		};
199*724ba675SRob Herring
200*724ba675SRob Herring		pm8921_l9: l9 {
201*724ba675SRob Herring			regulator-min-microvolt = <2850000>;
202*724ba675SRob Herring			regulator-max-microvolt = <2850000>;
203*724ba675SRob Herring			bias-pull-down;
204*724ba675SRob Herring		};
205*724ba675SRob Herring
206*724ba675SRob Herring		pm8921_l10: l10 {
207*724ba675SRob Herring			regulator-min-microvolt = <3000000>;
208*724ba675SRob Herring			regulator-max-microvolt = <3000000>;
209*724ba675SRob Herring			bias-pull-down;
210*724ba675SRob Herring		};
211*724ba675SRob Herring
212*724ba675SRob Herring		pm8921_l11: l11 {
213*724ba675SRob Herring			regulator-min-microvolt = <2800000>;
214*724ba675SRob Herring			regulator-max-microvolt = <3300000>;
215*724ba675SRob Herring			bias-pull-down;
216*724ba675SRob Herring		};
217*724ba675SRob Herring
218*724ba675SRob Herring		pm8921_l12: l12 {
219*724ba675SRob Herring			regulator-min-microvolt = <1200000>;
220*724ba675SRob Herring			regulator-max-microvolt = <1200000>;
221*724ba675SRob Herring			bias-pull-down;
222*724ba675SRob Herring		};
223*724ba675SRob Herring
224*724ba675SRob Herring		pm8921_l14: l14 {
225*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
226*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
227*724ba675SRob Herring			bias-pull-down;
228*724ba675SRob Herring		};
229*724ba675SRob Herring
230*724ba675SRob Herring		pm8921_l15: l15 {
231*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
232*724ba675SRob Herring			regulator-max-microvolt = <2950000>;
233*724ba675SRob Herring			bias-pull-down;
234*724ba675SRob Herring		};
235*724ba675SRob Herring
236*724ba675SRob Herring		pm8921_l16: l16 {
237*724ba675SRob Herring			regulator-min-microvolt = <2800000>;
238*724ba675SRob Herring			regulator-max-microvolt = <3000000>;
239*724ba675SRob Herring			bias-pull-down;
240*724ba675SRob Herring		};
241*724ba675SRob Herring
242*724ba675SRob Herring		pm8921_l17: l17 {
243*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
244*724ba675SRob Herring			regulator-max-microvolt = <3300000>;
245*724ba675SRob Herring			bias-pull-down;
246*724ba675SRob Herring		};
247*724ba675SRob Herring
248*724ba675SRob Herring		pm8921_l18: l18 {
249*724ba675SRob Herring			regulator-min-microvolt = <1200000>;
250*724ba675SRob Herring			regulator-max-microvolt = <1500000>;
251*724ba675SRob Herring			bias-pull-down;
252*724ba675SRob Herring		};
253*724ba675SRob Herring
254*724ba675SRob Herring		pm8921_l21: l21 {
255*724ba675SRob Herring			regulator-min-microvolt = <1900000>;
256*724ba675SRob Herring			regulator-max-microvolt = <1900000>;
257*724ba675SRob Herring			bias-pull-down;
258*724ba675SRob Herring		};
259*724ba675SRob Herring
260*724ba675SRob Herring		pm8921_l22: l22 {
261*724ba675SRob Herring			regulator-min-microvolt = <2750000>;
262*724ba675SRob Herring			regulator-max-microvolt = <2750000>;
263*724ba675SRob Herring			bias-pull-down;
264*724ba675SRob Herring		};
265*724ba675SRob Herring
266*724ba675SRob Herring		pm8921_l23: l23 {
267*724ba675SRob Herring			regulator-always-on;
268*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
269*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
270*724ba675SRob Herring			bias-pull-down;
271*724ba675SRob Herring		};
272*724ba675SRob Herring
273*724ba675SRob Herring		pm8921_l24: l24 {
274*724ba675SRob Herring			regulator-min-microvolt = <750000>;
275*724ba675SRob Herring			regulator-max-microvolt = <1150000>;
276*724ba675SRob Herring			bias-pull-down;
277*724ba675SRob Herring		};
278*724ba675SRob Herring
279*724ba675SRob Herring		pm8921_l25: l25 {
280*724ba675SRob Herring			regulator-always-on;
281*724ba675SRob Herring			regulator-min-microvolt = <1225000>;
282*724ba675SRob Herring			regulator-max-microvolt = <1225000>;
283*724ba675SRob Herring			bias-pull-down;
284*724ba675SRob Herring		};
285*724ba675SRob Herring
286*724ba675SRob Herring		/* Low Voltage Switch */
287*724ba675SRob Herring		pm8921_lvs1: lvs1 {
288*724ba675SRob Herring			bias-pull-down;
289*724ba675SRob Herring		};
290*724ba675SRob Herring
291*724ba675SRob Herring		pm8921_lvs2: lvs2 {
292*724ba675SRob Herring			bias-pull-down;
293*724ba675SRob Herring		};
294*724ba675SRob Herring
295*724ba675SRob Herring		pm8921_lvs3: lvs3 {
296*724ba675SRob Herring			bias-pull-down;
297*724ba675SRob Herring		};
298*724ba675SRob Herring
299*724ba675SRob Herring		pm8921_lvs4: lvs4 {
300*724ba675SRob Herring			bias-pull-down;
301*724ba675SRob Herring		};
302*724ba675SRob Herring
303*724ba675SRob Herring		pm8921_lvs5: lvs5 {
304*724ba675SRob Herring			bias-pull-down;
305*724ba675SRob Herring		};
306*724ba675SRob Herring
307*724ba675SRob Herring		pm8921_lvs6: lvs6 {
308*724ba675SRob Herring			bias-pull-down;
309*724ba675SRob Herring		};
310*724ba675SRob Herring
311*724ba675SRob Herring		pm8921_lvs7: lvs7 {
312*724ba675SRob Herring			bias-pull-down;
313*724ba675SRob Herring		};
314*724ba675SRob Herring
315*724ba675SRob Herring		pm8921_ncp: ncp {
316*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
317*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
318*724ba675SRob Herring			qcom,switch-mode-frequency = <1600000>;
319*724ba675SRob Herring		};
320*724ba675SRob Herring	};
321*724ba675SRob Herring};
322*724ba675SRob Herring
323*724ba675SRob Herring&usb_hs1_phy {
324*724ba675SRob Herring	v3p3-supply = <&pm8921_l3>;
325*724ba675SRob Herring	v1p8-supply = <&pm8921_l4>;
326*724ba675SRob Herring};
327*724ba675SRob Herring
328*724ba675SRob Herring&usb1 {
329*724ba675SRob Herring	dr_mode = "otg";
330*724ba675SRob Herring	status = "okay";
331*724ba675SRob Herring};
332