diff options
author | H. Nikolaus Schaller | 2016-05-17 21:48:49 +0200 |
---|---|---|
committer | Tony Lindgren | 2016-06-10 04:58:06 -0700 |
commit | f6cbf6106ad0fb7f25b39714b30c0e083dbc5612 (patch) | |
tree | 758038619393466df5cbad6e06b83d008edb9dfa | |
parent | ee327111953b841280af501c65c976f253884587 (diff) |
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>
-rw-r--r-- | arch/arm/boot/dts/omap3-gta04.dtsi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index e0520cf0f45c..094e5e14fb3d 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi @@ -256,6 +256,12 @@ 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 @@ 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 */ |