diff options
author | Sander Vermin <sander@vermin.nl> | 2015-09-13 21:26:01 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-09-27 11:21:27 +0300 |
commit | 5d97c677a94ea701650b642b3425b46d993e2af7 (patch) | |
tree | 40888e33364edd803c0390ed25de327d5751d493 /arch/arm/boot/dts/sun6i-a31-colombus.dts | |
parent | adfa06ce9bd30f8bc5439be49bcfaa7ceb1b6c2a (diff) | |
download | linux-5d97c677a94ea701650b642b3425b46d993e2af7.tar.xz |
ARM: dts: sun6i: Add accelerometer on Columbus A31
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>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31-colombus.dts')
-rw-r--r-- | arch/arm/boot/dts/sun6i-a31-colombus.dts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-colombus.dts b/arch/arm/boot/dts/sun6i-a31-colombus.dts index 8843420a4cba..813f715eff5c 100644 --- a/arch/arm/boot/dts/sun6i-a31-colombus.dts +++ b/arch/arm/boot/dts/sun6i-a31-colombus.dts @@ -92,6 +92,13 @@ 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 { |