]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: sun6i: Add accelerometer on Columbus A31
authorSander Vermin <sander@vermin.nl>
Sun, 13 Sep 2015 18:26:01 +0000 (20:26 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 27 Sep 2015 08:21:27 +0000 (10:21 +0200)
Add mma8452 accelerometer to sun6i-a31-colombus.dts.

Signed-off-by: Sander Vermin <sander@vermin.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun6i-a31-colombus.dts

index 8843420a4cba9d75367041e5e23ad16a6f631462..813f715eff5c8b03c8b8fd7cdc447e0aa919fd55 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&i2c2_pins_a>;
        status = "okay";
+
+       mma8452: mma8452@1d {
+               compatible = "fsl,mma8452";
+               reg = <0x1d>;
+               interrupt-parent = <&pio>;
+               interrupts = <0 9 IRQ_TYPE_LEVEL_LOW>; /* PA9 */
+       };
 };
 
 &mmc0 {