GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / tps65217.dtsi
1 /*
2  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8
9 /*
10  * Integrated Power Management Chip
11  * http://www.ti.com/lit/ds/symlink/tps65217.pdf
12  */
13
14 &tps {
15         compatible = "ti,tps65217";
16         interrupt-controller;
17         #interrupt-cells = <1>;
18
19         charger {
20                 compatible = "ti,tps65217-charger";
21                 interrupts = <0>, <1>;
22                 interrupt-names = "USB", "AC";
23                 status = "disabled";
24         };
25
26         pwrbutton {
27                 compatible = "ti,tps65217-pwrbutton";
28                 interrupts = <2>;
29                 status = "disabled";
30         };
31
32         regulators {
33                 #address-cells = <1>;
34                 #size-cells = <0>;
35
36                 dcdc1_reg: regulator@0 {
37                         reg = <0>;
38                         regulator-compatible = "dcdc1";
39                 };
40
41                 dcdc2_reg: regulator@1 {
42                         reg = <1>;
43                         regulator-compatible = "dcdc2";
44                 };
45
46                 dcdc3_reg: regulator@2 {
47                         reg = <2>;
48                         regulator-compatible = "dcdc3";
49                 };
50
51                 ldo1_reg: regulator@3 {
52                         reg = <3>;
53                         regulator-compatible = "ldo1";
54                 };
55
56                 ldo2_reg: regulator@4 {
57                         reg = <4>;
58                         regulator-compatible = "ldo2";
59                 };
60
61                 ldo3_reg: regulator@5 {
62                         reg = <5>;
63                         regulator-compatible = "ldo3";
64                 };
65
66                 ldo4_reg: regulator@6 {
67                         reg = <6>;
68                         regulator-compatible = "ldo4";
69                 };
70         };
71 };