162306a36Sopenharmony_ciTexas Instruments TWL family (twl4030) reset and power management module 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciThe power management module inside the TWL family provides several facilities 462306a36Sopenharmony_cito control the power resources, including power scripts. For now, the 562306a36Sopenharmony_cibinding only supports the complete shutdown of the system after poweroff. 662306a36Sopenharmony_ci 762306a36Sopenharmony_ciRequired properties: 862306a36Sopenharmony_ci- compatible : must be one of the following 962306a36Sopenharmony_ci "ti,twl4030-power" 1062306a36Sopenharmony_ci "ti,twl4030-power-reset" 1162306a36Sopenharmony_ci "ti,twl4030-power-idle" 1262306a36Sopenharmony_ci "ti,twl4030-power-idle-osc-off" 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciThe use of ti,twl4030-power-reset is recommended at least on 1562306a36Sopenharmony_ci3530 that needs a special configuration for warm reset to work. 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciWhen using ti,twl4030-power-idle, the TI recommended configuration 1862306a36Sopenharmony_cifor idle modes is loaded to the tlw4030 PMIC. 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ciWhen using ti,twl4030-power-idle-osc-off, the TI recommended 2162306a36Sopenharmony_ciconfiguration is used with the external oscillator being shut 2262306a36Sopenharmony_cidown during off-idle. Note that this does not work on all boards 2362306a36Sopenharmony_cidepending on how the external oscillator is wired. 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ciOptional properties: 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci- ti,system-power-controller: This indicates that TWL4030 is the 2862306a36Sopenharmony_ci power supply master of the system. With this flag, the chip will 2962306a36Sopenharmony_ci initiate an ACTIVE-to-OFF or SLEEP-to-OFF transition when the 3062306a36Sopenharmony_ci system poweroffs. 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci- ti,use_poweroff: Deprecated name for ti,system-power-controller 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ciExample: 3562306a36Sopenharmony_ci&i2c1 { 3662306a36Sopenharmony_ci clock-frequency = <2600000>; 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci twl: twl@48 { 3962306a36Sopenharmony_ci reg = <0x48>; 4062306a36Sopenharmony_ci interrupts = <7>; /* SYS_NIRQ cascaded to intc */ 4162306a36Sopenharmony_ci interrupt-parent = <&intc>; 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ci twl_power: power { 4462306a36Sopenharmony_ci compatible = "ti,twl4030-power"; 4562306a36Sopenharmony_ci ti,use_poweroff; 4662306a36Sopenharmony_ci }; 4762306a36Sopenharmony_ci }; 4862306a36Sopenharmony_ci}; 49