Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | * TPS65912 Power Management Integrated Circuit bindings |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : Should be "ti,tps65912". |
| 5 | - reg : Slave address or chip select number (I2C / SPI). |
| 6 | - interrupts : The interrupt line the device is connected to. |
| 7 | - interrupt-controller : Marks the device node as an interrupt controller. |
| 8 | - #interrupt-cells : The number of cells to describe an IRQ, should be 2. |
| 9 | The first cell is the IRQ number. |
| 10 | The second cell is the flags, encoded as trigger |
| 11 | masks from ../interrupt-controller/interrupts.txt. |
| 12 | - gpio-controller : Marks the device node as a GPIO Controller. |
| 13 | - #gpio-cells : Should be two. The first cell is the pin number and |
| 14 | the second cell is used to specify flags. |
| 15 | See ../gpio/gpio.txt for more information. |
| 16 | - regulators: : List of child nodes that specify the regulator |
| 17 | initialization data. Child nodes must be named |
| 18 | after their hardware counterparts: dcdc[1-4] and |
| 19 | ldo[1-10]. Each child nodes is defined using the |
| 20 | standard binding for regulators. |
| 21 | |
| 22 | Example: |
| 23 | |
| 24 | pmic: tps65912@2d { |
| 25 | compatible = "ti,tps65912"; |
| 26 | reg = <0x2d>; |
| 27 | interrupt-parent = <&gpio1>; |
| 28 | interrupts = <28 IRQ_TYPE_LEVEL_LOW>; |
| 29 | interrupt-controller; |
| 30 | #interrupt-cells = <2>; |
| 31 | gpio-controller; |
| 32 | #gpio-cells = <2>; |
| 33 | |
| 34 | regulators { |
| 35 | dcdc1 { |
| 36 | regulator-name = "vdd_core"; |
| 37 | regulator-min-microvolt = <912000>; |
| 38 | regulator-max-microvolt = <1144000>; |
| 39 | regulator-boot-on; |
| 40 | regulator-always-on; |
| 41 | }; |
| 42 | |
| 43 | ldo1 { |
| 44 | regulator-name = "ldo1"; |
| 45 | regulator-min-microvolt = <1900000>; |
| 46 | regulator-max-microvolt = <1900000>; |
| 47 | }; |
| 48 | }; |
| 49 | }; |