omap3-overo-common-peripherals.dtsi revision 284090
1283282Sjhb/*
2283282Sjhb * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
3283282Sjhb *
4283282Sjhb * This program is free software; you can redistribute it and/or modify
5283282Sjhb * it under the terms of the GNU General Public License version 2 as
6283282Sjhb * published by the Free Software Foundation.
7283282Sjhb */
8283282Sjhb
9283282Sjhb/*
10283282Sjhb * Peripherals common to all Gumstix Overo boards (Tobi, Summit, Palo43,...)
11283282Sjhb */
12283282Sjhb
13283282Sjhb/ {
14283282Sjhb	lis33_3v3: lis33-3v3-reg {
15283282Sjhb		compatible = "regulator-fixed";
16283282Sjhb		regulator-name = "lis33-3v3-reg";
17283282Sjhb		regulator-min-microvolt = <3300000>;
18283282Sjhb		regulator-max-microvolt = <3300000>;
19283282Sjhb	};
20283282Sjhb
21283282Sjhb	lis33_1v8: lis33-1v8-reg {
22283282Sjhb		compatible = "regulator-fixed";
23283282Sjhb		regulator-name = "lis33-1v8-reg";
24283282Sjhb		regulator-min-microvolt = <1800000>;
25283282Sjhb		regulator-max-microvolt = <1800000>;
26283282Sjhb	};
27283282Sjhb};
28283282Sjhb
29283282Sjhb&omap3_pmx_core {
30315949Sbadger	i2c3_pins: pinmux_i2c3_pins {
31315949Sbadger		pinctrl-single,pins = <
32315949Sbadger			OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0)	/* i2c3_scl.i2c3_scl */
33315949Sbadger			OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0)	/* i2c3_sda.i2c3_sda */
34315963Sbadger		>;
35283282Sjhb	};
36315949Sbadger
37315949Sbadger	uart3_pins: pinmux_uart3_pins {
38289780Sjhb		pinctrl-single,pins = <
39287604Sjhb			OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0)	/* uart3_rx_irrx.uart3_rx_irrx */
40287604Sjhb			OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0)	/* uart3_tx_irtx.uart3_tx_irtx */
41283282Sjhb		>;
42283282Sjhb	};
43315949Sbadger};
44289780Sjhb
45315949Sbadger&i2c3 {
46315949Sbadger	pinctrl-names = "default";
47283282Sjhb	pinctrl-0 = <&i2c3_pins>;
48287604Sjhb	clock-frequency = <100000>;
49283282Sjhb
50283282Sjhb	/* optional 1K EEPROM with revision information */
51283282Sjhb	eeprom@51 {
52283282Sjhb		compatible = "atmel,24c01";
53283282Sjhb		reg = <0x51>;
54287604Sjhb		pagesize = <8>;
55287604Sjhb	};
56287604Sjhb
57287604Sjhb	lis33de: lis33de@1d {
58287604Sjhb		compatible = "st,lis33de", "st,lis3lv02d";
59287604Sjhb		reg = <0x1d>;
60287604Sjhb		Vdd-supply = <&lis33_1v8>;
61287604Sjhb		Vdd_IO-supply = <&lis33_3v3>;
62287604Sjhb
63287604Sjhb		st,click-single-x;
64287604Sjhb		st,click-single-y;
65287604Sjhb		st,click-single-z;
66287604Sjhb		st,click-thresh-x = <10>;
67287604Sjhb		st,click-thresh-y = <10>;
68287604Sjhb		st,click-thresh-z = <10>;
69287604Sjhb		st,irq1-click;
70287604Sjhb		st,irq2-click;
71287604Sjhb		st,wakeup-x-lo;
72287604Sjhb		st,wakeup-x-hi;
73287604Sjhb		st,wakeup-y-lo;
74287604Sjhb		st,wakeup-y-hi;
75287604Sjhb		st,wakeup-z-lo;
76287604Sjhb		st,wakeup-z-hi;
77287604Sjhb		st,min-limit-x = <120>;
78287604Sjhb		st,min-limit-y = <120>;
79287604Sjhb		st,min-limit-z = <140>;
80287604Sjhb		st,max-limit-x = <550>;
81287604Sjhb		st,max-limit-y = <550>;
82287604Sjhb		st,max-limit-z = <750>;
83287604Sjhb	};
84287604Sjhb};
85287604Sjhb
86287604Sjhb&mmc3 {
87287604Sjhb	status = "disabled";
88287604Sjhb};
89287604Sjhb
90287604Sjhb&uart3 {
91287604Sjhb	interrupts-extended = <&intc 74 &omap3_pmx_core OMAP3_UART3_RX>;
92287604Sjhb	pinctrl-names = "default";
93287604Sjhb	pinctrl-0 = <&uart3_pins>;
94287604Sjhb};
95287604Sjhb
96287604Sjhb