diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-06-29 19:39:03 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-07-02 05:44:30 +0900 |
commit | e64a6b11411befbaf166443d02d8b10e06852f6a (patch) | |
tree | b9fbba6c1c6937467d0516e5e4048b4aec64e184 /arch/arm/mach-uniphier/pinctrl | |
parent | 1013aef3307e6cc3e1b654314aa9f48dc5cf62c7 (diff) | |
download | talos-obmc-uboot-e64a6b11411befbaf166443d02d8b10e06852f6a.tar.gz talos-obmc-uboot-e64a6b11411befbaf166443d02d8b10e06852f6a.zip |
ARM: uniphier: add external IRQ setup code
I will carry this work-around until it is cared in the kernel.
This looks up the AIDET node and sets up a register to handle
active low interrupt signals.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/pinctrl')
-rw-r--r-- | arch/arm/mach-uniphier/pinctrl/pinctrl-ld20.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/pinctrl/pinctrl-ld20.c b/arch/arm/mach-uniphier/pinctrl/pinctrl-ld20.c index 6066b169cf..645b90151c 100644 --- a/arch/arm/mach-uniphier/pinctrl/pinctrl-ld20.c +++ b/arch/arm/mach-uniphier/pinctrl/pinctrl-ld20.c @@ -43,4 +43,9 @@ void uniphier_ld20_pin_init(void) sg_set_pinsel(53, 0, 8, 4); /* USB3OD -> USB3OD */ sg_set_iectrl_range(46, 53); #endif + + sg_set_pinsel(149, 14, 8, 4); /* XIRQ0 -> XIRQ0 */ + sg_set_iectrl(149); + sg_set_pinsel(153, 14, 8, 4); /* XIRQ4 -> XIRQ4 */ + sg_set_iectrl(153); } |