1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/mfd/stericsson,ab8500.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ST-Ericsson Analog Baseband AB8500 and AB8505
10 - Linus Walleij <linus.walleij@linaro.org>
13 the AB8500 "Analog Baseband" is the mixed-signals integrated circuit
14 handling power management (regulators), analog-to-digital conversion
15 (ADC), battery charging, fuel gauging of the battery, battery-backed
16 RTC, PWM, USB PHY and some GPIO lines in the ST-Ericsson U8500 platforms
17 in connection with the DB8500 digital baseband. The DB8500 PRCMU
18 communicates directly and autonomously with the AB8500 and thus it
19 appears as a subnode of the DB8500 PRCMU. An altered version called
20 AB8505 also exist, the difference in AB8505 is that some of the USB and
21 USB charging handling has changed, and it has an embedded USB-to-serial
22 converter. Most subblocks takes their interrupts directly from the
23 AB8500 embedded interrupt controller.
27 pattern: '^ab850[05]$'
37 interrupt-controller: true
42 # Some subnodes use a reg, some don't. Those that do use a single cell.
50 description: Node describing the AB8500 clock controller. This
51 provides the reference clock for the entire U8500 system and
52 the DB8500 counterpart.
57 const: stericsson,ab8500-clk
63 description: Node describing the AB8500 GPIO controller. A few
64 GPIO pins available for misc usage.
70 - stericsson,ab8500-gpio
71 - stericsson,ab8505-gpio
79 description: Node describing the AB8500 battery-backed RTC.
84 const: stericsson,ab8500-rtc
88 - description: 60 second interval alarm interrupt
89 - description: RTC alarm
97 description: Node describing the AB8500 general purpose analog to digital
103 const: stericsson,ab8500-gpadc
105 # AB8505 only supports one (software) EOC interrupt
110 interrupt-names: true
124 "^channel@[0-9a-f]+$":
126 $ref: ../iio/adc/adc.yaml#
127 description: Represents each of the external channels which are
128 connected to the ADC.
139 additionalProperties: false
148 - '#io-channel-cells'
150 additionalProperties: false
153 description: Node describing the AB8500 thermal control block. All this block
154 really does is to fire an interrupt when the die becomes 130 degrees Celsius
160 const: stericsson,abx500-temp
164 - description: Thermal warm warning interrupt
168 - const: ABX500_TEMP_WARM
175 additionalProperties: false
178 description: Node describing the AB8500 fuel gauge control block.
180 $ref: ../power/supply/stericsson,ab8500-fg.yaml
183 description: Node describing the AB8500 battery temperature control block.
185 $ref: ../power/supply/stericsson,ab8500-btemp.yaml
188 description: Node describing the AB8500 battery charger control block.
190 $ref: ../power/supply/stericsson,ab8500-charger.yaml
193 description: Node describing the AB8500 battery charger algorithm.
195 $ref: ../power/supply/stericsson,ab8500-chargalg.yaml
198 description: Node describing the AB8500 USB PHY control block.
203 const: stericsson,ab8500-usb
207 - description: ID wakeup rising IRQ
208 - description: ID wakeup falling IRQ
209 - description: VBUS detection falling IRQ
210 - description: VBUS detection rising IRQ
211 - description: USB link status change IRQ
212 - description: ADP probe plug IRQ
213 - description: ADP probe unplug IRQ
221 - const: USB_LINK_STATUS
222 - const: USB_ADP_PROBE_PLUG
223 - const: USB_ADP_PROBE_UNPLUG
225 vddulpivio18-supply: true
227 musb_1v8-supply: true
231 - description: PRCMY system clock
244 - vddulpivio18-supply
251 additionalProperties: false
254 description: Node describing the AB8500 power-on key control block.
259 const: stericsson,ab8500-poweron-key
263 - description: ON key falling IRQ
264 - description: ON key rising IRQ
276 additionalProperties: false
279 description: Node describing the AB8500 system control block.
284 const: stericsson,ab8500-sysctrl
289 additionalProperties: false
292 description: Node describing the AB8500 audio codec block.
297 const: stericsson,ab8500-codec
306 - description: Audio system clock
312 stericsson,earpeice-cmv:
313 description: Earpeice voltage
314 $ref: /schemas/types.yaml#/definitions/uint32
315 enum: [ 950, 1100, 1270, 1580 ]
320 additionalProperties: false
323 description: Node describing the AB8500 internal regulators.
329 - stericsson,ab8500-regulator
330 - stericsson,ab8505-regulator
333 description: The regulator supplying all of the internal regulators
337 description: The voltage for the auxilary LDO regulator 1
339 $ref: ../regulator/regulator.yaml#
342 description: The voltage for the auxilary LDO regulator 2
344 $ref: ../regulator/regulator.yaml#
347 description: The voltage for the auxilary LDO regulator 3
349 $ref: ../regulator/regulator.yaml#
352 description: The voltage for the auxilary LDO regulator 4
353 only present on AB8505
355 $ref: ../regulator/regulator.yaml#
358 description: The voltage for the auxilary LDO regulator 5
359 only present on AB8505
361 $ref: ../regulator/regulator.yaml#
364 description: The voltage for the auxilary LDO regulator 6
365 only present on AB8505
367 $ref: ../regulator/regulator.yaml#
369 # There is never any AUX7 regulator which is confusing
372 description: The voltage for the auxilary LDO regulator 8
373 only present on AB8505
375 $ref: ../regulator/regulator.yaml#
378 description: The LDO regulator for the internal core voltage
381 $ref: ../regulator/regulator.yaml#
384 description: Analog power regulator for the analog to digital converter
385 ADC, only present on AB8505
387 $ref: ../regulator/regulator.yaml#
390 description: The voltage for the TV output regulator, incidentally
391 this voltage is also used for other purposes such as measuring
392 the temperature of the NTC thermistor on the battery.
393 Only present on AB8500.
395 $ref: ../regulator/regulator.yaml#
398 description: The LDO regulator for the audio codec output
400 $ref: ../regulator/regulator.yaml#
403 description: The LDO regulator for the analog microphone 1
405 $ref: ../regulator/regulator.yaml#
408 description: The LDO regulator for the analog microphone 2
410 $ref: ../regulator/regulator.yaml#
413 description: The LDO regulator for the digital microphone
414 only present on AB8500
416 $ref: ../regulator/regulator.yaml#
419 description: Analog power regulator for CSI and DSI interfaces,
420 Camera Serial Interface CSI and Display Serial Interface DSI.
422 $ref: ../regulator/regulator.yaml#
427 additionalProperties: false
431 description: Node describing the AB8500 external regulators. This
432 concerns the autonomous regulators VSMPS1, VSMPS2 and VSMPS3
433 that are normally controlled by external electronics but also
434 sometimes need to be explicitly controlled by software.
439 const: stericsson,ab8500-ext-regulator
442 description: The voltage for the VSMPS1 external regulator
444 $ref: ../regulator/regulator.yaml#
447 description: The voltage for the VSMPS2 external regulator
449 $ref: ../regulator/regulator.yaml#
452 description: The voltage for the VSMPS3 external regulator
454 $ref: ../regulator/regulator.yaml#
459 additionalProperties: false
464 $ref: ../pwm/pwm.yaml#
465 description: Represents each of the PWM blocks in the AB8500
469 const: stericsson,ab8500-pwm
475 - description: internal clock
500 additionalProperties: false