aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorFlorian Vaussard <florian.vaussard@epfl.ch>2014-03-11 08:20:30 -0400
committerTony Lindgren <tony@atomide.com>2014-03-12 13:21:12 -0400
commit72a5cf147d65271c65ae1c864ba130d817e12aea (patch)
tree7107673ec739870577d78b9a875397347bc295bc /arch/arm
parent385306cc3ec98e2e4bccf3391da5b3dd0a26edb6 (diff)
ARM: dts: overo: Add LIS33DE accelerometer
The LIS33DE accelerometer is used on several Gumstix expansion boards, thus add the DT node to omap3-overo-common-peripherals.dtsi. For the boards that do not have the accelerometer (like Tobi), mark the status as disabled. Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi44
-rw-r--r--arch/arm/boot/dts/omap3-overo-tobi-common.dtsi4
2 files changed, 48 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi b/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
index bca81ae0e646..5831bcc52966 100644
--- a/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
+++ b/arch/arm/boot/dts/omap3-overo-common-peripherals.dtsi
@@ -10,6 +10,22 @@
10 * Peripherals common to all Gumstix Overo boards (Tobi, Summit, Palo43,...) 10 * Peripherals common to all Gumstix Overo boards (Tobi, Summit, Palo43,...)
11 */ 11 */
12 12
13/ {
14 lis33_3v3: lis33-3v3-reg {
15 compatible = "regulator-fixed";
16 regulator-name = "lis33-3v3-reg";
17 regulator-min-microvolt = <3300000>;
18 regulator-max-microvolt = <3300000>;
19 };
20
21 lis33_1v8: lis33-1v8-reg {
22 compatible = "regulator-fixed";
23 regulator-name = "lis33-1v8-reg";
24 regulator-min-microvolt = <1800000>;
25 regulator-max-microvolt = <1800000>;
26 };
27};
28
13&omap3_pmx_core { 29&omap3_pmx_core {
14 i2c3_pins: pinmux_i2c3_pins { 30 i2c3_pins: pinmux_i2c3_pins {
15 pinctrl-single,pins = < 31 pinctrl-single,pins = <
@@ -37,6 +53,34 @@
37 reg = <0x51>; 53 reg = <0x51>;
38 pagesize = <8>; 54 pagesize = <8>;
39 }; 55 };
56
57 lis33de: lis33de@1d {
58 compatible = "st,lis33de", "st,lis3lv02d";
59 reg = <0x1d>;
60 Vdd-supply = <&lis33_1v8>;
61 Vdd_IO-supply = <&lis33_3v3>;
62
63 st,click-single-x;
64 st,click-single-y;
65 st,click-single-z;
66 st,click-thresh-x = <10>;
67 st,click-thresh-y = <10>;
68 st,click-thresh-z = <10>;
69 st,irq1-click;
70 st,irq2-click;
71 st,wakeup-x-lo;
72 st,wakeup-x-hi;
73 st,wakeup-y-lo;
74 st,wakeup-y-hi;
75 st,wakeup-z-lo;
76 st,wakeup-z-hi;
77 st,min-limit-x = <120>;
78 st,min-limit-y = <120>;
79 st,min-limit-z = <140>;
80 st,max-limit-x = <550>;
81 st,max-limit-y = <550>;
82 st,max-limit-z = <750>;
83 };
40}; 84};
41 85
42&mmc3 { 86&mmc3 {
diff --git a/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi b/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
index 060eb7710870..13df50b39442 100644
--- a/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
+++ b/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
@@ -35,3 +35,7 @@
35 }; 35 };
36}; 36};
37 37
38&lis33de {
39 status = "disabled";
40};
41