86 lines · plain
1* Marvell 88PM860x Power Management IC2 3Required parent device properties:4- compatible : "marvell,88pm860x"5- reg : the I2C slave address for the 88pm860x chip6- interrupts : IRQ line for the 88pm860x chip7- interrupt-controller: describes the 88pm860x as an interrupt controller (has its own domain)8- #interrupt-cells : should be 1.9 - The cell is the 88pm860x local IRQ number10 11Optional parent device properties:12- marvell,88pm860x-irq-read-clr: inicates whether interrupt status is cleared by read13- marvell,88pm860x-slave-addr: 88pm860x are two chips solution. <reg> stores the I2C address14 of one chip, and this property stores the I2C address of15 another chip.16 1788pm860x consists of a large and varied group of sub-devices:18 19Device Supply Names Description20------ ------------ -----------2188pm860x-onkey : : On key2288pm860x-rtc : : RTC2388pm8607 : : Regulators2488pm860x-backlight : : Backlight2588pm860x-led : : Led2688pm860x-touch : : Touchscreen27 28Example:29 30 pmic: 88pm860x@34 {31 compatible = "marvell,88pm860x";32 reg = <0x34>;33 interrupts = <4>;34 interrupt-parent = <&intc>;35 interrupt-controller;36 #interrupt-cells = <1>;37 38 marvell,88pm860x-irq-read-clr;39 marvell,88pm860x-slave-addr = <0x11>;40 41 regulators {42 BUCK1 {43 regulator-min-microvolt = <1000000>;44 regulator-max-microvolt = <1500000>;45 regulator-boot-on;46 regulator-always-on;47 };48 LDO1 {49 regulator-min-microvolt = <1200000>;50 regulator-max-microvolt = <2800000>;51 regulator-boot-on;52 regulator-always-on;53 };54 };55 rtc {56 marvell,88pm860x-vrtc = <1>;57 };58 touch {59 marvell,88pm860x-gpadc-prebias = <1>;60 marvell,88pm860x-gpadc-slot-cycle = <1>;61 marvell,88pm860x-tsi-prebias = <6>;62 marvell,88pm860x-pen-prebias = <16>;63 marvell,88pm860x-pen-prechg = <2>;64 marvell,88pm860x-resistor-X = <300>;65 };66 backlights {67 backlight-0 {68 marvell,88pm860x-iset = <4>;69 marvell,88pm860x-pwm = <3>;70 };71 backlight-2 {72 };73 };74 leds {75 led0-red {76 marvell,88pm860x-iset = <12>;77 };78 led0-green {79 marvell,88pm860x-iset = <12>;80 };81 led0-blue {82 marvell,88pm860x-iset = <12>;83 };84 };85 };86