Browse Source

ARM: dts: lpc4357-ea4357: add mma7455 i2c accelerometer

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>
Joachim Eastwood 9 years ago
parent
commit
a086dfe5bf
1 changed files with 5 additions and 0 deletions
  1. 5 0
      arch/arm/boot/dts/lpc4357-ea4357-devkit.dts

+ 5 - 0
arch/arm/boot/dts/lpc4357-ea4357-devkit.dts

@@ -467,6 +467,11 @@
 	pinctrl-0 = <&i2c0_pins>;
 	clock-frequency = <400000>;
 
+	mma7455@1d {
+		compatible = "fsl,mma7455";
+		reg = <0x1d>;
+	};
+
 	lm75@48 {
 		compatible = "nxp,lm75";
 		reg = <0x48>;