xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/msm8992-bullhead-rev-101.dts (revision 3110d4ebd6c0848cf5e25890d01791bb407e2a9b)
1// SPDX-License-Identifier: GPL-2.0-only
2/* Copyright (c) 2015, LGE Inc. All rights reserved.
3 * Copyright (c) 2016, The Linux Foundation. All rights reserved.
4 */
5
6/dts-v1/;
7
8#include "msm8992.dtsi"
9
10/ {
11	model = "LG Nexus 5X";
12	compatible = "lg,bullhead", "qcom,msm8992";
13	/* required for bootloader to select correct board */
14	qcom,msm-id = <251 0>, <252 0>;
15	qcom,board-id = <0xb64 0>;
16	qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>;
17
18	aliases {
19		serial0 = &blsp1_uart2;
20	};
21
22	chosen {
23		stdout-path = "serial0:115200n8";
24	};
25
26	reserved-memory {
27		#address-cells = <2>;
28		#size-cells = <2>;
29		ranges;
30
31		ramoops@1ff00000 {
32			compatible = "ramoops";
33			reg = <0x0 0x1ff00000 0x0 0x40000>;
34			console-size = <0x10000>;
35			record-size = <0x10000>;
36			ftrace-size = <0x10000>;
37			pmsg-size = <0x20000>;
38		};
39	};
40};
41
42&blsp1_uart2 {
43	status = "okay";
44};
45
46&rpm_requests {
47	pm8994-regulators {
48		compatible = "qcom,rpm-pm8994-regulators";
49
50		vdd_l1-supply = <&pm8994_s1>;
51		vdd_l2_26_28-supply = <&pm8994_s3>;
52		vdd_l3_11-supply = <&pm8994_s3>;
53		vdd_l4_27_31-supply = <&pm8994_s3>;
54		vdd_l5_7-supply = <&pm8994_s3>;
55		vdd_l6_12_32-supply = <&pm8994_s5>;
56		vdd_l8_16_30-supply = <&vreg_vph_pwr>;
57		vdd_l9_10_18_22-supply = <&vreg_vph_pwr>;
58		vdd_l13_19_23_24-supply = <&vreg_vph_pwr>;
59		vdd_l14_15-supply = <&pm8994_s5>;
60		vdd_l17_29-supply = <&vreg_vph_pwr>;
61		vdd_l20_21-supply = <&vreg_vph_pwr>;
62		vdd_l25-supply = <&pm8994_s5>;
63		vdd_lvs1_2 = <&pm8994_s4>;
64
65		pm8994_s1: s1 {
66			regulator-min-microvolt = <800000>;
67			regulator-max-microvolt = <800000>;
68		};
69
70		pm8994_s2: s2 {
71			/* TODO */
72		};
73
74		pm8994_s3: s3 {
75			regulator-min-microvolt = <1300000>;
76			regulator-max-microvolt = <1300000>;
77		};
78
79		pm8994_s4: s4 {
80			regulator-min-microvolt = <1800000>;
81			regulator-max-microvolt = <1800000>;
82			regulator-allow-set-load;
83			regulator-system-load = <325000>;
84		};
85
86		pm8994_s5: s5 {
87			regulator-min-microvolt = <2150000>;
88			regulator-max-microvolt = <2150000>;
89		};
90
91		pm8994_s7: s7 {
92			regulator-min-microvolt = <1000000>;
93			regulator-max-microvolt = <1000000>;
94		};
95
96		pm8994_l1: l1 {
97			regulator-min-microvolt = <1000000>;
98			regulator-max-microvolt = <1000000>;
99		};
100
101		pm8994_l2: l2 {
102			regulator-min-microvolt = <1250000>;
103			regulator-max-microvolt = <1250000>;
104		};
105
106		pm8994_l3: l3 {
107			regulator-min-microvolt = <1200000>;
108			regulator-max-microvolt = <1200000>;
109		};
110
111		pm8994_l4: l4 {
112			regulator-min-microvolt = <1225000>;
113			regulator-max-microvolt = <1225000>;
114		};
115
116		pm8994_l5: l5 {
117			/* TODO */
118		};
119
120		pm8994_l6: l6 {
121			regulator-min-microvolt = <1800000>;
122			regulator-max-microvolt = <1800000>;
123		};
124
125		pm8994_l7: l7 {
126			/* TODO */
127		};
128
129		pm8994_l8: l8 {
130			regulator-min-microvolt = <1800000>;
131			regulator-max-microvolt = <1800000>;
132		};
133
134		pm8994_l9: l9 {
135			regulator-min-microvolt = <1800000>;
136			regulator-max-microvolt = <1800000>;
137		};
138
139		pm8994_l10: l10 {
140			regulator-min-microvolt = <1800000>;
141			regulator-max-microvolt = <1800000>;
142		};
143
144		pm8994_l11: l11 {
145			regulator-min-microvolt = <1200000>;
146			regulator-max-microvolt = <1200000>;
147		};
148
149		pm8994_l12: l12 {
150			regulator-min-microvolt = <1800000>;
151			regulator-max-microvolt = <1800000>;
152		};
153
154		pm8994_l13: l13 {
155			regulator-min-microvolt = <1800000>;
156			regulator-max-microvolt = <2950000>;
157		};
158
159		pm8994_l14: l14 {
160			regulator-min-microvolt = <1200000>;
161			regulator-max-microvolt = <1200000>;
162		};
163
164		pm8994_l15: l15 {
165			regulator-min-microvolt = <1800000>;
166			regulator-max-microvolt = <1800000>;
167		};
168
169		pm8994_l16: l16 {
170			regulator-min-microvolt = <2700000>;
171			regulator-max-microvolt = <2700000>;
172		};
173
174		pm8994_l17: l17 {
175			regulator-min-microvolt = <2700000>;
176			regulator-max-microvolt = <2700000>;
177		};
178
179		pm8994_l18: l18 {
180			regulator-min-microvolt = <3000000>;
181			regulator-max-microvolt = <3000000>;
182		};
183
184		pm8994_l19: l19 {
185			regulator-min-microvolt = <1800000>;
186			regulator-max-microvolt = <1800000>;
187		};
188
189		pm8994_l20: l20 {
190			regulator-min-microvolt = <2950000>;
191			regulator-max-microvolt = <2950000>;
192			regulator-always-on;
193			regulator-boot-on;
194			regulator-allow-set-load;
195			regulator-system-load = <570000>;
196		};
197
198		pm8994_l21: l21 {
199			regulator-min-microvolt = <1800000>;
200			regulator-max-microvolt = <1800000>;
201			regulator-always-on;
202		};
203
204		pm8994_l22: l22 {
205			regulator-min-microvolt = <3100000>;
206			regulator-max-microvolt = <3100000>;
207		};
208
209		pm8994_l23: l23 {
210			regulator-min-microvolt = <2800000>;
211			regulator-max-microvolt = <2800000>;
212		};
213
214		pm8994_l24: l24 {
215			regulator-min-microvolt = <3075000>;
216			regulator-max-microvolt = <3150000>;
217		};
218
219		pm8994_l25: l25 {
220			regulator-min-microvolt = <1800000>;
221			regulator-max-microvolt = <1800000>;
222		};
223
224		pm8994_l26: l26 {
225			/* TODO: value from downstream
226			regulator-min-microvolt = <987500>;
227			fails to apply */
228		};
229
230		pm8994_l27: l27 {
231			regulator-min-microvolt = <1050000>;
232			regulator-max-microvolt = <1050000>;
233		};
234
235		pm8994_l28: l28 {
236			regulator-min-microvolt = <1000000>;
237			regulator-max-microvolt = <1000000>;
238		};
239
240		pm8994_l29: l29 {
241			/* TODO: Unsupported voltage range.
242			regulator-min-microvolt = <2800000>;
243			regulator-max-microvolt = <2800000>;
244			qcom,init-voltage = <2800000>;
245			*/
246		};
247
248		pm8994_l30: l30 {
249			/* TODO: get this verified
250			regulator-min-microvolt = <1800000>;
251			regulator-max-microvolt = <1800000>;
252			qcom,init-voltage = <1800000>;
253			*/
254		};
255
256		pm8994_l31: l31 {
257			regulator-min-microvolt = <1262500>;
258			regulator-max-microvolt = <1262500>;
259		};
260
261		pm8994_l32: l32 {
262			/* TODO: get this verified
263			regulator-min-microvolt = <1800000>;
264			regulator-max-microvolt = <1800000>;
265			qcom,init-voltage = <1800000>;
266			*/
267		};
268	};
269};
270
271&sdhc_1 {
272	status = "okay";
273
274	mmc-hs400-1_8v;
275};
276