2 * Spreadtrum SC2731 PMIC dts file
4 * Copyright (C) 2018, Spreadtrum Communications Inc.
6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
11 compatible = "sprd,sc2731";
13 spi-max-frequency = <26000000>;
14 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
16 #interrupt-cells = <1>;
21 compatible = "sprd,sc2731-charger";
23 monitored-battery = <&bat>;
27 compatible = "sprd,sc2731-bltc";
49 compatible = "sprd,sc2731-rtc";
51 interrupt-parent = <&sc2731_pmic>;
56 compatible = "sprd,sc2731-eic";
58 interrupt-parent = <&sc2731_pmic>;
63 #interrupt-cells = <2>;
67 compatible = "sprd,sc2731-efuse";
71 hwlocks = <&hwlock 12>;
78 adc_big_scale: calib@24 {
82 adc_small_scale: calib@26 {
88 compatible = "sprd,sc2731-adc";
90 interrupt-parent = <&sc2731_pmic>;
92 #io-channel-cells = <1>;
93 hwlocks = <&hwlock 4>;
94 nvmem-cell-names = "big_scale_calib", "small_scale_calib";
95 nvmem-cells = <&adc_big_scale>, <&adc_small_scale>;
99 compatible = "sprd,sc2731-fgu";
101 bat-detect-gpio = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;
102 io-channels = <&pmic_adc 3>, <&pmic_adc 6>;
103 io-channel-names = "bat-temp", "charge-vol";
104 monitored-battery = <&bat>;
105 nvmem-cell-names = "fgu_calib";
106 nvmem-cells = <&fgu_calib>;
107 interrupt-parent = <&sc2731_pmic>;
112 compatible = "sprd,sc2731-vibrator";
117 compatible = "sprd,sc2731-regulator";
120 regulator-name = "vddarm0";
121 regulator-min-microvolt = <400000>;
122 regulator-max-microvolt = <1996875>;
123 regulator-ramp-delay = <25000>;
128 regulator-name = "vddarm1";
129 regulator-min-microvolt = <400000>;
130 regulator-max-microvolt = <1996875>;
131 regulator-ramp-delay = <25000>;
136 regulator-name = "dcdcrf";
137 regulator-min-microvolt = <600000>;
138 regulator-max-microvolt = <2196875>;
139 regulator-ramp-delay = <25000>;
140 regulator-enable-ramp-delay = <100>;
144 vddcama0: LDO_CAMA0 {
145 regulator-name = "vddcama0";
146 regulator-min-microvolt = <1200000>;
147 regulator-max-microvolt = <3750000>;
148 regulator-enable-ramp-delay = <100>;
151 vddcama1: LDO_CAMA1 {
152 regulator-name = "vddcama1";
153 regulator-min-microvolt = <1200000>;
154 regulator-max-microvolt = <3750000>;
155 regulator-enable-ramp-delay = <100>;
156 regulator-ramp-delay = <25000>;
159 vddcammot: LDO_CAMMOT {
160 regulator-name = "vddcammot";
161 regulator-min-microvolt = <1200000>;
162 regulator-max-microvolt = <3750000>;
163 regulator-enable-ramp-delay = <100>;
164 regulator-ramp-delay = <25000>;
168 regulator-name = "vddvldo";
169 regulator-min-microvolt = <1200000>;
170 regulator-max-microvolt = <3750000>;
171 regulator-enable-ramp-delay = <100>;
172 regulator-ramp-delay = <25000>;
175 vddemmccore: LDO_EMMCCORE {
176 regulator-name = "vddemmccore";
177 regulator-min-microvolt = <1200000>;
178 regulator-max-microvolt = <3750000>;
179 regulator-enable-ramp-delay = <100>;
180 regulator-ramp-delay = <25000>;
184 vddsdcore: LDO_SDCORE {
185 regulator-name = "vddsdcore";
186 regulator-min-microvolt = <1200000>;
187 regulator-max-microvolt = <3750000>;
188 regulator-enable-ramp-delay = <100>;
189 regulator-ramp-delay = <25000>;
193 regulator-name = "vddsdio";
194 regulator-min-microvolt = <1200000>;
195 regulator-max-microvolt = <3750000>;
196 regulator-enable-ramp-delay = <100>;
197 regulator-ramp-delay = <25000>;
200 vddwifipa: LDO_WIFIPA {
201 regulator-name = "vddwifipa";
202 regulator-min-microvolt = <1200000>;
203 regulator-max-microvolt = <3750000>;
204 regulator-enable-ramp-delay = <100>;
205 regulator-ramp-delay = <25000>;
208 vddusb33: LDO_USB33 {
209 regulator-name = "vddusb33";
210 regulator-min-microvolt = <1200000>;
211 regulator-max-microvolt = <3750000>;
212 regulator-enable-ramp-delay = <100>;
213 regulator-ramp-delay = <25000>;
216 vddcamd0: LDO_CAMD0 {
217 regulator-name = "vddcamd0";
218 regulator-min-microvolt = <1000000>;
219 regulator-max-microvolt = <1793750>;
220 regulator-enable-ramp-delay = <100>;
221 regulator-ramp-delay = <25000>;
224 vddcamd1: LDO_CAMD1 {
225 regulator-name = "vddcamd1";
226 regulator-min-microvolt = <1000000>;
227 regulator-max-microvolt = <1793750>;
228 regulator-enable-ramp-delay = <100>;
229 regulator-ramp-delay = <25000>;
233 regulator-name = "vddcon";
234 regulator-min-microvolt = <1000000>;
235 regulator-max-microvolt = <1793750>;
236 regulator-enable-ramp-delay = <100>;
237 regulator-ramp-delay = <25000>;
240 vddcamio: LDO_CAMIO {
241 regulator-name = "vddcamio";
242 regulator-min-microvolt = <1000000>;
243 regulator-max-microvolt = <1793750>;
244 regulator-enable-ramp-delay = <100>;
245 regulator-ramp-delay = <25000>;
249 regulator-name = "vddsram";
250 regulator-min-microvolt = <1000000>;
251 regulator-max-microvolt = <1793750>;
252 regulator-enable-ramp-delay = <100>;
253 regulator-ramp-delay = <25000>;