mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-07 01:51:42 +00:00
ARM: shmobile: sh7372: Use driver-provided pinmux info
Pinmux info for the sh7372 is now provided by pinmux drivers. Remove the duplicate copy in arch code. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
8b6edf3622
commit
5967fe0905
@ -21,7 +21,6 @@ smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o
|
|||||||
|
|
||||||
# Pinmux setup
|
# Pinmux setup
|
||||||
pfc-y :=
|
pfc-y :=
|
||||||
pfc-$(CONFIG_ARCH_SH7372) += pfc-sh7372.o
|
|
||||||
pfc-$(CONFIG_ARCH_SH73A0) += pfc-sh73a0.o
|
pfc-$(CONFIG_ARCH_SH73A0) += pfc-sh73a0.o
|
||||||
|
|
||||||
# IRQ objects
|
# IRQ objects
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -60,6 +60,32 @@ void __init sh7372_map_io(void)
|
|||||||
iotable_init(sh7372_io_desc, ARRAY_SIZE(sh7372_io_desc));
|
iotable_init(sh7372_io_desc, ARRAY_SIZE(sh7372_io_desc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* PFC */
|
||||||
|
static struct resource sh7372_pfc_resources[] = {
|
||||||
|
[0] = {
|
||||||
|
.start = 0xe6050000,
|
||||||
|
.end = 0xe6057fff,
|
||||||
|
.flags = IORESOURCE_MEM,
|
||||||
|
},
|
||||||
|
[1] = {
|
||||||
|
.start = 0xe605800c,
|
||||||
|
.end = 0xe6058027,
|
||||||
|
.flags = IORESOURCE_MEM,
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct platform_device sh7372_pfc_device = {
|
||||||
|
.name = "pfc-sh7372",
|
||||||
|
.id = -1,
|
||||||
|
.resource = sh7372_pfc_resources,
|
||||||
|
.num_resources = ARRAY_SIZE(sh7372_pfc_resources),
|
||||||
|
};
|
||||||
|
|
||||||
|
void __init sh7372_pinmux_init(void)
|
||||||
|
{
|
||||||
|
platform_device_register(&sh7372_pfc_device);
|
||||||
|
}
|
||||||
|
|
||||||
/* SCIFA0 */
|
/* SCIFA0 */
|
||||||
static struct plat_sci_port scif0_platform_data = {
|
static struct plat_sci_port scif0_platform_data = {
|
||||||
.mapbase = 0xe6c40000,
|
.mapbase = 0xe6c40000,
|
||||||
|
Loading…
Reference in New Issue
Block a user