ARM: dts: sun4i: inet97fv2: Enable i2c1 and i2c2 controllers
authorHans de Goede <hdegoede@redhat.com>
Sun, 23 Aug 2015 22:37:26 +0000 (00:37 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 27 Sep 2015 08:21:20 +0000 (10:21 +0200)
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>
arch/arm/boot/dts/sun4i-a10-inet97fv2.dts

index 909fde9edfed32c5d0822da9c2ca5c4fa1776c96..77c31dab86b137d44fac84aec557587b0b594fe7 100644 (file)
 
 #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";