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 533bedc..486ffc6 100644 (file)
 
 &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 {