18c2ecf20Sopenharmony_ci* Marvell 88PM860x Power Management IC 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired parent device properties: 48c2ecf20Sopenharmony_ci- compatible : "marvell,88pm860x" 58c2ecf20Sopenharmony_ci- reg : the I2C slave address for the 88pm860x chip 68c2ecf20Sopenharmony_ci- interrupts : IRQ line for the 88pm860x chip 78c2ecf20Sopenharmony_ci- interrupt-controller: describes the 88pm860x as an interrupt controller (has its own domain) 88c2ecf20Sopenharmony_ci- #interrupt-cells : should be 1. 98c2ecf20Sopenharmony_ci - The cell is the 88pm860x local IRQ number 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciOptional parent device properties: 128c2ecf20Sopenharmony_ci- marvell,88pm860x-irq-read-clr: inicates whether interrupt status is cleared by read 138c2ecf20Sopenharmony_ci- marvell,88pm860x-slave-addr: 88pm860x are two chips solution. <reg> stores the I2C address 148c2ecf20Sopenharmony_ci of one chip, and this property stores the I2C address of 158c2ecf20Sopenharmony_ci another chip. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci88pm860x consists of a large and varied group of sub-devices: 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciDevice Supply Names Description 208c2ecf20Sopenharmony_ci------ ------------ ----------- 218c2ecf20Sopenharmony_ci88pm860x-onkey : : On key 228c2ecf20Sopenharmony_ci88pm860x-rtc : : RTC 238c2ecf20Sopenharmony_ci88pm8607 : : Regulators 248c2ecf20Sopenharmony_ci88pm860x-backlight : : Backlight 258c2ecf20Sopenharmony_ci88pm860x-led : : Led 268c2ecf20Sopenharmony_ci88pm860x-touch : : Touchscreen 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ciExample: 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci pmic: 88pm860x@34 { 318c2ecf20Sopenharmony_ci compatible = "marvell,88pm860x"; 328c2ecf20Sopenharmony_ci reg = <0x34>; 338c2ecf20Sopenharmony_ci interrupts = <4>; 348c2ecf20Sopenharmony_ci interrupt-parent = <&intc>; 358c2ecf20Sopenharmony_ci interrupt-controller; 368c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci marvell,88pm860x-irq-read-clr; 398c2ecf20Sopenharmony_ci marvell,88pm860x-slave-addr = <0x11>; 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci regulators { 428c2ecf20Sopenharmony_ci BUCK1 { 438c2ecf20Sopenharmony_ci regulator-min-microvolt = <1000000>; 448c2ecf20Sopenharmony_ci regulator-max-microvolt = <1500000>; 458c2ecf20Sopenharmony_ci regulator-boot-on; 468c2ecf20Sopenharmony_ci regulator-always-on; 478c2ecf20Sopenharmony_ci }; 488c2ecf20Sopenharmony_ci LDO1 { 498c2ecf20Sopenharmony_ci regulator-min-microvolt = <1200000>; 508c2ecf20Sopenharmony_ci regulator-max-microvolt = <2800000>; 518c2ecf20Sopenharmony_ci regulator-boot-on; 528c2ecf20Sopenharmony_ci regulator-always-on; 538c2ecf20Sopenharmony_ci }; 548c2ecf20Sopenharmony_ci }; 558c2ecf20Sopenharmony_ci rtc { 568c2ecf20Sopenharmony_ci marvell,88pm860x-vrtc = <1>; 578c2ecf20Sopenharmony_ci }; 588c2ecf20Sopenharmony_ci touch { 598c2ecf20Sopenharmony_ci marvell,88pm860x-gpadc-prebias = <1>; 608c2ecf20Sopenharmony_ci marvell,88pm860x-gpadc-slot-cycle = <1>; 618c2ecf20Sopenharmony_ci marvell,88pm860x-tsi-prebias = <6>; 628c2ecf20Sopenharmony_ci marvell,88pm860x-pen-prebias = <16>; 638c2ecf20Sopenharmony_ci marvell,88pm860x-pen-prechg = <2>; 648c2ecf20Sopenharmony_ci marvell,88pm860x-resistor-X = <300>; 658c2ecf20Sopenharmony_ci }; 668c2ecf20Sopenharmony_ci backlights { 678c2ecf20Sopenharmony_ci backlight-0 { 688c2ecf20Sopenharmony_ci marvell,88pm860x-iset = <4>; 698c2ecf20Sopenharmony_ci marvell,88pm860x-pwm = <3>; 708c2ecf20Sopenharmony_ci }; 718c2ecf20Sopenharmony_ci backlight-2 { 728c2ecf20Sopenharmony_ci }; 738c2ecf20Sopenharmony_ci }; 748c2ecf20Sopenharmony_ci leds { 758c2ecf20Sopenharmony_ci led0-red { 768c2ecf20Sopenharmony_ci marvell,88pm860x-iset = <12>; 778c2ecf20Sopenharmony_ci }; 788c2ecf20Sopenharmony_ci led0-green { 798c2ecf20Sopenharmony_ci marvell,88pm860x-iset = <12>; 808c2ecf20Sopenharmony_ci }; 818c2ecf20Sopenharmony_ci led0-blue { 828c2ecf20Sopenharmony_ci marvell,88pm860x-iset = <12>; 838c2ecf20Sopenharmony_ci }; 848c2ecf20Sopenharmony_ci }; 858c2ecf20Sopenharmony_ci }; 86