18c2ecf20Sopenharmony_ci* TPS65912 Power Management Integrated Circuit bindings 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci - compatible : Should be "ti,tps65912". 58c2ecf20Sopenharmony_ci - reg : Slave address or chip select number (I2C / SPI). 68c2ecf20Sopenharmony_ci - interrupts : The interrupt line the device is connected to. 78c2ecf20Sopenharmony_ci - interrupt-controller : Marks the device node as an interrupt controller. 88c2ecf20Sopenharmony_ci - #interrupt-cells : The number of cells to describe an IRQ, should be 2. 98c2ecf20Sopenharmony_ci The first cell is the IRQ number. 108c2ecf20Sopenharmony_ci The second cell is the flags, encoded as trigger 118c2ecf20Sopenharmony_ci masks from ../interrupt-controller/interrupts.txt. 128c2ecf20Sopenharmony_ci - gpio-controller : Marks the device node as a GPIO Controller. 138c2ecf20Sopenharmony_ci - #gpio-cells : Should be two. The first cell is the pin number and 148c2ecf20Sopenharmony_ci the second cell is used to specify flags. 158c2ecf20Sopenharmony_ci See ../gpio/gpio.txt for more information. 168c2ecf20Sopenharmony_ci - regulators: : List of child nodes that specify the regulator 178c2ecf20Sopenharmony_ci initialization data. Child nodes must be named 188c2ecf20Sopenharmony_ci after their hardware counterparts: dcdc[1-4] and 198c2ecf20Sopenharmony_ci ldo[1-10]. Each child nodes is defined using the 208c2ecf20Sopenharmony_ci standard binding for regulators. 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciExample: 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci pmic: tps65912@2d { 258c2ecf20Sopenharmony_ci compatible = "ti,tps65912"; 268c2ecf20Sopenharmony_ci reg = <0x2d>; 278c2ecf20Sopenharmony_ci interrupt-parent = <&gpio1>; 288c2ecf20Sopenharmony_ci interrupts = <28 IRQ_TYPE_LEVEL_LOW>; 298c2ecf20Sopenharmony_ci interrupt-controller; 308c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 318c2ecf20Sopenharmony_ci gpio-controller; 328c2ecf20Sopenharmony_ci #gpio-cells = <2>; 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci regulators { 358c2ecf20Sopenharmony_ci dcdc1 { 368c2ecf20Sopenharmony_ci regulator-name = "vdd_core"; 378c2ecf20Sopenharmony_ci regulator-min-microvolt = <912000>; 388c2ecf20Sopenharmony_ci regulator-max-microvolt = <1144000>; 398c2ecf20Sopenharmony_ci regulator-boot-on; 408c2ecf20Sopenharmony_ci regulator-always-on; 418c2ecf20Sopenharmony_ci }; 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci ldo1 { 448c2ecf20Sopenharmony_ci regulator-name = "ldo1"; 458c2ecf20Sopenharmony_ci regulator-min-microvolt = <1900000>; 468c2ecf20Sopenharmony_ci regulator-max-microvolt = <1900000>; 478c2ecf20Sopenharmony_ci }; 488c2ecf20Sopenharmony_ci }; 498c2ecf20Sopenharmony_ci }; 50