summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
diff options
context:
space:
mode:
authorCarlo Caione <carlo@caione.org>2014-06-30 23:57:53 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-07-01 09:48:54 +0200
commitec0c933d972ba69f06251f7d215723f61535fc16 (patch)
treeab37a2afceda5e4791be282ab8348ff3b84b047a /arch/arm/boot/dts/sun7i-a20-cubietruck.dts
parente288f1bac490791e7564474b89b7c48ee537b6a7 (diff)
downloadblackbird-op-linux-ec0c933d972ba69f06251f7d215723f61535fc16.tar.gz
blackbird-op-linux-ec0c933d972ba69f06251f7d215723f61535fc16.zip
ARM: dts: sun7i: Add AXP209 support to various boards
At a node for the axp209, and where necessary the i2c controller to the dts for various boards. Note the axp209 regulators are omitted as we don't have any use for them yet, and on some boards were not sure how exactly they are wired up. Adding support for just the axp209 without the regulators is still useful, as it will give us power-button and poweroff support. Signed-off-by: Carlo Caione <carlo@caione.org> [hdegoede@redhat.com: Drop the regulator bits for now] Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-cubietruck.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-cubietruck.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index 96639d59e22c..a6c1a3c717bc 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -116,6 +116,16 @@
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins_a>;
status = "okay";
+
+ axp209: pmic@34 {
+ compatible = "x-powers,axp209";
+ reg = <0x34>;
+ interrupt-parent = <&nmi_intc>;
+ interrupts = <0 8>;
+
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ };
};
i2c1: i2c@01c2b000 {
OpenPOWER on IntegriCloud