ARM: dts: sun8i: Add accelerometer to polaroid-mid2407pxe03
authorHans de Goede <hdegoede@redhat.com>
Mon, 19 Sep 2016 10:39:25 +0000 (12:39 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 21 Sep 2016 08:48:09 +0000 (11:48 +0300)
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>
arch/arm/boot/dts/sun8i-a23-polaroid-mid2407pxe03.dts

index 6662127c688f4af2cfb25cd1c212d2bfc1b25c6b..a86cbedda34cd9e373f798a91890d9e8a069abf1 100644 (file)
        };
 };
 
+&i2c1 {
+       mma7660: accelerometer@4c {
+               reg = <0x4c>;
+               compatible = "fsl,mma7660";
+       };
+};
+
 &mmc1 {
        pinctrl-names = "default";
        pinctrl-0 = <&mmc1_pins_a>;