ARM: dts: lpc4357-ea4357: add mma7455 i2c accelerometer
authorJoachim Eastwood <manabian@gmail.com>
Sat, 24 Oct 2015 18:28:25 +0000 (20:28 +0200)
committerJoachim Eastwood <manabian@gmail.com>
Mon, 14 Dec 2015 22:13:05 +0000 (23:13 +0100)
Add Freescale MMA7455 3-axis I2C accelerometer as found on
Embedded Artists' LPC4357 Developer's Kit to the device tree.

This makes it possible to access the accelerometer through
the API provided by IIO.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
arch/arm/boot/dts/lpc4357-ea4357-devkit.dts

index 391121d..079d3cf 100644 (file)
        pinctrl-0 = <&i2c0_pins>;
        clock-frequency = <400000>;
 
+       mma7455@1d {
+               compatible = "fsl,mma7455";
+               reg = <0x1d>;
+       };
+
        lm75@48 {
                compatible = "nxp,lm75";
                reg = <0x48>;