summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-09-19 12:39:25 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-09-21 11:48:09 +0300
commit90cb4b8c7e3af989c78227954e01455fc7c1e767 (patch)
tree0888ebfab8f44fc98b5dc65c5fc9dcf8dac0da3c /arch/arm
parentfef377702efc6c6ecab0c323dd72ede4a32fcb02 (diff)
downloadlinux-90cb4b8c7e3af989c78227954e01455fc7c1e767.tar.gz
linux-90cb4b8c7e3af989c78227954e01455fc7c1e767.tar.bz2
linux-90cb4b8c7e3af989c78227954e01455fc7c1e767.zip
ARM: dts: sun8i: Add accelerometer to polaroid-mid2407pxe03
Add a dt node describing the mma7660 accelerometer on the polaroid-mid2407pxe03 tablet. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/sun8i-a23-polaroid-mid2407pxe03.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a23-polaroid-mid2407pxe03.dts b/arch/arm/boot/dts/sun8i-a23-polaroid-mid2407pxe03.dts
index 6662127c688f..a86cbedda34c 100644
--- a/arch/arm/boot/dts/sun8i-a23-polaroid-mid2407pxe03.dts
+++ b/arch/arm/boot/dts/sun8i-a23-polaroid-mid2407pxe03.dts
@@ -62,6 +62,13 @@
};
};
+&i2c1 {
+ mma7660: accelerometer@4c {
+ reg = <0x4c>;
+ compatible = "fsl,mma7660";
+ };
+};
+
&mmc1 {
pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins_a>;