summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorWalter Lozano <walter@vanguardiasur.com.ar>2015-06-26 02:25:57 +0000
committerDinh Nguyen <dinguyen@opensource.altera.com>2015-07-07 08:54:20 -0500
commitc96af077016bc2e0e36a107e31910395fc677f57 (patch)
treeefa4c9478073507fcd342de01702939914d47a09 /arch/arm
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff)
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>
Diffstat (limited to 'arch/arm')
-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>;
};
};