xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/twl-family.txt (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1Texas Instruments TWL family
2
3The TWLs are Integrated Power Management Chips.
4Some version might contain much more analog function like
5USB transceiver or Audio amplifier.
6These chips are connected to an i2c bus.
7
8
9Required properties:
10- compatible : Must be "ti,twl4030";
11  For Integrated power-management/audio CODEC device used in OMAP3
12  based boards
13- compatible : Must be "ti,twl6030";
14  For Integrated power-management used in OMAP4 based boards
15- interrupts : This i2c device has an IRQ line connected to the main SoC
16- interrupt-controller : Since the twl support several interrupts internally,
17  it is considered as an interrupt controller cascaded to the SoC one.
18- #interrupt-cells = <1>;
19
20Optional node:
21- Child nodes contain in the twl. The twl family is made of several variants
22  that support a different number of features.
23  The children nodes will thus depend of the capability of the variant.
24
25
26Example:
27/*
28 * Integrated Power Management Chip
29 * https://www.ti.com/lit/ds/symlink/twl6030.pdf
30 */
31twl@48 {
32    compatible = "ti,twl6030";
33    reg = <0x48>;
34    interrupts = <39>; /* IRQ_SYS_1N cascaded to gic */
35    interrupt-controller;
36    #interrupt-cells = <1>;
37    interrupt-parent = <&gic>;
38    #address-cells = <1>;
39    #size-cells = <0>;
40
41    twl_rtc {
42        compatible = "ti,twl_rtc";
43        interrupts = <11>;
44        reg = <0>;
45    };
46};
47