linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: socfpga: dts: Add adxl34x
@ 2014-12-24 23:11 Walter Lozano
  2015-01-02  5:11 ` Pavel Machek
  2015-01-05  9:21 ` Steffen Trumtrar
  0 siblings, 2 replies; 11+ messages in thread
From: Walter Lozano @ 2014-12-24 23:11 UTC (permalink / raw)
  To: linux-arm-kernel

This patch adds the DTS bindings for the adxl34x digital
accelerometer.

Signed-off-by: Walter Lozano <walter@vanguardiasur.com.ar>
---
 arch/arm/boot/dts/socfpga_cyclone5_sockit.dts |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
index 16ea6f5..d343e03 100644
--- a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
+++ b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
@@ -60,6 +60,22 @@
 	rxc-skew-ps = <2000>;
 };
 
+&gpio2 {
+	status = "okay";
+};
+
+&i2c1 {
+	status = "okay";
+
+	accel1: accelerometer at 53 {
+		compatible = "adxl34x";
+		reg = <0x53>;
+
+		interrupt-parent = <&portc>;
+		interrupts = <3 2>;
+	};
+};
+
 &mmc0 {
 	vmmc-supply = <&regulator_3_3v>;
 	vqmmc-supply = <&regulator_3_3v>;
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-06-25 17:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-24 23:11 [PATCH v2] ARM: socfpga: dts: Add adxl34x Walter Lozano
2015-01-02  5:11 ` Pavel Machek
2015-01-05  9:21 ` Steffen Trumtrar
2015-03-16 13:10   ` Walter Lozano
2015-03-19 21:27     ` Walter Lozano
2015-03-23  3:03       ` Dinh Nguyen
2015-03-24  2:29         ` Walter Lozano
2015-06-23 20:20           ` Walter Lozano
2015-06-25  7:28             ` Geert Uytterhoeven
2015-06-25 17:01               ` Walter Lozano
2015-06-25 17:05                 ` Dinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).