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 * Copyright (c) 2021-2022, Petr Vorel <petr.vorel@gmail.com>
5 * Copyright (c) 2022, Dominik Kobinski <dominikkobinski314@gmail.com>
10 #include "msm8992.dtsi"
11 #include "pm8994.dtsi"
12 #include "pmi8994.dtsi"
14 /* cont_splash_mem has different memory mapping */
15 /delete-node/ &cont_splash_mem;
18 model = "LG Nexus 5X";
19 compatible = "lg,bullhead", "qcom,msm8992";
20 chassis-type = "handset";
22 qcom,msm-id = <251 0>, <252 0>;
23 qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>;
25 /* Bullhead firmware doesn't support PSCI */
29 serial0 = &blsp1_uart2;
33 stdout-path = "serial0:115200n8";
42 compatible = "ramoops";
43 reg = <0x0 0x1ff00000 0x0 0x40000>;
44 console-size = <0x10000>;
45 record-size = <0x10000>;
46 ftrace-size = <0x10000>;
47 pmsg-size = <0x20000>;
50 cont_splash_mem: memory@3400000 {
51 reg = <0 0x03400000 0 0xc00000>;
55 removed_region: reserved@5000000 {
56 reg = <0 0x05000000 0 0x2200000>;
67 pm8994_regulators: pm8994-regulators {
68 compatible = "qcom,rpm-pm8994-regulators";
70 vdd_l1-supply = <&pm8994_s1>;
71 vdd_l2_26_28-supply = <&pm8994_s3>;
72 vdd_l3_11-supply = <&pm8994_s3>;
73 vdd_l4_27_31-supply = <&pm8994_s3>;
74 vdd_l5_7-supply = <&pm8994_s3>;
75 vdd_l6_12_32-supply = <&pm8994_s5>;
76 vdd_l8_16_30-supply = <&vph_pwr>;
77 vdd_l9_10_18_22-supply = <&vph_pwr>;
78 vdd_l13_19_23_24-supply = <&vph_pwr>;
79 vdd_l14_15-supply = <&pm8994_s5>;
80 vdd_l17_29-supply = <&vph_pwr>;
81 vdd_l20_21-supply = <&vph_pwr>;
82 vdd_l25-supply = <&pm8994_s5>;
83 vdd_lvs1_2-supply = <&pm8994_s4>;
85 /* S1, S2, S6 and S12 are managed by RPMPD */
88 regulator-min-microvolt = <800000>;
89 regulator-max-microvolt = <800000>;
97 regulator-min-microvolt = <1300000>;
98 regulator-max-microvolt = <1300000>;
102 regulator-min-microvolt = <1800000>;
103 regulator-max-microvolt = <1800000>;
104 regulator-allow-set-load;
105 regulator-system-load = <325000>;
109 regulator-min-microvolt = <2150000>;
110 regulator-max-microvolt = <2150000>;
114 regulator-min-microvolt = <1000000>;
115 regulator-max-microvolt = <1000000>;
118 /* S8, S9, S10 and S11 - SPMI-managed VDD_APC */
121 regulator-min-microvolt = <1000000>;
122 regulator-max-microvolt = <1000000>;
126 regulator-min-microvolt = <1250000>;
127 regulator-max-microvolt = <1250000>;
131 regulator-min-microvolt = <1200000>;
132 regulator-max-microvolt = <1200000>;
136 regulator-min-microvolt = <1225000>;
137 regulator-max-microvolt = <1225000>;
140 /* L5 is inaccessible from RPM */
143 regulator-min-microvolt = <1800000>;
144 regulator-max-microvolt = <1800000>;
147 /* L7 is inaccessible from RPM */
150 regulator-min-microvolt = <1800000>;
151 regulator-max-microvolt = <1800000>;
155 regulator-min-microvolt = <1800000>;
156 regulator-max-microvolt = <1800000>;
160 regulator-min-microvolt = <1800000>;
161 regulator-max-microvolt = <1800000>;
165 regulator-min-microvolt = <1200000>;
166 regulator-max-microvolt = <1200000>;
170 regulator-min-microvolt = <1800000>;
171 regulator-max-microvolt = <1800000>;
175 regulator-min-microvolt = <1800000>;
176 regulator-max-microvolt = <2950000>;
180 regulator-min-microvolt = <1200000>;
181 regulator-max-microvolt = <1200000>;
185 regulator-min-microvolt = <1800000>;
186 regulator-max-microvolt = <1800000>;
190 regulator-min-microvolt = <2700000>;
191 regulator-max-microvolt = <2700000>;
195 regulator-min-microvolt = <2700000>;
196 regulator-max-microvolt = <2700000>;
200 regulator-min-microvolt = <3000000>;
201 regulator-max-microvolt = <3000000>;
205 regulator-min-microvolt = <1800000>;
206 regulator-max-microvolt = <1800000>;
210 regulator-min-microvolt = <2950000>;
211 regulator-max-microvolt = <2950000>;
214 regulator-allow-set-load;
215 regulator-system-load = <570000>;
219 regulator-min-microvolt = <1800000>;
220 regulator-max-microvolt = <1800000>;
225 regulator-min-microvolt = <3100000>;
226 regulator-max-microvolt = <3100000>;
230 regulator-min-microvolt = <2800000>;
231 regulator-max-microvolt = <2800000>;
235 regulator-min-microvolt = <3075000>;
236 regulator-max-microvolt = <3150000>;
240 regulator-min-microvolt = <1800000>;
241 regulator-max-microvolt = <1800000>;
245 /* TODO: value from downstream
246 regulator-min-microvolt = <987500>;
251 regulator-min-microvolt = <1050000>;
252 regulator-max-microvolt = <1050000>;
256 regulator-min-microvolt = <1000000>;
257 regulator-max-microvolt = <1000000>;
261 /* TODO: Unsupported voltage range.
262 regulator-min-microvolt = <2800000>;
263 regulator-max-microvolt = <2800000>;
264 qcom,init-voltage = <2800000>;
269 /* TODO: get this verified
270 regulator-min-microvolt = <1800000>;
271 regulator-max-microvolt = <1800000>;
272 qcom,init-voltage = <1800000>;
277 regulator-min-microvolt = <1262500>;
278 regulator-max-microvolt = <1262500>;
282 /* TODO: get this verified
283 regulator-min-microvolt = <1800000>;
284 regulator-max-microvolt = <1800000>;
285 qcom,init-voltage = <1800000>;
290 pmi8994_regulators: pmi8994-regulators {
291 compatible = "qcom,rpm-pmi8994-regulators";
293 vdd_s1-supply = <&vph_pwr>;
294 vdd_bst_byp-supply = <&vph_pwr>;
298 /* S2 & S3 - VDD_GFX */
300 pmi8994_bby: boost-bypass {};