]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sun6i: hummingbird: Add AXP221 PMIC device node
authorChen-Yu Tsai <wens@csie.org>
Tue, 10 Mar 2015 11:59:16 +0000 (19:59 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 27 Apr 2015 06:20:28 +0000 (08:20 +0200)
The Hummingbird A31 has an AXP221 PMIC hooked up to the
P2WI controller.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun6i-a31-hummingbird.dts

index 533bedc5dd95ac0985349dfdd4c87bdc2fca8ae1..486ffc69ac964216eeedc32e8bb576268d2715da 100644 (file)
@@ -142,6 +142,15 @@ mmc0_cd_pin_hummingbird: mmc0_cd_pin@0 {
 
 &p2wi {
        status = "okay";
+
+       axp221: pmic@68 {
+               compatible = "x-powers,axp221";
+               reg = <0x68>;
+               interrupt-parent = <&nmi_intc>;
+               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupt-controller;
+               #interrupt-cells = <1>;
+       };
 };
 
 &reg_usb1_vbus {