summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun4i-a10-inet97fv2.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-08-24 01:37:26 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-09-27 11:21:20 +0300
commitff9dc0b93b7ef0e3b431d76cbc6d4babb6a0dabb (patch)
tree81a4374f7568de70af003bd28310ef4567c45411 /arch/arm/boot/dts/sun4i-a10-inet97fv2.dts
parent2d4f66355b37b149efb63887226f3bb71342b5aa (diff)
downloadlinux-ff9dc0b93b7ef0e3b431d76cbc6d4babb6a0dabb.tar.xz
ARM: dts: sun4i: inet97fv2: Enable i2c1 and i2c2 controllers
Enable i2c1 and i2c2 controllers, these are used for the touchscreen resp. the accelerometer. 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/sun4i-a10-inet97fv2.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-a10-inet97fv2.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-inet97fv2.dts b/arch/arm/boot/dts/sun4i-a10-inet97fv2.dts
index 909fde9edfed..77c31dab86b1 100644
--- a/arch/arm/boot/dts/sun4i-a10-inet97fv2.dts
+++ b/arch/arm/boot/dts/sun4i-a10-inet97fv2.dts
@@ -83,6 +83,18 @@
#include "axp209.dtsi"
+&i2c1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c1_pins_a>;
+ status = "okay";
+};
+
+&i2c2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c2_pins_a>;
+ status = "okay";
+};
+
&lradc {
vref-supply = <&reg_ldo2>;
status = "okay";