Commit c96af077 authored by Walter Lozano's avatar Walter Lozano Committed by Dinh Nguyen

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: default avatarWalter Lozano <walter@vanguardiasur.com.ar>
Acked-by: default avatarSteffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: default avatarDinh Nguyen <dinguyen@opensource.altera.com>
parent d770e558
...@@ -73,14 +73,14 @@ &gpio2 { ...@@ -73,14 +73,14 @@ &gpio2 {
status = "okay"; status = "okay";
}; };
&i2c1{ &i2c1 {
status = "okay"; status = "okay";
accel1: accel1@53{ accel1: accelerometer@53 {
compatible = "adxl34x"; compatible = "adi,adxl345";
reg = <0x53>; reg = <0x53>;
interrupt-parent = < &portc >; interrupt-parent = <&portc>;
interrupts = <3 2>; interrupts = <3 2>;
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment