diff options
author | Carlo Caione <carlo@caione.org> | 2014-06-30 17:57:53 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-07-01 03:48:54 -0400 |
commit | ec0c933d972ba69f06251f7d215723f61535fc16 (patch) | |
tree | ab37a2afceda5e4791be282ab8348ff3b84b047a /arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | |
parent | e288f1bac490791e7564474b89b7c48ee537b6a7 (diff) |
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-olinuxino-micro.dts')
-rw-r--r-- | arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts index b759630bc9a9..9d669cdf031d 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | |||
@@ -122,6 +122,16 @@ | |||
122 | pinctrl-names = "default"; | 122 | pinctrl-names = "default"; |
123 | pinctrl-0 = <&i2c0_pins_a>; | 123 | pinctrl-0 = <&i2c0_pins_a>; |
124 | status = "okay"; | 124 | status = "okay"; |
125 | |||
126 | axp209: pmic@34 { | ||
127 | compatible = "x-powers,axp209"; | ||
128 | reg = <0x34>; | ||
129 | interrupt-parent = <&nmi_intc>; | ||
130 | interrupts = <0 8>; | ||
131 | |||
132 | interrupt-controller; | ||
133 | #interrupt-cells = <1>; | ||
134 | }; | ||
125 | }; | 135 | }; |
126 | 136 | ||
127 | i2c1: i2c@01c2b000 { | 137 | i2c1: i2c@01c2b000 { |