From: Joachim Eastwood Date: Sat, 24 Oct 2015 18:28:25 +0000 (+0200) Subject: ARM: dts: lpc4357-ea4357: add mma7455 i2c accelerometer X-Git-Tag: v4.5-rc1~43^2~22^2~2 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=a086dfe5bfd625cab32da405dfde877ab2f577a6;p=linux.git 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 --- diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts index 391121d24daa..079d3cf8c00b 100644 --- a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts +++ b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts @@ -467,6 +467,11 @@ &i2c0 { pinctrl-0 = <&i2c0_pins>; clock-frequency = <400000>; + mma7455@1d { + compatible = "fsl,mma7455"; + reg = <0x1d>; + }; + lm75@48 { compatible = "nxp,lm75"; reg = <0x48>;