| 1 |
// SPDX-License-Identifier: GPL-2.0-only |
| 2 |
/* |
| 3 |
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ |
| 4 |
*/ |
| 5 |
|
| 6 |
/* |
| 7 |
* Integrated Power Management Chip |
| 8 |
* http://www.ti.com/lit/ds/symlink/tps65217.pdf |
| 9 |
*/ |
| 10 |
|
| 11 |
&tps { |
| 12 |
compatible = "ti,tps65217"; |
| 13 |
interrupt-controller; |
| 14 |
#interrupt-cells = <1>; |
| 15 |
|
| 16 |
charger { |
| 17 |
compatible = "ti,tps65217-charger"; |
| 18 |
interrupts = <0>, <1>; |
| 19 |
interrupt-names = "USB", "AC"; |
| 20 |
status = "disabled"; |
| 21 |
}; |
| 22 |
|
| 23 |
pwrbutton { |
| 24 |
compatible = "ti,tps65217-pwrbutton"; |
| 25 |
interrupts = <2>; |
| 26 |
status = "disabled"; |
| 27 |
}; |
| 28 |
|
| 29 |
regulators { |
| 30 |
#address-cells = <1>; |
| 31 |
#size-cells = <0>; |
| 32 |
|
| 33 |
dcdc1_reg: regulator@0 { |
| 34 |
reg = <0>; |
| 35 |
regulator-compatible = "dcdc1"; |
| 36 |
}; |
| 37 |
|
| 38 |
dcdc2_reg: regulator@1 { |
| 39 |
reg = <1>; |
| 40 |
regulator-compatible = "dcdc2"; |
| 41 |
}; |
| 42 |
|
| 43 |
dcdc3_reg: regulator@2 { |
| 44 |
reg = <2>; |
| 45 |
regulator-compatible = "dcdc3"; |
| 46 |
}; |
| 47 |
|
| 48 |
ldo1_reg: regulator@3 { |
| 49 |
reg = <3>; |
| 50 |
regulator-compatible = "ldo1"; |
| 51 |
}; |
| 52 |
|
| 53 |
ldo2_reg: regulator@4 { |
| 54 |
reg = <4>; |
| 55 |
regulator-compatible = "ldo2"; |
| 56 |
}; |
| 57 |
|
| 58 |
ldo3_reg: regulator@5 { |
| 59 |
reg = <5>; |
| 60 |
regulator-compatible = "ldo3"; |
| 61 |
}; |
| 62 |
|
| 63 |
ldo4_reg: regulator@6 { |
| 64 |
reg = <6>; |
| 65 |
regulator-compatible = "ldo4"; |
| 66 |
}; |
| 67 |
}; |
| 68 |
}; |