162306a36Sopenharmony_ci* TPS65912 Power Management Integrated Circuit bindings 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciRequired properties: 462306a36Sopenharmony_ci - compatible : Should be "ti,tps65912". 562306a36Sopenharmony_ci - reg : Slave address or chip select number (I2C / SPI). 662306a36Sopenharmony_ci - interrupts : The interrupt line the device is connected to. 762306a36Sopenharmony_ci - interrupt-controller : Marks the device node as an interrupt controller. 862306a36Sopenharmony_ci - #interrupt-cells : The number of cells to describe an IRQ, should be 2. 962306a36Sopenharmony_ci The first cell is the IRQ number. 1062306a36Sopenharmony_ci The second cell is the flags, encoded as trigger 1162306a36Sopenharmony_ci masks from ../interrupt-controller/interrupts.txt. 1262306a36Sopenharmony_ci - gpio-controller : Marks the device node as a GPIO Controller. 1362306a36Sopenharmony_ci - #gpio-cells : Should be two. The first cell is the pin number and 1462306a36Sopenharmony_ci the second cell is used to specify flags. 1562306a36Sopenharmony_ci See ../gpio/gpio.txt for more information. 1662306a36Sopenharmony_ci - regulators: : List of child nodes that specify the regulator 1762306a36Sopenharmony_ci initialization data. Child nodes must be named 1862306a36Sopenharmony_ci after their hardware counterparts: dcdc[1-4] and 1962306a36Sopenharmony_ci ldo[1-10]. Each child nodes is defined using the 2062306a36Sopenharmony_ci standard binding for regulators. 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ciExample: 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ci pmic: tps65912@2d { 2562306a36Sopenharmony_ci compatible = "ti,tps65912"; 2662306a36Sopenharmony_ci reg = <0x2d>; 2762306a36Sopenharmony_ci interrupt-parent = <&gpio1>; 2862306a36Sopenharmony_ci interrupts = <28 IRQ_TYPE_LEVEL_LOW>; 2962306a36Sopenharmony_ci interrupt-controller; 3062306a36Sopenharmony_ci #interrupt-cells = <2>; 3162306a36Sopenharmony_ci gpio-controller; 3262306a36Sopenharmony_ci #gpio-cells = <2>; 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ci regulators { 3562306a36Sopenharmony_ci dcdc1 { 3662306a36Sopenharmony_ci regulator-name = "vdd_core"; 3762306a36Sopenharmony_ci regulator-min-microvolt = <912000>; 3862306a36Sopenharmony_ci regulator-max-microvolt = <1144000>; 3962306a36Sopenharmony_ci regulator-boot-on; 4062306a36Sopenharmony_ci regulator-always-on; 4162306a36Sopenharmony_ci }; 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ci ldo1 { 4462306a36Sopenharmony_ci regulator-name = "ldo1"; 4562306a36Sopenharmony_ci regulator-min-microvolt = <1900000>; 4662306a36Sopenharmony_ci regulator-max-microvolt = <1900000>; 4762306a36Sopenharmony_ci }; 4862306a36Sopenharmony_ci }; 4962306a36Sopenharmony_ci }; 50