提交 bf513bf0 编写于 作者: W Walter Lozano 提交者: Dinh Nguyen

ARM: socfpga: dts: Add adxl34x

This patch adds the DTS bindings for the adxl34x digital
accelerometer.
Signed-off-by: NWalter Lozano <walter@vanguardiasur.com.ar>
Acked-by: NSteffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: NDinh Nguyen <dinguyen@opensource.altera.com>
上级 5ebe6afa
...@@ -68,3 +68,19 @@ ...@@ -68,3 +68,19 @@
&usb1 { &usb1 {
status = "okay"; status = "okay";
}; };
&gpio2 {
status = "okay";
};
&i2c1{
status = "okay";
accel1: accel1@53{
compatible = "adxl34x";
reg = <0x53>;
interrupt-parent = < &portc >;
interrupts = <3 2>;
};
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册