diff options
author | H. Nikolaus Schaller <hns@goldelico.com> | 2016-05-17 21:48:48 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-06-10 04:58:06 -0700 |
commit | ee327111953b841280af501c65c976f253884587 (patch) | |
tree | fea5af395eded7659e188082eed9888668bb6db7 /arch/arm/boot | |
parent | 28a1b403b28e34e4a4e6ff29925e66d358499622 (diff) | |
download | lwn-ee327111953b841280af501c65c976f253884587.tar.gz lwn-ee327111953b841280af501c65c976f253884587.zip |
ARM: dts: omap3-gta04: Define and use bma180 irq pin
Add pinmux and usage of bma180 irq pin.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/omap3-gta04.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index cef8b23a6b19..e0520cf0f45c 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi @@ -250,6 +250,12 @@ 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 @@ 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 */ }; |