提交 e14927e2 编写于 作者: H H. Nikolaus Schaller 提交者: Tony Lindgren

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

Define pinmux and usage if irq pin.
Signed-off-by: NH. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 f6cbf610
...@@ -262,6 +262,12 @@ ...@@ -262,6 +262,12 @@
OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio56 */ 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 { &omap3_pmx_core2 {
...@@ -389,6 +395,10 @@ ...@@ -389,6 +395,10 @@
hmc5843@1e { hmc5843@1e {
compatible = "honeywell,hmc5883l"; compatible = "honeywell,hmc5883l";
reg = <0x1e>; reg = <0x1e>;
pinctrl-names = "default";
pinctrl-0 = <&hmc5843_pins>;
interrupt-parent = <&gpio4>;
interrupts = <16 IRQ_TYPE_EDGE_FALLING>; /* gpio112 */
}; };
/* touchscreen */ /* touchscreen */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册