summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Lozano <walter@vanguardiasur.com.ar>2015-06-26 04:25:57 +0200
committerDinh Nguyen <dinguyen@opensource.altera.com>2015-07-07 15:54:20 +0200
commitc96af077016bc2e0e36a107e31910395fc677f57 (patch)
treeefa4c9478073507fcd342de01702939914d47a09
parentLinux 4.2-rc1 (diff)
downloadlinux-c96af077016bc2e0e36a107e31910395fc677f57.tar.xz
linux-c96af077016bc2e0e36a107e31910395fc677f57.zip
ARM: socfpga: dts: Fix adxl34x formating and compatible string
This patch fixes the formating of DTS bindings for the adxl34x digital accelerometer, and updates the compatible string after the deprecation of "adxl345x" compatible string. Signed-off-by: Walter Lozano <walter@vanguardiasur.com.ar> Acked-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
-rw-r--r--arch/arm/boot/dts/socfpga_cyclone5_sockit.dts8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
index 71468a7eb28f..1ae608223354 100644
--- a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
+++ b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
@@ -73,14 +73,14 @@
status = "okay";
};
-&i2c1{
+&i2c1 {
status = "okay";
- accel1: accel1@53{
- compatible = "adxl34x";
+ accel1: accelerometer@53 {
+ compatible = "adi,adxl345";
reg = <0x53>;
- interrupt-parent = < &portc >;
+ interrupt-parent = <&portc>;
interrupts = <3 2>;
};
};