Commit f6cbf610 authored by H. Nikolaus Schaller's avatar H. Nikolaus Schaller Committed by Tony Lindgren

ARM: dta: omap3-gta04: Define and use itg3200 irq pin

Define pinmux and usage if irq pin + fix irq edge.
Signed-off-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent ee327111
......@@ -256,6 +256,12 @@ bma180_pins: pinmux_bma180_pins {
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 {
......@@ -336,8 +342,10 @@ bma180@41 {
itg3200@68 {
compatible = "invensense,itg3200";
reg = <0x68>;
pinctrl-names = "default";
pinctrl-0 = <&itg3200_pins>;
interrupt-parent = <&gpio2>;
interrupts = <24 0>; /* GPIO_56 */
interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
};
/* leds */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment