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 909fde9..77c31da 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";