]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: sun4i: Enable i2c1 and i2c2 on the Chuwi V7-CW0825 tablet
authorHans de Goede <hdegoede@redhat.com>
Sat, 8 Aug 2015 15:38:54 +0000 (17:38 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 13 Sep 2015 12:21:17 +0000 (14:21 +0200)
i2c1 has a freescale mma7660 accelerometer connected to it at addr 0x4c,
i2c2 has a ft5x touchscreen connected to it at addr 0x38.

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-chuwi-v7-cw0825.dts

index 1430568726501e6283cca376d8619a548952f27c..53660894ea95ebb953446caf650f43526e0f7a8a 100644 (file)
        };
 };
 
+&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_vcc3v0>;
        status = "okay";