Skip to content

Commit

Permalink
ARM: socfpga: dts: Fix adxl34x formating and compatible string
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Walter Lozano authored and Dinh Nguyen committed Jul 7, 2015
1 parent d770e55 commit c96af07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
};

0 comments on commit c96af07

Please sign in to comment.