mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-01 09:13:37 +00:00
ARM: dta: omap3-gta04: Define and use itg3200 irq pin
Define pinmux and usage if irq pin + fix irq edge. Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
ee32711195
commit
f6cbf6106a
1 changed files with 9 additions and 1 deletions
|
|
@ -256,6 +256,12 @@
|
||||||
OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
|
OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
itg3200_pins: pinmux_itg3200_pins {
|
||||||
|
pinctrl-single,pins = <
|
||||||
|
OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio56 */
|
||||||
|
>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&omap3_pmx_core2 {
|
&omap3_pmx_core2 {
|
||||||
|
|
@ -336,8 +342,10 @@
|
||||||
itg3200@68 {
|
itg3200@68 {
|
||||||
compatible = "invensense,itg3200";
|
compatible = "invensense,itg3200";
|
||||||
reg = <0x68>;
|
reg = <0x68>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&itg3200_pins>;
|
||||||
interrupt-parent = <&gpio2>;
|
interrupt-parent = <&gpio2>;
|
||||||
interrupts = <24 0>; /* GPIO_56 */
|
interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* leds */
|
/* leds */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue