summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-08-08 18:38:54 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-09-13 15:21:17 +0300
commitbcbf506d777d2627cb8f68755816fab04eb8b852 (patch)
treeea2720a3d19b6b00d931c6711fcf174cb0563954 /arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
parentfec794c7717eaf724542c56fda5f7090f23cefab (diff)
downloadlinux-bcbf506d777d2627cb8f68755816fab04eb8b852.tar.xz
ARM: dts: sun4i: Enable i2c1 and i2c2 on the Chuwi V7-CW0825 tablet
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>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts b/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
index 143056872650..53660894ea95 100644
--- a/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
+++ b/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
@@ -78,6 +78,18 @@
};
};
+&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";