1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2016-2022, AngeloGioacchino Del Regno
4 * <angelogioacchino.delregno@somainline.org>
5 * Copyright (c) 2022, Konrad Dybcio <konrad.dybcio@somainline.org>
6 * Copyright (c) 2022, Marijn Suijten <marijn.suijten@somainline.org>
9 #include "msm8956.dtsi"
11 #include "pm8004.dtsi"
12 #include "pm8950.dtsi"
13 #include "pmi8950.dtsi"
16 qcom,msm-id = <266 0x10001>; /* MSM8956 v1.1 */
17 qcom,board-id = <8 0>;
20 mmc0 = &sdhc_1; /* SDC1 eMMC slot */
21 mmc1 = &sdhc_2; /* SDC2 SD card slot */
22 mmc2 = &sdhc_3; /* SDC3 SDIO card slot */
23 serial0 = &blsp2_uart2;
27 stdout-path = "serial0:115200n8";
31 cont-splash@83000000 {
32 reg = <0x0 0x83000000 0x0 0x2800000>;
36 compatible = "ramoops";
37 reg = <0 0x57f00000 0 0x100000>;
38 record-size = <0x20000>;
39 console-size = <0x40000>;
40 ftrace-size = <0x20000>;
41 pmsg-size = <0x20000>;
46 usbphy_1p2: regulator-usbphy-1p2 {
47 compatible = "regulator-fixed";
48 regulator-name = "usbphy-1p2";
51 regulator-min-microvolt = <1200000>;
52 regulator-max-microvolt = <1200000>;
53 vin-supply = <&vph_pwr>;
56 vph_pwr: regulator-vph-pwr {
57 compatible = "regulator-fixed";
58 regulator-name = "vph-pwr";
67 /* Synaptics RMI4 @ 2c */
75 vdd_gfx-supply = <&pm8004_s5>;
82 &pm8004_spmi_regulators {
83 vdd_s2-supply = <&vph_pwr>;
84 vdd_s5-supply = <&vph_pwr>;
86 /* Cluster 1 supply */
88 /* regulator-min-microvolt = <500000>; */
89 /* Set .95V to prevent unstabilities until CPR for this SoC is done */
90 regulator-min-microvolt = <950000>;
91 regulator-max-microvolt = <1165000>;
92 regulator-name = "vdd_apc1";
93 /* Set always on until the CPU PLL is done */
99 regulator-min-microvolt = <950000>;
100 regulator-max-microvolt = <1165000>;
101 regulator-enable-ramp-delay = <500>;
102 regulator-name = "vdd_gfx";
103 /* Hack this on until the gpu driver is ready for it */
108 &pm8950_spmi_regulators {
109 vdd_s5-supply = <&vph_pwr>;
111 /* Cluster 0 supply */
113 /* Set .95V to prevent unstabilities until CPR for this SoC is done */
114 /* regulator-min-microvolt = <790000>; */
115 regulator-min-microvolt = <950000>;
116 regulator-max-microvolt = <1165000>;
117 regulator-name = "vdd_apc0";
118 /* Set always on until the CPU PLL is done */
125 pm8950_regulators: regulators {
126 compatible = "qcom,rpm-pm8950-regulators";
128 vdd_s1-supply = <&vph_pwr>;
129 vdd_s2-supply = <&vph_pwr>;
130 vdd_s3-supply = <&vph_pwr>;
131 vdd_s4-supply = <&vph_pwr>;
132 vdd_s6-supply = <&vph_pwr>;
133 vdd_l1_l19-supply = <&pm8950_s3>;
134 vdd_l2_l23-supply = <&pm8950_s3>;
135 vdd_l3-supply = <&pm8950_s3>;
136 vdd_l5_l6_l7_l16-supply = <&pm8950_s4>;
137 vdd_l8_l11_l12_l17_l22-supply = <&vph_pwr>;
140 regulator-min-microvolt = <1000000>;
141 regulator-max-microvolt = <1162500>;
145 regulator-min-microvolt = <1325000>;
146 regulator-max-microvolt = <1325000>;
151 regulator-min-microvolt = <1800000>;
152 regulator-max-microvolt = <1800000>;
157 regulator-min-microvolt = <900000>;
158 regulator-max-microvolt = <1100000>;
162 regulator-min-microvolt = <1200000>;
163 regulator-max-microvolt = <1200000>;
167 regulator-min-microvolt = <1000000>;
168 regulator-max-microvolt = <1200000>;
172 regulator-min-microvolt = <1800000>;
173 regulator-max-microvolt = <1800000>;
174 regulator-system-load = <290000>;
175 regulator-allow-set-load;
179 regulator-min-microvolt = <1800000>;
180 regulator-max-microvolt = <1800000>;
184 regulator-min-microvolt = <1800000>;
185 regulator-max-microvolt = <1800000>;
189 regulator-min-microvolt = <2900000>;
190 regulator-max-microvolt = <2900000>;
191 regulator-system-load = <130000>;
192 regulator-allow-set-load;
196 regulator-min-microvolt = <2000000>;
197 regulator-max-microvolt = <2400000>;
201 regulator-min-microvolt = <2500000>;
202 regulator-max-microvolt = <2900000>;
206 regulator-min-microvolt = <2950000>;
207 regulator-max-microvolt = <2950000>;
208 regulator-system-load = <60000>;
209 regulator-allow-set-load;
213 regulator-min-microvolt = <1800000>;
214 regulator-max-microvolt = <2950000>;
215 regulator-system-load = <100000>;
216 regulator-allow-set-load;
220 regulator-min-microvolt = <3075000>;
221 regulator-max-microvolt = <3075000>;
225 regulator-min-microvolt = <1800000>;
226 regulator-max-microvolt = <3300000>;
230 regulator-min-microvolt = <1800000>;
231 regulator-max-microvolt = <3300000>;
235 regulator-min-microvolt = <1800000>;
236 regulator-max-microvolt = <1800000>;
240 regulator-min-microvolt = <2500000>;
241 regulator-max-microvolt = <2900000>;
245 regulator-min-microvolt = <3000000>;
246 regulator-max-microvolt = <3000000>;
250 regulator-min-microvolt = <1200000>;
251 regulator-max-microvolt = <1200000>;
257 /* Toshiba THGBMHG8C4LBAU7 (032G34) */
260 vmmc-supply = <&pm8950_l8>;
261 vqmmc-supply = <&pm8950_l5>;
267 cd-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>;
268 vmmc-supply = <&pm8950_l11>;
269 vqmmc-supply = <&pm8950_l12>;
274 gpio-reserved-ranges = <0 4>;
278 vdd-supply = <&usbphy_1p2>;
279 vdda1p8-supply = <&pm8950_l7>;
280 vdda3p3-supply = <&pm8950_l13>;
285 clock-frequency = <19200000>;