diff options
author | Walter Lozano <walter@vanguardiasur.com.ar> | 2015-04-21 08:35:53 +0300 |
---|---|---|
committer | Dinh Nguyen <dinguyen@opensource.altera.com> | 2015-05-11 21:14:58 +0300 |
commit | bf513bf04660321eb6181082def79ee1fd93b48f (patch) | |
tree | 4274f45e5606d9f11e71db7049e573e7ebbd0e14 /arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | |
parent | 5ebe6afaf0057ac3eaeb98defd5456894b446d22 (diff) | |
download | linux-bf513bf04660321eb6181082def79ee1fd93b48f.tar.xz |
ARM: socfpga: dts: Add adxl34x
This patch adds the DTS bindings for the adxl34x digital
accelerometer.
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>
Diffstat (limited to 'arch/arm/boot/dts/socfpga_cyclone5_sockit.dts')
-rw-r--r-- | arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts index 16ea6f5f2ab8..71468a7eb28f 100644 --- a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts +++ b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts @@ -68,3 +68,19 @@ &usb1 { status = "okay"; }; + +&gpio2 { + status = "okay"; +}; + +&i2c1{ + status = "okay"; + + accel1: accel1@53{ + compatible = "adxl34x"; + reg = <0x53>; + + interrupt-parent = < &portc >; + interrupts = <3 2>; + }; +}; |