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>
This commit is contained in:
parent
d770e558e2
commit
c96af07701
@ -73,14 +73,14 @@ &gpio2 {
|
||||
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>;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user