summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap3-gta04a3.dts
diff options
context:
space:
mode:
authorMarek Belisko <marek@goldelico.com>2014-07-28 21:53:32 +0200
committerTony Lindgren <tony@atomide.com>2014-07-30 08:50:53 +0200
commit4cf64060a6ee4c2ab609fb915d924bdc98805875 (patch)
treeef8070114a7f30a757662ecb27d55d8997fc8805 /arch/arm/boot/dts/omap3-gta04a3.dts
parentARM: dts: omap3-gta04: Rename gta04.dts to gta04.dtsi and add a4 model (diff)
downloadlinux-4cf64060a6ee4c2ab609fb915d924bdc98805875.tar.xz
linux-4cf64060a6ee4c2ab609fb915d924bdc98805875.zip
ARM: dts: Add gta04a3 model
Add gta04a3 model with additional acceleromer. Signed-off-by: Marek Belisko <marek@goldelico.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-gta04a3.dts')
-rw-r--r--arch/arm/boot/dts/omap3-gta04a3.dts48
1 files changed, 48 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-gta04a3.dts b/arch/arm/boot/dts/omap3-gta04a3.dts
new file mode 100644
index 000000000000..3099a892cf50
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-gta04a3.dts
@@ -0,0 +1,48 @@
+/*
+ * Copyright (C) 2014 H. Nikolaus Schaller <hns@goldelico.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "omap3-gta04.dtsi"
+
+/ {
+ model = "Goldelico GTA04A3";
+};
+
+&i2c2 {
+
+ /* alternate accelerometer that might be installed on some GTA04A3 boards */
+ lis302@1d {
+ compatible = "st,lis331dlh", "st,lis3lv02d";
+ reg = <0x1d>;
+ interrupt-parent = <&gpio3>;
+ interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
+ Vdd-supply = <&vaux2>;
+ Vdd_IO-supply = <&vaux2>;
+
+ st,click-single-x;
+ st,click-single-y;
+ st,click-single-z;
+ st,click-thresh-x = <8>;
+ st,click-thresh-y = <8>;
+ st,click-thresh-z = <10>;
+ st,click-click-time-limit = <9>;
+ st,click-latency = <50>;
+ st,irq1-click;
+ st,wakeup-x-lo;
+ st,wakeup-x-hi;
+ st,wakeup-y-lo;
+ st,wakeup-y-hi;
+ st,wakeup-z-lo;
+ st,wakeup-z-hi;
+ st,min-limit-x = <32>;
+ st,min-limit-y = <3>;
+ st,min-limit-z = <3>;
+ st,max-limit-x = <3>;
+ st,max-limit-y = <32>;
+ st,max-limit-z = <32>;
+ };
+};