]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 391121d24daa390a46b1d431123a6ebdd59ac7ba..079d3cf8c00bd3632139af827ede45fc7e5ecfca 100644 (file)
        pinctrl-0 = <&i2c0_pins>;
        clock-frequency = <400000>;
 
+       mma7455@1d {
+               compatible = "fsl,mma7455";
+               reg = <0x1d>;
+       };
+
        lm75@48 {
                compatible = "nxp,lm75";
                reg = <0x48>;