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