diff options
author | John Crispin <blogic@openwrt.org> | 2012-05-19 18:33:56 -0400 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-09-13 04:30:58 -0400 |
commit | e316cb2b16bbfbe48387b56e7e6b5d32ec686f82 (patch) | |
tree | 8a57137909fa0a7911fe95aba9fb63130b2e3c66 /arch/mips/include/asm/mach-lantiq/falcon | |
parent | 3f8c50c9b110dad4136ea7226cd87b0c4cdb70c8 (diff) |
OF: pinctrl: MIPS: lantiq: adds support for FALCON SoC
Implement support for pinctrl on lantiq/falcon socs. The FALCON has 5 banks
of up to 32 pins.
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: devicetree-discuss@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/include/asm/mach-lantiq/falcon')
-rw-r--r-- | arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h index b385252584ee..fccac3592651 100644 --- a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h +++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h | |||
@@ -57,6 +57,10 @@ extern __iomem void *ltq_sys1_membase; | |||
57 | #define ltq_sys1_w32_mask(clear, set, reg) \ | 57 | #define ltq_sys1_w32_mask(clear, set, reg) \ |
58 | ltq_sys1_w32((ltq_sys1_r32(reg) & ~(clear)) | (set), reg) | 58 | ltq_sys1_w32((ltq_sys1_r32(reg) & ~(clear)) | (set), reg) |
59 | 59 | ||
60 | /* allow the gpio and pinctrl drivers to talk to eachother */ | ||
61 | extern int pinctrl_falcon_get_range_size(int id); | ||
62 | extern void pinctrl_falcon_add_gpio_range(struct pinctrl_gpio_range *range); | ||
63 | |||
60 | /* | 64 | /* |
61 | * to keep the irq code generic we need to define this to 0 as falcon | 65 | * to keep the irq code generic we need to define this to 0 as falcon |
62 | * has no EIU/EBU | 66 | * has no EIU/EBU |