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

ARM: dts: omap3-gta04: Define and use bma180 irq pin

Add pinmux and usage of bma180 irq pin.
Signed-off-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 28a1b403
......@@ -250,6 +250,12 @@ hdq_pins: hdq_pins {
OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
>;
};
bma180_pins: pinmux_bma180_pins {
pinctrl-single,pins = <
OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
>;
};
};
&omap3_pmx_core2 {
......@@ -320,6 +326,8 @@ bmp085@77 {
bma180@41 {
compatible = "bosch,bma180";
reg = <0x41>;
pinctrl-names = "default";
pintcrl-0 = <&bma180_pins>;
interrupt-parent = <&gpio4>;
interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */
};
......
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