blob: 52ed228fb1e7ede86413048ffcd6c0fd37ba0127 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mfd/ti,twl.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Texas Instruments TWL family
8
9maintainers:
10 - Andreas Kemnade <andreas@kemnade.info>
11
12description: |
13 The TWLs are Integrated Power Management Chips.
14 Some version might contain much more analog function like
15 USB transceiver or Audio amplifier.
16 These chips are connected to an i2c bus.
17
18properties:
19 compatible:
20 description:
21 TWL4030 for integrated power-management/audio CODEC device used in OMAP3
22 based boards
23 TWL6030/32 for integrated power-management used in OMAP4 based boards
24 enum:
25 - ti,twl4030
26 - ti,twl6030
27 - ti,twl6032
28
29 reg:
30 maxItems: 1
31
32 interrupts:
33 maxItems: 1
34
35 interrupt-controller: true
36
Tom Rini6bb92fc2024-05-20 09:54:58 -060037 system-power-controller: true
38
Tom Rini53633a82024-02-29 12:33:36 -050039 "#interrupt-cells":
40 const: 1
41
42 "#clock-cells":
43 const: 1
44
45additionalProperties: false
46
47required:
48 - compatible
49 - reg
50 - interrupts
51 - interrupt-controller
52 - "#interrupt-cells"
53
54examples:
55 - |
56 i2c {
57 #address-cells = <1>;
58 #size-cells = <0>;
59
60 pmic@48 {
61 compatible = "ti,twl6030";
62 reg = <0x48>;
63 interrupts = <39>; /* IRQ_SYS_1N cascaded to gic */
64 interrupt-controller;
65 #interrupt-cells = <1>;
66 interrupt-parent = <&gic>;
67 };
68 };
69