Paul Barker | 273f51d | 2022-04-11 15:41:59 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Simon Glass | b37e815 | 2014-06-02 22:04:55 -0600 | [diff] [blame] | 2 | /* |
Nishanth Menon | eaa39c6 | 2023-11-01 15:56:03 -0500 | [diff] [blame] | 3 | * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ |
Simon Glass | b37e815 | 2014-06-02 22:04:55 -0600 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /* |
| 7 | * Integrated Power Management Chip |
Nishanth Menon | eaa39c6 | 2023-11-01 15:56:03 -0500 | [diff] [blame] | 8 | * https://www.ti.com/lit/ds/symlink/tps65217.pdf |
Simon Glass | b37e815 | 2014-06-02 22:04:55 -0600 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | &tps { |
| 12 | compatible = "ti,tps65217"; |
Paul Barker | 273f51d | 2022-04-11 15:41:59 +0000 | [diff] [blame] | 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 | }; |
Simon Glass | b37e815 | 2014-06-02 22:04:55 -0600 | [diff] [blame] | 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 | }; |