Commit | Line | Data |
---|---|---|
aeb5032b BC |
1 | Texas Instruments TWL family |
2 | ||
3 | The TWLs are Integrated Power Management Chips. | |
4 | Some version might contain much more analog function like | |
5 | USB transceiver or Audio amplifier. | |
6 | These chips are connected to an i2c bus. | |
7 | ||
8 | ||
9 | Required 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 | - interrupt-parent : The parent interrupt controller. | |
20 | ||
21 | Optional node: | |
22 | - Child nodes contain in the twl. The twl family is made of several variants | |
23 | that support a different number of features. | |
24 | The children nodes will thus depend of the capability of the variant. | |
25 | ||
26 | ||
27 | Example: | |
28 | /* | |
29 | * Integrated Power Management Chip | |
30 | * http://www.ti.com/lit/ds/symlink/twl6030.pdf | |
31 | */ | |
32 | twl@48 { | |
33 | compatible = "ti,twl6030"; | |
34 | reg = <0x48>; | |
35 | interrupts = <39>; /* IRQ_SYS_1N cascaded to gic */ | |
36 | interrupt-controller; | |
37 | #interrupt-cells = <1>; | |
38 | interrupt-parent = <&gic>; | |
39 | #address-cells = <1>; | |
40 | #size-cells = <0>; | |
41 | ||
42 | twl_rtc { | |
43 | compatible = "ti,twl_rtc"; | |
44 | interrupts = <11>; | |
45 | reg = <0>; | |
46 | }; | |
47 | }; |