xref: /freebsd-src/sys/contrib/device-tree/src/arm/st/ste-ab8500.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright 2012 Linaro Ltd
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot#include <dt-bindings/clock/ste-ab8500.h>
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/ {
9*f126890aSEmmanuel Vadot	/* Essential housekeeping hardware monitors */
10*f126890aSEmmanuel Vadot	iio-hwmon {
11*f126890aSEmmanuel Vadot		compatible = "iio-hwmon";
12*f126890aSEmmanuel Vadot		io-channels = <&gpadc 0x02>, /* Battery temperature */
13*f126890aSEmmanuel Vadot			    <&gpadc 0x03>, /* Main charger voltage */
14*f126890aSEmmanuel Vadot			    <&gpadc 0x08>, /* Main battery voltage */
15*f126890aSEmmanuel Vadot			    <&gpadc 0x09>, /* VBUS */
16*f126890aSEmmanuel Vadot			    <&gpadc 0x0a>, /* Main charger current */
17*f126890aSEmmanuel Vadot			    <&gpadc 0x0b>, /* USB charger current */
18*f126890aSEmmanuel Vadot			    <&gpadc 0x0c>, /* Backup battery voltage */
19*f126890aSEmmanuel Vadot			    <&gpadc 0x0d>, /* Die temperature */
20*f126890aSEmmanuel Vadot			    <&gpadc 0x12>; /* Crystal temperature */
21*f126890aSEmmanuel Vadot	};
22*f126890aSEmmanuel Vadot
23*f126890aSEmmanuel Vadot	soc {
24*f126890aSEmmanuel Vadot		prcmu@80157000 {
25*f126890aSEmmanuel Vadot			ab8500 {
26*f126890aSEmmanuel Vadot				compatible = "stericsson,ab8500";
27*f126890aSEmmanuel Vadot				interrupt-parent = <&intc>;
28*f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
29*f126890aSEmmanuel Vadot				interrupt-controller;
30*f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
31*f126890aSEmmanuel Vadot				#address-cells = <1>;
32*f126890aSEmmanuel Vadot				#size-cells = <0>;
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot				ab8500_clock: clock-controller {
35*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-clk";
36*f126890aSEmmanuel Vadot					#clock-cells = <1>;
37*f126890aSEmmanuel Vadot				};
38*f126890aSEmmanuel Vadot
39*f126890aSEmmanuel Vadot				ab8500_gpio: gpio {
40*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-gpio";
41*f126890aSEmmanuel Vadot					gpio-controller;
42*f126890aSEmmanuel Vadot					#gpio-cells = <2>;
43*f126890aSEmmanuel Vadot				};
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot				rtc {
46*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-rtc";
47*f126890aSEmmanuel Vadot					interrupts = <17 IRQ_TYPE_LEVEL_HIGH>,
48*f126890aSEmmanuel Vadot						     <18 IRQ_TYPE_LEVEL_HIGH>;
49*f126890aSEmmanuel Vadot					interrupt-names = "60S", "ALARM";
50*f126890aSEmmanuel Vadot				};
51*f126890aSEmmanuel Vadot
52*f126890aSEmmanuel Vadot				gpadc: adc {
53*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-gpadc";
54*f126890aSEmmanuel Vadot					interrupts = <32 IRQ_TYPE_LEVEL_HIGH>,
55*f126890aSEmmanuel Vadot						     <39 IRQ_TYPE_LEVEL_HIGH>;
56*f126890aSEmmanuel Vadot					interrupt-names = "HW_CONV_END", "SW_CONV_END";
57*f126890aSEmmanuel Vadot					vddadc-supply = <&ab8500_ldo_tvout_reg>;
58*f126890aSEmmanuel Vadot					#address-cells = <1>;
59*f126890aSEmmanuel Vadot					#size-cells = <0>;
60*f126890aSEmmanuel Vadot					#io-channel-cells = <1>;
61*f126890aSEmmanuel Vadot
62*f126890aSEmmanuel Vadot					/* GPADC channels */
63*f126890aSEmmanuel Vadot					bat_ctrl: channel@1 {
64*f126890aSEmmanuel Vadot						reg = <0x01>;
65*f126890aSEmmanuel Vadot					};
66*f126890aSEmmanuel Vadot					btemp_ball: channel@2 {
67*f126890aSEmmanuel Vadot						reg = <0x02>;
68*f126890aSEmmanuel Vadot					};
69*f126890aSEmmanuel Vadot					main_charger_v: channel@3 {
70*f126890aSEmmanuel Vadot						reg = <0x03>;
71*f126890aSEmmanuel Vadot					};
72*f126890aSEmmanuel Vadot					acc_detect1: channel@4 {
73*f126890aSEmmanuel Vadot						reg = <0x04>;
74*f126890aSEmmanuel Vadot					};
75*f126890aSEmmanuel Vadot					acc_detect2: channel@5 {
76*f126890aSEmmanuel Vadot						reg = <0x05>;
77*f126890aSEmmanuel Vadot					};
78*f126890aSEmmanuel Vadot					adc_aux1: channel@6 {
79*f126890aSEmmanuel Vadot						reg = <0x06>;
80*f126890aSEmmanuel Vadot					};
81*f126890aSEmmanuel Vadot					adc_aux2: channel@7 {
82*f126890aSEmmanuel Vadot						reg = <0x07>;
83*f126890aSEmmanuel Vadot					};
84*f126890aSEmmanuel Vadot					main_batt_v: channel@8 {
85*f126890aSEmmanuel Vadot						reg = <0x08>;
86*f126890aSEmmanuel Vadot					};
87*f126890aSEmmanuel Vadot					vbus_v: channel@9 {
88*f126890aSEmmanuel Vadot						reg = <0x09>;
89*f126890aSEmmanuel Vadot					};
90*f126890aSEmmanuel Vadot					main_charger_c: channel@a {
91*f126890aSEmmanuel Vadot						reg = <0x0a>;
92*f126890aSEmmanuel Vadot					};
93*f126890aSEmmanuel Vadot					usb_charger_c: channel@b {
94*f126890aSEmmanuel Vadot						reg = <0x0b>;
95*f126890aSEmmanuel Vadot					};
96*f126890aSEmmanuel Vadot					bk_bat_v: channel@c {
97*f126890aSEmmanuel Vadot						reg = <0x0c>;
98*f126890aSEmmanuel Vadot					};
99*f126890aSEmmanuel Vadot					die_temp: channel@d {
100*f126890aSEmmanuel Vadot						reg = <0x0d>;
101*f126890aSEmmanuel Vadot					};
102*f126890aSEmmanuel Vadot					usb_id: channel@e {
103*f126890aSEmmanuel Vadot						reg = <0x0e>;
104*f126890aSEmmanuel Vadot					};
105*f126890aSEmmanuel Vadot					xtal_temp: channel@12 {
106*f126890aSEmmanuel Vadot						reg = <0x12>;
107*f126890aSEmmanuel Vadot					};
108*f126890aSEmmanuel Vadot					vbat_true_meas: channel@13 {
109*f126890aSEmmanuel Vadot						reg = <0x13>;
110*f126890aSEmmanuel Vadot					};
111*f126890aSEmmanuel Vadot					bat_ctrl_and_ibat: channel@1c {
112*f126890aSEmmanuel Vadot						reg = <0x1c>;
113*f126890aSEmmanuel Vadot					};
114*f126890aSEmmanuel Vadot					vbat_meas_and_ibat: channel@1d {
115*f126890aSEmmanuel Vadot						reg = <0x1d>;
116*f126890aSEmmanuel Vadot					};
117*f126890aSEmmanuel Vadot					vbat_true_meas_and_ibat: channel@1e {
118*f126890aSEmmanuel Vadot						reg = <0x1e>;
119*f126890aSEmmanuel Vadot					};
120*f126890aSEmmanuel Vadot					bat_temp_and_ibat: channel@1f {
121*f126890aSEmmanuel Vadot						reg = <0x1f>;
122*f126890aSEmmanuel Vadot					};
123*f126890aSEmmanuel Vadot				};
124*f126890aSEmmanuel Vadot
125*f126890aSEmmanuel Vadot				thermal {
126*f126890aSEmmanuel Vadot					compatible = "stericsson,abx500-temp";
127*f126890aSEmmanuel Vadot					interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
128*f126890aSEmmanuel Vadot					interrupt-names = "ABX500_TEMP_WARM";
129*f126890aSEmmanuel Vadot				};
130*f126890aSEmmanuel Vadot
131*f126890aSEmmanuel Vadot				ab8500_fg {
132*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-fg";
133*f126890aSEmmanuel Vadot					interrupts = <24 IRQ_TYPE_LEVEL_HIGH>,
134*f126890aSEmmanuel Vadot						     <8 IRQ_TYPE_LEVEL_HIGH>,
135*f126890aSEmmanuel Vadot						     <28 IRQ_TYPE_LEVEL_HIGH>,
136*f126890aSEmmanuel Vadot						     <27 IRQ_TYPE_LEVEL_HIGH>,
137*f126890aSEmmanuel Vadot						     <26 IRQ_TYPE_LEVEL_HIGH>;
138*f126890aSEmmanuel Vadot					interrupt-names = "NCONV_ACCU",
139*f126890aSEmmanuel Vadot							  "BATT_OVV",
140*f126890aSEmmanuel Vadot							  "LOW_BAT_F",
141*f126890aSEmmanuel Vadot							  "CC_INT_CALIB",
142*f126890aSEmmanuel Vadot							  "CCEOC";
143*f126890aSEmmanuel Vadot					monitored-battery = <&battery>;
144*f126890aSEmmanuel Vadot					io-channels = <&gpadc 0x08>;
145*f126890aSEmmanuel Vadot					io-channel-names = "main_bat_v";
146*f126890aSEmmanuel Vadot				};
147*f126890aSEmmanuel Vadot
148*f126890aSEmmanuel Vadot				ab8500_btemp {
149*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-btemp";
150*f126890aSEmmanuel Vadot					interrupts = <20 IRQ_TYPE_LEVEL_HIGH>,
151*f126890aSEmmanuel Vadot						     <80 IRQ_TYPE_LEVEL_HIGH>,
152*f126890aSEmmanuel Vadot						     <83 IRQ_TYPE_LEVEL_HIGH>,
153*f126890aSEmmanuel Vadot						     <81 IRQ_TYPE_LEVEL_HIGH>,
154*f126890aSEmmanuel Vadot						     <82 IRQ_TYPE_LEVEL_HIGH>;
155*f126890aSEmmanuel Vadot					interrupt-names = "BAT_CTRL_INDB",
156*f126890aSEmmanuel Vadot							  "BTEMP_LOW",
157*f126890aSEmmanuel Vadot							  "BTEMP_HIGH",
158*f126890aSEmmanuel Vadot							  "BTEMP_LOW_MEDIUM",
159*f126890aSEmmanuel Vadot							  "BTEMP_MEDIUM_HIGH";
160*f126890aSEmmanuel Vadot					monitored-battery = <&battery>;
161*f126890aSEmmanuel Vadot					io-channels = <&gpadc 0x02>,
162*f126890aSEmmanuel Vadot						      <&gpadc 0x01>;
163*f126890aSEmmanuel Vadot					io-channel-names = "btemp_ball",
164*f126890aSEmmanuel Vadot							"bat_ctrl";
165*f126890aSEmmanuel Vadot				};
166*f126890aSEmmanuel Vadot
167*f126890aSEmmanuel Vadot				ab8500_charger {
168*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-charger";
169*f126890aSEmmanuel Vadot					interrupts = <10 IRQ_TYPE_LEVEL_HIGH>,
170*f126890aSEmmanuel Vadot						     <11 IRQ_TYPE_LEVEL_HIGH>,
171*f126890aSEmmanuel Vadot						     <0 IRQ_TYPE_LEVEL_HIGH>,
172*f126890aSEmmanuel Vadot						     <107 IRQ_TYPE_LEVEL_HIGH>,
173*f126890aSEmmanuel Vadot						     <106 IRQ_TYPE_LEVEL_HIGH>,
174*f126890aSEmmanuel Vadot						     <14 IRQ_TYPE_LEVEL_HIGH>,
175*f126890aSEmmanuel Vadot						     <15 IRQ_TYPE_LEVEL_HIGH>,
176*f126890aSEmmanuel Vadot						     <79 IRQ_TYPE_LEVEL_HIGH>,
177*f126890aSEmmanuel Vadot						     <105 IRQ_TYPE_LEVEL_HIGH>,
178*f126890aSEmmanuel Vadot						     <104 IRQ_TYPE_LEVEL_HIGH>,
179*f126890aSEmmanuel Vadot						     <89 IRQ_TYPE_LEVEL_HIGH>,
180*f126890aSEmmanuel Vadot						     <22 IRQ_TYPE_LEVEL_HIGH>,
181*f126890aSEmmanuel Vadot						     <21 IRQ_TYPE_LEVEL_HIGH>,
182*f126890aSEmmanuel Vadot						     <16 IRQ_TYPE_LEVEL_HIGH>;
183*f126890aSEmmanuel Vadot					interrupt-names = "MAIN_CH_UNPLUG_DET",
184*f126890aSEmmanuel Vadot							  "MAIN_CHARGE_PLUG_DET",
185*f126890aSEmmanuel Vadot							  "MAIN_EXT_CH_NOT_OK",
186*f126890aSEmmanuel Vadot							  "MAIN_CH_TH_PROT_R",
187*f126890aSEmmanuel Vadot							  "MAIN_CH_TH_PROT_F",
188*f126890aSEmmanuel Vadot							  "VBUS_DET_F",
189*f126890aSEmmanuel Vadot							  "VBUS_DET_R",
190*f126890aSEmmanuel Vadot							  "USB_LINK_STATUS",
191*f126890aSEmmanuel Vadot							  "USB_CH_TH_PROT_R",
192*f126890aSEmmanuel Vadot							  "USB_CH_TH_PROT_F",
193*f126890aSEmmanuel Vadot							  "USB_CHARGER_NOT_OKR",
194*f126890aSEmmanuel Vadot							  "VBUS_OVV",
195*f126890aSEmmanuel Vadot							  "CH_WD_EXP",
196*f126890aSEmmanuel Vadot							  "VBUS_CH_DROP_END";
197*f126890aSEmmanuel Vadot					monitored-battery = <&battery>;
198*f126890aSEmmanuel Vadot					vddadc-supply = <&ab8500_ldo_tvout_reg>;
199*f126890aSEmmanuel Vadot					io-channels = <&gpadc 0x03>,
200*f126890aSEmmanuel Vadot						      <&gpadc 0x0a>,
201*f126890aSEmmanuel Vadot						      <&gpadc 0x09>,
202*f126890aSEmmanuel Vadot						      <&gpadc 0x0b>;
203*f126890aSEmmanuel Vadot					io-channel-names = "main_charger_v",
204*f126890aSEmmanuel Vadot							"main_charger_c",
205*f126890aSEmmanuel Vadot							"vbus_v",
206*f126890aSEmmanuel Vadot							"usb_charger_c";
207*f126890aSEmmanuel Vadot				};
208*f126890aSEmmanuel Vadot
209*f126890aSEmmanuel Vadot				ab8500_chargalg {
210*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-chargalg";
211*f126890aSEmmanuel Vadot					monitored-battery = <&battery>;
212*f126890aSEmmanuel Vadot				};
213*f126890aSEmmanuel Vadot
214*f126890aSEmmanuel Vadot				ab8500_usb: phy {
215*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-usb";
216*f126890aSEmmanuel Vadot					interrupts = <90 IRQ_TYPE_LEVEL_HIGH>,
217*f126890aSEmmanuel Vadot						     <96 IRQ_TYPE_LEVEL_HIGH>,
218*f126890aSEmmanuel Vadot						     <14 IRQ_TYPE_LEVEL_HIGH>,
219*f126890aSEmmanuel Vadot						     <15 IRQ_TYPE_LEVEL_HIGH>,
220*f126890aSEmmanuel Vadot						     <79 IRQ_TYPE_LEVEL_HIGH>,
221*f126890aSEmmanuel Vadot						     <74 IRQ_TYPE_LEVEL_HIGH>,
222*f126890aSEmmanuel Vadot						     <75 IRQ_TYPE_LEVEL_HIGH>;
223*f126890aSEmmanuel Vadot					interrupt-names = "ID_WAKEUP_R",
224*f126890aSEmmanuel Vadot							  "ID_WAKEUP_F",
225*f126890aSEmmanuel Vadot							  "VBUS_DET_F",
226*f126890aSEmmanuel Vadot							  "VBUS_DET_R",
227*f126890aSEmmanuel Vadot							  "USB_LINK_STATUS",
228*f126890aSEmmanuel Vadot							  "USB_ADP_PROBE_PLUG",
229*f126890aSEmmanuel Vadot							  "USB_ADP_PROBE_UNPLUG";
230*f126890aSEmmanuel Vadot					vddulpivio18-supply = <&ab8500_ldo_intcore_reg>;
231*f126890aSEmmanuel Vadot					v-ape-supply = <&db8500_vape_reg>;
232*f126890aSEmmanuel Vadot					musb_1v8-supply = <&db8500_vsmps2_reg>;
233*f126890aSEmmanuel Vadot					clocks = <&prcmu_clk PRCMU_SYSCLK>;
234*f126890aSEmmanuel Vadot					clock-names = "sysclk";
235*f126890aSEmmanuel Vadot					#phy-cells = <0>;
236*f126890aSEmmanuel Vadot				};
237*f126890aSEmmanuel Vadot
238*f126890aSEmmanuel Vadot				key {
239*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-poweron-key";
240*f126890aSEmmanuel Vadot					interrupts = <6 IRQ_TYPE_LEVEL_HIGH>,
241*f126890aSEmmanuel Vadot						     <7 IRQ_TYPE_LEVEL_HIGH>;
242*f126890aSEmmanuel Vadot					interrupt-names = "ONKEY_DBF", "ONKEY_DBR";
243*f126890aSEmmanuel Vadot				};
244*f126890aSEmmanuel Vadot
245*f126890aSEmmanuel Vadot				ab8500-sysctrl {
246*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-sysctrl";
247*f126890aSEmmanuel Vadot				};
248*f126890aSEmmanuel Vadot
249*f126890aSEmmanuel Vadot				pwm@1 {
250*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-pwm";
251*f126890aSEmmanuel Vadot					reg = <1>;
252*f126890aSEmmanuel Vadot					clocks = <&ab8500_clock AB8500_SYSCLK_INT>;
253*f126890aSEmmanuel Vadot					clock-names = "intclk";
254*f126890aSEmmanuel Vadot					#pwm-cells = <1>;
255*f126890aSEmmanuel Vadot				};
256*f126890aSEmmanuel Vadot
257*f126890aSEmmanuel Vadot				pwm@2 {
258*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-pwm";
259*f126890aSEmmanuel Vadot					reg = <2>;
260*f126890aSEmmanuel Vadot					clocks = <&ab8500_clock AB8500_SYSCLK_INT>;
261*f126890aSEmmanuel Vadot					clock-names = "intclk";
262*f126890aSEmmanuel Vadot					#pwm-cells = <1>;
263*f126890aSEmmanuel Vadot				};
264*f126890aSEmmanuel Vadot
265*f126890aSEmmanuel Vadot				pwm@3 {
266*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-pwm";
267*f126890aSEmmanuel Vadot					reg = <3>;
268*f126890aSEmmanuel Vadot					clocks = <&ab8500_clock AB8500_SYSCLK_INT>;
269*f126890aSEmmanuel Vadot					clock-names = "intclk";
270*f126890aSEmmanuel Vadot					#pwm-cells = <1>;
271*f126890aSEmmanuel Vadot				};
272*f126890aSEmmanuel Vadot
273*f126890aSEmmanuel Vadot				codec: codec {
274*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-codec";
275*f126890aSEmmanuel Vadot
276*f126890aSEmmanuel Vadot					V-AUD-supply = <&ab8500_ldo_audio_reg>;
277*f126890aSEmmanuel Vadot					V-AMIC1-supply = <&ab8500_ldo_anamic1_reg>;
278*f126890aSEmmanuel Vadot					V-AMIC2-supply = <&ab8500_ldo_anamic2_reg>;
279*f126890aSEmmanuel Vadot					V-DMIC-supply = <&ab8500_ldo_dmic_reg>;
280*f126890aSEmmanuel Vadot
281*f126890aSEmmanuel Vadot					clocks = <&ab8500_clock AB8500_SYSCLK_AUDIO>;
282*f126890aSEmmanuel Vadot					clock-names = "audioclk";
283*f126890aSEmmanuel Vadot
284*f126890aSEmmanuel Vadot					stericsson,earpeice-cmv = <950>; /* Units in mV. */
285*f126890aSEmmanuel Vadot				};
286*f126890aSEmmanuel Vadot
287*f126890aSEmmanuel Vadot				ext_regulators: regulator-external {
288*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-ext-regulator";
289*f126890aSEmmanuel Vadot
290*f126890aSEmmanuel Vadot					ab8500_ext1_reg: ab8500_ext1 {
291*f126890aSEmmanuel Vadot						regulator-min-microvolt = <1800000>;
292*f126890aSEmmanuel Vadot						regulator-max-microvolt = <1800000>;
293*f126890aSEmmanuel Vadot						regulator-boot-on;
294*f126890aSEmmanuel Vadot						regulator-always-on;
295*f126890aSEmmanuel Vadot					};
296*f126890aSEmmanuel Vadot
297*f126890aSEmmanuel Vadot					ab8500_ext2_reg: ab8500_ext2 {
298*f126890aSEmmanuel Vadot						regulator-min-microvolt = <1360000>;
299*f126890aSEmmanuel Vadot						regulator-max-microvolt = <1360000>;
300*f126890aSEmmanuel Vadot						regulator-boot-on;
301*f126890aSEmmanuel Vadot						regulator-always-on;
302*f126890aSEmmanuel Vadot					};
303*f126890aSEmmanuel Vadot
304*f126890aSEmmanuel Vadot					ab8500_ext3_reg: ab8500_ext3 {
305*f126890aSEmmanuel Vadot						regulator-min-microvolt = <3400000>;
306*f126890aSEmmanuel Vadot						regulator-max-microvolt = <3400000>;
307*f126890aSEmmanuel Vadot						regulator-boot-on;
308*f126890aSEmmanuel Vadot					};
309*f126890aSEmmanuel Vadot				};
310*f126890aSEmmanuel Vadot
311*f126890aSEmmanuel Vadot				regulator {
312*f126890aSEmmanuel Vadot					compatible = "stericsson,ab8500-regulator";
313*f126890aSEmmanuel Vadot					vin-supply = <&ab8500_ext3_reg>;
314*f126890aSEmmanuel Vadot
315*f126890aSEmmanuel Vadot					// supplies to the display/camera
316*f126890aSEmmanuel Vadot					ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
317*f126890aSEmmanuel Vadot						regulator-min-microvolt = <2800000>;
318*f126890aSEmmanuel Vadot						regulator-max-microvolt = <3300000>;
319*f126890aSEmmanuel Vadot						regulator-boot-on;
320*f126890aSEmmanuel Vadot						/* BUG: If turned off MMC will be affected. */
321*f126890aSEmmanuel Vadot						regulator-always-on;
322*f126890aSEmmanuel Vadot					};
323*f126890aSEmmanuel Vadot
324*f126890aSEmmanuel Vadot					// supplies to the on-board eMMC
325*f126890aSEmmanuel Vadot					ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
326*f126890aSEmmanuel Vadot						regulator-min-microvolt = <1100000>;
327*f126890aSEmmanuel Vadot						regulator-max-microvolt = <3300000>;
328*f126890aSEmmanuel Vadot					};
329*f126890aSEmmanuel Vadot
330*f126890aSEmmanuel Vadot					// supply for VAUX3; SDcard slots
331*f126890aSEmmanuel Vadot					ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
332*f126890aSEmmanuel Vadot						regulator-min-microvolt = <1100000>;
333*f126890aSEmmanuel Vadot						regulator-max-microvolt = <3300000>;
334*f126890aSEmmanuel Vadot					};
335*f126890aSEmmanuel Vadot
336*f126890aSEmmanuel Vadot					// supply for v-intcore12; VINTCORE12 LDO
337*f126890aSEmmanuel Vadot					ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
338*f126890aSEmmanuel Vadot					};
339*f126890aSEmmanuel Vadot
340*f126890aSEmmanuel Vadot					// supply for tvout; gpadc; TVOUT LDO
341*f126890aSEmmanuel Vadot					ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
342*f126890aSEmmanuel Vadot					};
343*f126890aSEmmanuel Vadot
344*f126890aSEmmanuel Vadot					// supply for ab8500-vaudio; VAUDIO LDO
345*f126890aSEmmanuel Vadot					ab8500_ldo_audio_reg: ab8500_ldo_audio {
346*f126890aSEmmanuel Vadot					};
347*f126890aSEmmanuel Vadot
348*f126890aSEmmanuel Vadot					// supply for v-anamic1 VAMIC1 LDO
349*f126890aSEmmanuel Vadot					ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
350*f126890aSEmmanuel Vadot					};
351*f126890aSEmmanuel Vadot
352*f126890aSEmmanuel Vadot					// supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1
353*f126890aSEmmanuel Vadot					ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
354*f126890aSEmmanuel Vadot					};
355*f126890aSEmmanuel Vadot
356*f126890aSEmmanuel Vadot					// supply for v-dmic; VDMIC LDO
357*f126890aSEmmanuel Vadot					ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
358*f126890aSEmmanuel Vadot					};
359*f126890aSEmmanuel Vadot
360*f126890aSEmmanuel Vadot					// supply for U8500 CSI/DSI; VANA LDO
361*f126890aSEmmanuel Vadot					ab8500_ldo_ana_reg: ab8500_ldo_ana {
362*f126890aSEmmanuel Vadot					};
363*f126890aSEmmanuel Vadot				};
364*f126890aSEmmanuel Vadot			};
365*f126890aSEmmanuel Vadot		};
366*f126890aSEmmanuel Vadot
367*f126890aSEmmanuel Vadot		sound {
368*f126890aSEmmanuel Vadot			stericsson,audio-codec = <&codec>;
369*f126890aSEmmanuel Vadot			clocks = <&prcmu_clk PRCMU_SYSCLK>, <&ab8500_clock AB8500_SYSCLK_ULP>, <&ab8500_clock AB8500_SYSCLK_INT>;
370*f126890aSEmmanuel Vadot			clock-names = "sysclk", "ulpclk", "intclk";
371*f126890aSEmmanuel Vadot		};
372*f126890aSEmmanuel Vadot
373*f126890aSEmmanuel Vadot		mcde@a0350000 {
374*f126890aSEmmanuel Vadot			vana-supply = <&ab8500_ldo_ana_reg>;
375*f126890aSEmmanuel Vadot
376*f126890aSEmmanuel Vadot			dsi@a0351000 {
377*f126890aSEmmanuel Vadot				vana-supply = <&ab8500_ldo_ana_reg>;
378*f126890aSEmmanuel Vadot			};
379*f126890aSEmmanuel Vadot			dsi@a0352000 {
380*f126890aSEmmanuel Vadot				vana-supply = <&ab8500_ldo_ana_reg>;
381*f126890aSEmmanuel Vadot			};
382*f126890aSEmmanuel Vadot			dsi@a0353000 {
383*f126890aSEmmanuel Vadot				vana-supply = <&ab8500_ldo_ana_reg>;
384*f126890aSEmmanuel Vadot			};
385*f126890aSEmmanuel Vadot		};
386*f126890aSEmmanuel Vadot
387*f126890aSEmmanuel Vadot		usb_per5@a03e0000 {
388*f126890aSEmmanuel Vadot			phys = <&ab8500_usb>;
389*f126890aSEmmanuel Vadot			phy-names = "usb";
390*f126890aSEmmanuel Vadot		};
391*f126890aSEmmanuel Vadot	};
392*f126890aSEmmanuel Vadot};
393