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.
54 additionalProperties: false
58 const: stericsson,ab8500-clk
64 description: Node describing the AB8500 GPIO controller. A few
65 GPIO pins available for misc usage.
67 additionalProperties: false
72 - stericsson,ab8500-gpio
73 - stericsson,ab8505-gpio
81 description: Node describing the AB8500 battery-backed RTC.
83 additionalProperties: false
87 const: stericsson,ab8500-rtc
91 - description: 60 second interval alarm interrupt
92 - description: RTC alarm
100 description: Node describing the AB8500 general purpose analog to digital
106 const: stericsson,ab8500-gpadc
108 # AB8505 only supports one (software) EOC interrupt
113 interrupt-names: true
127 "^channel@[0-9a-f]+$":
129 $ref: ../iio/adc/adc.yaml#
130 description: Represents each of the external channels which are
131 connected to the ADC.
142 additionalProperties: false
151 - '#io-channel-cells'
153 additionalProperties: false
156 description: Node describing the AB8500 thermal control block. All this block
157 really does is to fire an interrupt when the die becomes 130 degrees Celsius
163 const: stericsson,abx500-temp
167 - description: Thermal warm warning interrupt
171 - const: ABX500_TEMP_WARM
178 additionalProperties: false
181 description: Node describing the AB8500 fuel gauge control block.
183 $ref: ../power/supply/stericsson,ab8500-fg.yaml
186 description: Node describing the AB8500 battery temperature control block.
188 $ref: ../power/supply/stericsson,ab8500-btemp.yaml
191 description: Node describing the AB8500 battery charger control block.
193 $ref: ../power/supply/stericsson,ab8500-charger.yaml
196 description: Node describing the AB8500 battery charger algorithm.
198 $ref: ../power/supply/stericsson,ab8500-chargalg.yaml
201 description: Node describing the AB8500 USB PHY control block.
206 const: stericsson,ab8500-usb
210 - description: ID wakeup rising IRQ
211 - description: ID wakeup falling IRQ
212 - description: VBUS detection falling IRQ
213 - description: VBUS detection rising IRQ
214 - description: USB link status change IRQ
215 - description: ADP probe plug IRQ
216 - description: ADP probe unplug IRQ
224 - const: USB_LINK_STATUS
225 - const: USB_ADP_PROBE_PLUG
226 - const: USB_ADP_PROBE_UNPLUG
228 vddulpivio18-supply: true
230 musb_1v8-supply: true
234 - description: PRCMY system clock
247 - vddulpivio18-supply
254 additionalProperties: false
257 description: Node describing the AB8500 power-on key control block.
262 const: stericsson,ab8500-poweron-key
266 - description: ON key falling IRQ
267 - description: ON key rising IRQ
279 additionalProperties: false
282 description: Node describing the AB8500 system control block.
287 const: stericsson,ab8500-sysctrl
292 additionalProperties: false
295 description: Node describing the AB8500 audio codec block.
300 const: stericsson,ab8500-codec
309 - description: Audio system clock
315 stericsson,earpeice-cmv:
316 description: Earpiece voltage
317 $ref: /schemas/types.yaml#/definitions/uint32
318 enum: [ 950, 1100, 1270, 1580 ]
323 additionalProperties: false
326 description: Node describing the AB8500 internal regulators.
332 - stericsson,ab8500-regulator
333 - stericsson,ab8505-regulator
336 description: The regulator supplying all of the internal regulators
340 description: The voltage for the auxiliary LDO regulator 1
342 $ref: ../regulator/regulator.yaml#
343 unevaluatedProperties: false
346 description: The voltage for the auxiliary LDO regulator 2
348 $ref: ../regulator/regulator.yaml#
349 unevaluatedProperties: false
352 description: The voltage for the auxiliary LDO regulator 3
354 $ref: ../regulator/regulator.yaml#
355 unevaluatedProperties: false
358 description: The voltage for the auxiliary LDO regulator 4
359 only present on AB8505
361 $ref: ../regulator/regulator.yaml#
362 unevaluatedProperties: false
365 description: The voltage for the auxiliary LDO regulator 5
366 only present on AB8505
368 $ref: ../regulator/regulator.yaml#
369 unevaluatedProperties: false
372 description: The voltage for the auxiliary LDO regulator 6
373 only present on AB8505
375 $ref: ../regulator/regulator.yaml#
376 unevaluatedProperties: false
378 # There is never any AUX7 regulator which is confusing
381 description: The voltage for the auxiliary LDO regulator 8
382 only present on AB8505
384 $ref: ../regulator/regulator.yaml#
385 unevaluatedProperties: false
388 description: The LDO regulator for the internal core voltage
391 $ref: ../regulator/regulator.yaml#
392 unevaluatedProperties: false
395 description: Analog power regulator for the analog to digital converter
396 ADC, only present on AB8505
398 $ref: ../regulator/regulator.yaml#
399 unevaluatedProperties: false
402 description: The voltage for the TV output regulator, incidentally
403 this voltage is also used for other purposes such as measuring
404 the temperature of the NTC thermistor on the battery.
405 Only present on AB8500.
407 $ref: ../regulator/regulator.yaml#
408 unevaluatedProperties: false
411 description: The LDO regulator for the audio codec output
413 $ref: ../regulator/regulator.yaml#
414 unevaluatedProperties: false
417 description: The LDO regulator for the analog microphone 1
419 $ref: ../regulator/regulator.yaml#
420 unevaluatedProperties: false
423 description: The LDO regulator for the analog microphone 2
425 $ref: ../regulator/regulator.yaml#
426 unevaluatedProperties: false
429 description: The LDO regulator for the digital microphone
430 only present on AB8500
432 $ref: ../regulator/regulator.yaml#
433 unevaluatedProperties: false
436 description: Analog power regulator for CSI and DSI interfaces,
437 Camera Serial Interface CSI and Display Serial Interface DSI.
439 $ref: ../regulator/regulator.yaml#
440 unevaluatedProperties: false
445 additionalProperties: false
449 description: Node describing the AB8500 external regulators. This
450 concerns the autonomous regulators VSMPS1, VSMPS2 and VSMPS3
451 that are normally controlled by external electronics but also
452 sometimes need to be explicitly controlled by software.
457 const: stericsson,ab8500-ext-regulator
460 description: The voltage for the VSMPS1 external regulator
462 $ref: ../regulator/regulator.yaml#
463 unevaluatedProperties: false
466 description: The voltage for the VSMPS2 external regulator
468 $ref: ../regulator/regulator.yaml#
469 unevaluatedProperties: false
472 description: The voltage for the VSMPS3 external regulator
474 $ref: ../regulator/regulator.yaml#
475 unevaluatedProperties: false
480 additionalProperties: false
485 $ref: ../pwm/pwm.yaml#
486 unevaluatedProperties: false
487 description: Represents each of the PWM blocks in the AB8500
491 const: stericsson,ab8500-pwm
497 - description: internal clock
522 additionalProperties: false