summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2015-03-10 12:59:16 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-04-27 08:20:28 +0200
commit81bc1d38a4f83aa3bee0795c212f829b3cd23ae1 (patch)
treec61908ee2e661913957565c045f3db90e3fbb99b /arch/arm/boot/dts/sun6i-a31-hummingbird.dts
parentARM: dts: sun6i: hummingbird: Enable P2WI controller (diff)
downloadlinux-81bc1d38a4f83aa3bee0795c212f829b3cd23ae1.tar.xz
linux-81bc1d38a4f83aa3bee0795c212f829b3cd23ae1.zip
ARM: dts: sun6i: hummingbird: Add AXP221 PMIC device node
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>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31-hummingbird.dts')
-rw-r--r--arch/arm/boot/dts/sun6i-a31-hummingbird.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
index 533bedc5dd95..486ffc69ac96 100644
--- a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
+++ b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
@@ -142,6 +142,15 @@
&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 {