xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/ti,twl.yaml (revision f5f40dd63bc7acbb5312b26ac1ea1103c12352a6)
1# 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
37  "#interrupt-cells":
38    const: 1
39
40  "#clock-cells":
41    const: 1
42
43additionalProperties: false
44
45required:
46  - compatible
47  - reg
48  - interrupts
49  - interrupt-controller
50  - "#interrupt-cells"
51
52examples:
53  - |
54    i2c {
55      #address-cells = <1>;
56      #size-cells = <0>;
57
58      pmic@48 {
59        compatible = "ti,twl6030";
60        reg = <0x48>;
61        interrupts = <39>; /* IRQ_SYS_1N cascaded to gic */
62        interrupt-controller;
63        #interrupt-cells = <1>;
64        interrupt-parent = <&gic>;
65      };
66    };
67
68