From: Michael van Slingerland Date: Fri, 20 Nov 2015 13:59:10 +0000 (+0100) Subject: ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards X-Git-Tag: v4.14-rc1~3962^2~16^2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9bb9aedb04986e55f269484556330f5b74d76ff;p=platform%2Fkernel%2Flinux-rpi.git ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards Add a node describing the AXP152 pmic used on Auxtek T004 boards. Acked-by: Chen-Yu Tsai Signed-off-by: Michael van Slingerland Signed-off-by: Hans de Goede Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts b/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts index 2b3511e..a790ec8 100644 --- a/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts +++ b/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts @@ -86,6 +86,20 @@ 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>;