Skip to content

Commit

Permalink
ARM: dta: omap3-gta04: Define and use hmc5843 irq pin
Browse files Browse the repository at this point in the history
Define pinmux and usage if irq pin.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
H. Nikolaus Schaller authored and Tony Lindgren committed Jun 10, 2016
1 parent f6cbf61 commit e14927e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arch/arm/boot/dts/omap3-gta04.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,12 @@
OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio56 */
>;
};

hmc5843_pins: pinmux_hmc5843_pins {
pinctrl-single,pins = <
OMAP3_CORE1_IOPAD(0x2134, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio112 */
>;
};
};

&omap3_pmx_core2 {
Expand Down Expand Up @@ -389,6 +395,10 @@
hmc5843@1e {
compatible = "honeywell,hmc5883l";
reg = <0x1e>;
pinctrl-names = "default";
pinctrl-0 = <&hmc5843_pins>;
interrupt-parent = <&gpio4>;
interrupts = <16 IRQ_TYPE_EDGE_FALLING>; /* gpio112 */
};

/* touchscreen */
Expand Down

0 comments on commit e14927e

Please sign in to comment.