ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards
authorMichael van Slingerland <michael@deviousops.nl>
Fri, 20 Nov 2015 13:59:10 +0000 (14:59 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 20 Nov 2015 16:41:57 +0000 (17:41 +0100)
Add a node describing the AXP152 pmic used on Auxtek T004 boards.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Michael van Slingerland <michael@deviousops.nl>
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-auxtek-t004.dts

index 2b3511e..a790ec8 100644 (file)
        status = "okay";
 };
 
+&i2c0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&i2c0_pins_a>;
+       status = "okay";
+
+       axp152: pmic@30 {
+               compatible = "x-powers,axp152";
+               reg = <0x30>;
+               interrupts = <0>;
+               interrupt-controller;
+               #interrupt-cells = <1>;
+       };
+};
+
 &mmc0 {
        pinctrl-names = "default";
        pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_t004>;