OSDN Git Service

ARM: dts: A10s-OLinuxIno: Add a node for axp152 pmic
authorMichal Suchanek <hramrach@gmail.com>
Tue, 23 Jun 2015 19:41:43 +0000 (21:41 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 9 Jul 2015 08:10:23 +0000 (10:10 +0200)
Add a node for axp152 pmic used on the A10s-OLinuxIno SBC.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts

index a7e19e4..7b26e17 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&i2c0_pins_a>;
        status = "okay";
+
+       axp152: pmic@30 {
+               reg = <0x30>;
+               interrupts = <0>;
+       };
 };
 
+#include "axp152.dtsi"
+
 &i2c1 {
        pinctrl-names = "default";
        pinctrl-0 = <&i2c1_pins_a>;