1f544df78SEmmanuel Vadot* ROHM BD9571MWV/BD9574MWF Power Management Integrated Circuit (PMIC) bindings 255037085SEmmanuel Vadot 355037085SEmmanuel VadotRequired properties: 4f544df78SEmmanuel Vadot - compatible : Should be "rohm,bd9571mwv" or "rohm,bd9574mwf". 555037085SEmmanuel Vadot - reg : I2C slave address. 655037085SEmmanuel Vadot - interrupts : The interrupt line the device is connected to. 755037085SEmmanuel Vadot - interrupt-controller : Marks the device node as an interrupt controller. 855037085SEmmanuel Vadot - #interrupt-cells : The number of cells to describe an IRQ, should be 2. 955037085SEmmanuel Vadot The first cell is the IRQ number. 1055037085SEmmanuel Vadot The second cell is the flags, encoded as trigger 1155037085SEmmanuel Vadot masks from ../interrupt-controller/interrupts.txt. 1255037085SEmmanuel Vadot - gpio-controller : Marks the device node as a GPIO Controller. 1355037085SEmmanuel Vadot - #gpio-cells : Should be two. The first cell is the pin number and 1455037085SEmmanuel Vadot the second cell is used to specify flags. 1555037085SEmmanuel Vadot See ../gpio/gpio.txt for more information. 1655037085SEmmanuel Vadot - regulators: : List of child nodes that specify the regulator 1755037085SEmmanuel Vadot initialization data. Child nodes must be named 1855037085SEmmanuel Vadot after their hardware counterparts: 1955037085SEmmanuel Vadot - vd09 2055037085SEmmanuel Vadot - vd18 2155037085SEmmanuel Vadot - vd25 2255037085SEmmanuel Vadot - vd33 2355037085SEmmanuel Vadot - dvfs 2455037085SEmmanuel Vadot Each child node is defined using the standard 2555037085SEmmanuel Vadot binding for regulators. 2655037085SEmmanuel Vadot 27c4fc09e2SEmmanuel VadotOptional properties: 28c4fc09e2SEmmanuel Vadot - rohm,ddr-backup-power : Value to use for DDR-Backup Power (default 0). 29c4fc09e2SEmmanuel Vadot This is a bitmask that specifies which DDR power 30c4fc09e2SEmmanuel Vadot rails need to be kept powered when backup mode is 31c4fc09e2SEmmanuel Vadot entered, for system suspend: 32c4fc09e2SEmmanuel Vadot - bit 0: DDR0 33c4fc09e2SEmmanuel Vadot - bit 1: DDR1 34c4fc09e2SEmmanuel Vadot - bit 2: DDR0C 35c4fc09e2SEmmanuel Vadot - bit 3: DDR1C 36c4fc09e2SEmmanuel Vadot These bits match the KEEPON_DDR* bits in the 37c4fc09e2SEmmanuel Vadot documentation for the "BKUP Mode Cnt" register. 38c4fc09e2SEmmanuel Vadot - rohm,rstbmode-level: The RSTB signal is configured for level mode, to 39c4fc09e2SEmmanuel Vadot accommodate a toggle power switch (the RSTBMODE pin is 40c4fc09e2SEmmanuel Vadot strapped low). 41c4fc09e2SEmmanuel Vadot - rohm,rstbmode-pulse: The RSTB signal is configured for pulse mode, to 42c4fc09e2SEmmanuel Vadot accommodate a momentary power switch (the RSTBMODE pin 43c4fc09e2SEmmanuel Vadot is strapped high). 44c4fc09e2SEmmanuel Vadot The two properties above are mutually exclusive. 45c4fc09e2SEmmanuel Vadot 4655037085SEmmanuel VadotExample: 4755037085SEmmanuel Vadot 4855037085SEmmanuel Vadot pmic: pmic@30 { 4955037085SEmmanuel Vadot compatible = "rohm,bd9571mwv"; 5055037085SEmmanuel Vadot reg = <0x30>; 5155037085SEmmanuel Vadot interrupt-parent = <&gpio2>; 5255037085SEmmanuel Vadot interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 5355037085SEmmanuel Vadot interrupt-controller; 5455037085SEmmanuel Vadot #interrupt-cells = <2>; 5555037085SEmmanuel Vadot gpio-controller; 5655037085SEmmanuel Vadot #gpio-cells = <2>; 57c4fc09e2SEmmanuel Vadot rohm,ddr-backup-power = <0xf>; 58c4fc09e2SEmmanuel Vadot rohm,rstbmode-pulse; 5955037085SEmmanuel Vadot 6055037085SEmmanuel Vadot regulators { 6155037085SEmmanuel Vadot dvfs: dvfs { 6255037085SEmmanuel Vadot regulator-name = "dvfs"; 6355037085SEmmanuel Vadot regulator-min-microvolt = <750000>; 6455037085SEmmanuel Vadot regulator-max-microvolt = <1030000>; 6555037085SEmmanuel Vadot regulator-boot-on; 6655037085SEmmanuel Vadot regulator-always-on; 6755037085SEmmanuel Vadot }; 6855037085SEmmanuel Vadot }; 6955037085SEmmanuel Vadot }; 70