18c2ecf20Sopenharmony_ci* ROHM BD70528 Power Management Integrated Circuit bindings 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciBD70528MWV is an ultra-low quiescent current general purpose, single-chip, 48c2ecf20Sopenharmony_cipower management IC for battery-powered portable devices. The IC 58c2ecf20Sopenharmony_ciintegrates 3 ultra-low current consumption buck converters, 3 LDOs and 2 68c2ecf20Sopenharmony_ciLED Drivers. Also included are 4 GPIOs, a real-time clock (RTC), a 32kHz 78c2ecf20Sopenharmony_ciclock gate, high-accuracy VREF for use with an external ADC, flexible 88c2ecf20Sopenharmony_cidual-input power path, 10 bit SAR ADC for battery temperature monitor and 98c2ecf20Sopenharmony_ci1S battery charger with scalable charge currents. 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciRequired properties: 128c2ecf20Sopenharmony_ci - compatible : Should be "rohm,bd70528" 138c2ecf20Sopenharmony_ci - reg : I2C slave address. 148c2ecf20Sopenharmony_ci - interrupts : The interrupt line the device is connected to. 158c2ecf20Sopenharmony_ci - interrupt-controller : To indicate BD70528 acts as an interrupt controller. 168c2ecf20Sopenharmony_ci - #interrupt-cells : Should be 2. Usage is compliant to the 2 cells 178c2ecf20Sopenharmony_ci variant of ../interrupt-controller/interrupts.txt 188c2ecf20Sopenharmony_ci - gpio-controller : To indicate BD70528 acts as a GPIO controller. 198c2ecf20Sopenharmony_ci - #gpio-cells : Should be 2. The first cell is the pin number and 208c2ecf20Sopenharmony_ci the second cell is used to specify flags. See 218c2ecf20Sopenharmony_ci ../gpio/gpio.txt for more information. 228c2ecf20Sopenharmony_ci - #clock-cells : Should be 0. 238c2ecf20Sopenharmony_ci - regulators: : List of child nodes that specify the regulators. 248c2ecf20Sopenharmony_ci Please see ../regulator/rohm,bd70528-regulator.txt 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciOptional properties: 278c2ecf20Sopenharmony_ci - clock-output-names : Should contain name for output clock. 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciExample: 308c2ecf20Sopenharmony_ci/* External oscillator */ 318c2ecf20Sopenharmony_ciosc: oscillator { 328c2ecf20Sopenharmony_ci compatible = "fixed-clock"; 338c2ecf20Sopenharmony_ci #clock-cells = <1>; 348c2ecf20Sopenharmony_ci clock-frequency = <32768>; 358c2ecf20Sopenharmony_ci clock-output-names = "osc"; 368c2ecf20Sopenharmony_ci}; 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_cipmic: pmic@4b { 398c2ecf20Sopenharmony_ci compatible = "rohm,bd70528"; 408c2ecf20Sopenharmony_ci reg = <0x4b>; 418c2ecf20Sopenharmony_ci interrupt-parent = <&gpio1>; 428c2ecf20Sopenharmony_ci interrupts = <29 IRQ_TYPE_LEVEL_LOW>; 438c2ecf20Sopenharmony_ci clocks = <&osc 0>; 448c2ecf20Sopenharmony_ci #clock-cells = <0>; 458c2ecf20Sopenharmony_ci clock-output-names = "bd70528-32k-out"; 468c2ecf20Sopenharmony_ci #gpio-cells = <2>; 478c2ecf20Sopenharmony_ci gpio-controller; 488c2ecf20Sopenharmony_ci interrupt-controller; 498c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci regulators { 528c2ecf20Sopenharmony_ci buck1: BUCK1 { 538c2ecf20Sopenharmony_ci regulator-name = "buck1"; 548c2ecf20Sopenharmony_ci regulator-min-microvolt = <1200000>; 558c2ecf20Sopenharmony_ci regulator-max-microvolt = <3400000>; 568c2ecf20Sopenharmony_ci regulator-boot-on; 578c2ecf20Sopenharmony_ci regulator-ramp-delay = <125>; 588c2ecf20Sopenharmony_ci }; 598c2ecf20Sopenharmony_ci buck2: BUCK2 { 608c2ecf20Sopenharmony_ci regulator-name = "buck2"; 618c2ecf20Sopenharmony_ci regulator-min-microvolt = <1200000>; 628c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 638c2ecf20Sopenharmony_ci regulator-boot-on; 648c2ecf20Sopenharmony_ci regulator-ramp-delay = <125>; 658c2ecf20Sopenharmony_ci }; 668c2ecf20Sopenharmony_ci buck3: BUCK3 { 678c2ecf20Sopenharmony_ci regulator-name = "buck3"; 688c2ecf20Sopenharmony_ci regulator-min-microvolt = <800000>; 698c2ecf20Sopenharmony_ci regulator-max-microvolt = <1800000>; 708c2ecf20Sopenharmony_ci regulator-boot-on; 718c2ecf20Sopenharmony_ci regulator-ramp-delay = <250>; 728c2ecf20Sopenharmony_ci }; 738c2ecf20Sopenharmony_ci ldo1: LDO1 { 748c2ecf20Sopenharmony_ci regulator-name = "ldo1"; 758c2ecf20Sopenharmony_ci regulator-min-microvolt = <1650000>; 768c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 778c2ecf20Sopenharmony_ci regulator-boot-on; 788c2ecf20Sopenharmony_ci }; 798c2ecf20Sopenharmony_ci ldo2: LDO2 { 808c2ecf20Sopenharmony_ci regulator-name = "ldo2"; 818c2ecf20Sopenharmony_ci regulator-min-microvolt = <1650000>; 828c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 838c2ecf20Sopenharmony_ci regulator-boot-on; 848c2ecf20Sopenharmony_ci }; 858c2ecf20Sopenharmony_ci 868c2ecf20Sopenharmony_ci ldo3: LDO3 { 878c2ecf20Sopenharmony_ci regulator-name = "ldo3"; 888c2ecf20Sopenharmony_ci regulator-min-microvolt = <1650000>; 898c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 908c2ecf20Sopenharmony_ci }; 918c2ecf20Sopenharmony_ci led_ldo1: LED_LDO1 { 928c2ecf20Sopenharmony_ci regulator-name = "led_ldo1"; 938c2ecf20Sopenharmony_ci regulator-min-microvolt = <200000>; 948c2ecf20Sopenharmony_ci regulator-max-microvolt = <300000>; 958c2ecf20Sopenharmony_ci }; 968c2ecf20Sopenharmony_ci led_ldo2: LED_LDO2 { 978c2ecf20Sopenharmony_ci regulator-name = "led_ldo2"; 988c2ecf20Sopenharmony_ci regulator-min-microvolt = <200000>; 998c2ecf20Sopenharmony_ci regulator-max-microvolt = <300000>; 1008c2ecf20Sopenharmony_ci }; 1018c2ecf20Sopenharmony_ci }; 1028c2ecf20Sopenharmony_ci}; 103