Browse Source

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>
Walter Lozano 10 years ago
parent
commit
c96af07701
1 changed files with 4 additions and 4 deletions
  1. 4 4
      arch/arm/boot/dts/socfpga_cyclone5_sockit.dts

+ 4 - 4
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>;
 	};
 };