aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-10-21 18:09:43 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-10-21 18:09:43 +0900
commit7dd0558d700133249ffa484b67ea51d59f9c49f4 (patch)
treebb4b7531775b7c2fabcec2cec0a8da7551b29e71
parentdd0e20e58837dfef0d0c34c247bede86ae34d99b (diff)
sh: Hook up PB0->PB7 input-only pins in SH7203 PFC.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/kernel/cpu/sh2a/pinmux-sh7203.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/arch/sh/kernel/cpu/sh2a/pinmux-sh7203.c b/arch/sh/kernel/cpu/sh2a/pinmux-sh7203.c
index 3ab56a4e744..6fbc2aa1083 100644
--- a/arch/sh/kernel/cpu/sh2a/pinmux-sh7203.c
+++ b/arch/sh/kernel/cpu/sh2a/pinmux-sh7203.c
@@ -1083,14 +1083,14 @@ static struct pinmux_cfg_reg pinmux_config_regs[] = {
PB10_IN, PB10_OUT,
PB9_IN, PB9_OUT,
PB8_IN, PB8_OUT,
- 0, 0,
- 0, 0,
- 0, 0,
- 0, 0,
- 0, 0,
- 0, 0,
- 0, 0,
- 0, 0 }
+ PB7_IN, 0,
+ PB6_IN, 0,
+ PB5_IN, 0,
+ PB4_IN, 0,
+ PB3_IN, 0,
+ PB2_IN, 0,
+ PB1_IN, 0,
+ PB0_IN, 0 }
},
{ PINMUX_CFG_REG("PBCRL4", 0xfffe3890, 16, 4) {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -1595,5 +1595,4 @@ static int __init plat_pinmux_setup(void)
{
return register_pinmux(&sh7203_pinmux_info);
}
-
arch_initcall(plat_pinmux_setup);