diff options
| author | Rob Herring <rob.herring@calxeda.com> | 2012-11-05 17:18:28 -0500 |
|---|---|---|
| committer | Rob Herring <rob.herring@calxeda.com> | 2013-01-12 11:47:32 -0500 |
| commit | 0529e315bbda5d502c93df2cfafba9bb337fbdf4 (patch) | |
| tree | 461bf1c88c60e294e598eaa52d9b0b46b4ffd3ba /arch | |
| parent | 81243e444c6e9d1625073e4a3d3bc244c8a545f0 (diff) | |
ARM: use common irqchip_init for GIC init
Convert all GIC DT initialization over to use common irqchip_init
function.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: David Brown <davidb@codeaurora.org>
Cc: Daniel Walker <dwalker@fifo99.com>
Cc: Bryan Huntsman <bryanh@codeaurora.org>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Viresh Kumar <viresh.linux@gmail.com>
Cc: Shiraz Hashim <shiraz.hashim@st.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/include/asm/hardware/gic.h | 1 | ||||
| -rw-r--r-- | arch/arm/mach-bcm/board_bcm.c | 16 | ||||
| -rw-r--r-- | arch/arm/mach-exynos/common.c | 8 | ||||
| -rw-r--r-- | arch/arm/mach-highbank/highbank.c | 10 | ||||
| -rw-r--r-- | arch/arm/mach-imx/mach-imx6q.c | 9 | ||||
| -rw-r--r-- | arch/arm/mach-msm/board-dt-8660.c | 15 | ||||
| -rw-r--r-- | arch/arm/mach-msm/board-dt-8960.c | 15 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/omap4-common.c | 9 | ||||
| -rw-r--r-- | arch/arm/mach-shmobile/setup-emev2.c | 14 | ||||
| -rw-r--r-- | arch/arm/mach-socfpga/socfpga.c | 13 | ||||
| -rw-r--r-- | arch/arm/mach-spear13xx/include/mach/generic.h | 1 | ||||
| -rw-r--r-- | arch/arm/mach-spear13xx/spear1310.c | 4 | ||||
| -rw-r--r-- | arch/arm/mach-spear13xx/spear1340.c | 4 | ||||
| -rw-r--r-- | arch/arm/mach-spear13xx/spear13xx.c | 13 | ||||
| -rw-r--r-- | arch/arm/mach-tegra/common.c | 10 | ||||
| -rw-r--r-- | arch/arm/mach-ux500/cpu.c | 8 | ||||
| -rw-r--r-- | arch/arm/mach-vexpress/v2m.c | 14 | ||||
| -rw-r--r-- | arch/arm/mach-zynq/common.c | 16 |
18 files changed, 35 insertions, 145 deletions
diff --git a/arch/arm/include/asm/hardware/gic.h b/arch/arm/include/asm/hardware/gic.h index 2a16e0305bd1..5c14398d72d2 100644 --- a/arch/arm/include/asm/hardware/gic.h +++ b/arch/arm/include/asm/hardware/gic.h | |||
| @@ -36,7 +36,6 @@ extern struct irq_chip gic_arch_extn; | |||
| 36 | 36 | ||
| 37 | void gic_init_bases(unsigned int, int, void __iomem *, void __iomem *, | 37 | void gic_init_bases(unsigned int, int, void __iomem *, void __iomem *, |
| 38 | u32 offset, struct device_node *); | 38 | u32 offset, struct device_node *); |
| 39 | int gic_of_init(struct device_node *node, struct device_node *parent); | ||
| 40 | void gic_secondary_init(unsigned int); | 39 | void gic_secondary_init(unsigned int); |
| 41 | void gic_cascade_irq(unsigned int gic_nr, unsigned int irq); | 40 | void gic_cascade_irq(unsigned int gic_nr, unsigned int irq); |
| 42 | 41 | ||
diff --git a/arch/arm/mach-bcm/board_bcm.c b/arch/arm/mach-bcm/board_bcm.c index 6ad83d7f9517..5c920bde6791 100644 --- a/arch/arm/mach-bcm/board_bcm.c +++ b/arch/arm/mach-bcm/board_bcm.c | |||
| @@ -11,22 +11,15 @@ | |||
| 11 | * GNU General Public License for more details. | 11 | * GNU General Public License for more details. |
| 12 | */ | 12 | */ |
| 13 | 13 | ||
| 14 | #include <linux/of_irq.h> | ||
| 15 | #include <linux/of_platform.h> | 14 | #include <linux/of_platform.h> |
| 16 | #include <linux/init.h> | 15 | #include <linux/init.h> |
| 17 | #include <linux/device.h> | 16 | #include <linux/device.h> |
| 18 | #include <linux/platform_device.h> | 17 | #include <linux/platform_device.h> |
| 18 | #include <linux/irqchip.h> | ||
| 19 | 19 | ||
| 20 | #include <asm/mach/arch.h> | 20 | #include <asm/mach/arch.h> |
| 21 | #include <asm/hardware/gic.h> | ||
| 22 | |||
| 23 | #include <asm/mach/time.h> | 21 | #include <asm/mach/time.h> |
| 24 | 22 | ||
| 25 | static const struct of_device_id irq_match[] = { | ||
| 26 | {.compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
| 27 | {} | ||
| 28 | }; | ||
| 29 | |||
| 30 | static void timer_init(void) | 23 | static void timer_init(void) |
| 31 | { | 24 | { |
| 32 | } | 25 | } |
| @@ -35,11 +28,6 @@ static struct sys_timer timer = { | |||
| 35 | .init = timer_init, | 28 | .init = timer_init, |
| 36 | }; | 29 | }; |
| 37 | 30 | ||
| 38 | static void __init init_irq(void) | ||
| 39 | { | ||
| 40 | of_irq_init(irq_match); | ||
| 41 | } | ||
| 42 | |||
| 43 | static void __init board_init(void) | 31 | static void __init board_init(void) |
| 44 | { | 32 | { |
| 45 | of_platform_populate(NULL, of_default_bus_match_table, NULL, | 33 | of_platform_populate(NULL, of_default_bus_match_table, NULL, |
| @@ -49,7 +37,7 @@ static void __init board_init(void) | |||
| 49 | static const char * const bcm11351_dt_compat[] = { "bcm,bcm11351", NULL, }; | 37 | static const char * const bcm11351_dt_compat[] = { "bcm,bcm11351", NULL, }; |
| 50 | 38 | ||
| 51 | DT_MACHINE_START(BCM11351_DT, "Broadcom Application Processor") | 39 | DT_MACHINE_START(BCM11351_DT, "Broadcom Application Processor") |
| 52 | .init_irq = init_irq, | 40 | .init_irq = irqchip_init, |
| 53 | .timer = &timer, | 41 | .timer = &timer, |
| 54 | .init_machine = board_init, | 42 | .init_machine = board_init, |
| 55 | .dt_compat = bcm11351_dt_compat, | 43 | .dt_compat = bcm11351_dt_compat, |
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index 1a89824a5f78..3a3250fda93a 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | #include <linux/of_irq.h> | 22 | #include <linux/of_irq.h> |
| 23 | #include <linux/export.h> | 23 | #include <linux/export.h> |
| 24 | #include <linux/irqdomain.h> | 24 | #include <linux/irqdomain.h> |
| 25 | #include <linux/irqchip.h> | ||
| 25 | #include <linux/of_address.h> | 26 | #include <linux/of_address.h> |
| 26 | 27 | ||
| 27 | #include <asm/proc-fns.h> | 28 | #include <asm/proc-fns.h> |
| @@ -644,8 +645,6 @@ static int __init combiner_of_init(struct device_node *np, | |||
| 644 | } | 645 | } |
| 645 | 646 | ||
| 646 | static const struct of_device_id exynos_dt_irq_match[] = { | 647 | static const struct of_device_id exynos_dt_irq_match[] = { |
| 647 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
| 648 | { .compatible = "arm,cortex-a15-gic", .data = gic_of_init, }, | ||
| 649 | { .compatible = "samsung,exynos4210-combiner", | 648 | { .compatible = "samsung,exynos4210-combiner", |
| 650 | .data = combiner_of_init, }, | 649 | .data = combiner_of_init, }, |
| 651 | {}, | 650 | {}, |
| @@ -661,8 +660,10 @@ void __init exynos4_init_irq(void) | |||
| 661 | if (!of_have_populated_dt()) | 660 | if (!of_have_populated_dt()) |
| 662 | gic_init_bases(0, IRQ_PPI(0), S5P_VA_GIC_DIST, S5P_VA_GIC_CPU, gic_bank_offset, NULL); | 661 | gic_init_bases(0, IRQ_PPI(0), S5P_VA_GIC_DIST, S5P_VA_GIC_CPU, gic_bank_offset, NULL); |
| 663 | #ifdef CONFIG_OF | 662 | #ifdef CONFIG_OF |
| 664 | else | 663 | else { |
| 664 | irqchip_init(); | ||
| 665 | of_irq_init(exynos_dt_irq_match); | 665 | of_irq_init(exynos_dt_irq_match); |
| 666 | } | ||
| 666 | #endif | 667 | #endif |
| 667 | 668 | ||
| 668 | if (!of_have_populated_dt()) | 669 | if (!of_have_populated_dt()) |
| @@ -679,6 +680,7 @@ void __init exynos4_init_irq(void) | |||
| 679 | void __init exynos5_init_irq(void) | 680 | void __init exynos5_init_irq(void) |
| 680 | { | 681 | { |
| 681 | #ifdef CONFIG_OF | 682 | #ifdef CONFIG_OF |
| 683 | irqchip_init(); | ||
| 682 | of_irq_init(exynos_dt_irq_match); | 684 | of_irq_init(exynos_dt_irq_match); |
| 683 | #endif | 685 | #endif |
| 684 | /* | 686 | /* |
diff --git a/arch/arm/mach-highbank/highbank.c b/arch/arm/mach-highbank/highbank.c index 6d151f9a3bd4..f9191eacd0fc 100644 --- a/arch/arm/mach-highbank/highbank.c +++ b/arch/arm/mach-highbank/highbank.c | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | #include <linux/dma-mapping.h> | 18 | #include <linux/dma-mapping.h> |
| 19 | #include <linux/io.h> | 19 | #include <linux/io.h> |
| 20 | #include <linux/irq.h> | 20 | #include <linux/irq.h> |
| 21 | #include <linux/irqchip.h> | ||
| 21 | #include <linux/irqdomain.h> | 22 | #include <linux/irqdomain.h> |
| 22 | #include <linux/of.h> | 23 | #include <linux/of.h> |
| 23 | #include <linux/of_irq.h> | 24 | #include <linux/of_irq.h> |
| @@ -32,7 +33,6 @@ | |||
| 32 | #include <asm/smp_twd.h> | 33 | #include <asm/smp_twd.h> |
| 33 | #include <asm/hardware/arm_timer.h> | 34 | #include <asm/hardware/arm_timer.h> |
| 34 | #include <asm/hardware/timer-sp.h> | 35 | #include <asm/hardware/timer-sp.h> |
| 35 | #include <asm/hardware/gic.h> | ||
| 36 | #include <asm/hardware/cache-l2x0.h> | 36 | #include <asm/hardware/cache-l2x0.h> |
| 37 | #include <asm/mach/arch.h> | 37 | #include <asm/mach/arch.h> |
| 38 | #include <asm/mach/map.h> | 38 | #include <asm/mach/map.h> |
| @@ -66,12 +66,6 @@ void highbank_set_cpu_jump(int cpu, void *jump_addr) | |||
| 66 | HB_JUMP_TABLE_PHYS(cpu) + 15); | 66 | HB_JUMP_TABLE_PHYS(cpu) + 15); |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | const static struct of_device_id irq_match[] = { | ||
| 70 | { .compatible = "arm,cortex-a15-gic", .data = gic_of_init, }, | ||
| 71 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
| 72 | {} | ||
| 73 | }; | ||
| 74 | |||
| 75 | #ifdef CONFIG_CACHE_L2X0 | 69 | #ifdef CONFIG_CACHE_L2X0 |
| 76 | static void highbank_l2x0_disable(void) | 70 | static void highbank_l2x0_disable(void) |
| 77 | { | 71 | { |
| @@ -82,7 +76,7 @@ static void highbank_l2x0_disable(void) | |||
| 82 | 76 | ||
| 83 | static void __init highbank_init_irq(void) | 77 | static void __init highbank_init_irq(void) |
| 84 | { | 78 | { |
| 85 | of_irq_init(irq_match); | 79 | irqchip_init(); |
| 86 | 80 | ||
| 87 | if (of_find_compatible_node(NULL, NULL, "arm,cortex-a9")) | 81 | if (of_find_compatible_node(NULL, NULL, "arm,cortex-a9")) |
| 88 | highbank_scu_map_io(); | 82 | highbank_scu_map_io(); |
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 1fbf9a133980..724bfeb8f88b 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | #include <linux/init.h> | 18 | #include <linux/init.h> |
| 19 | #include <linux/io.h> | 19 | #include <linux/io.h> |
| 20 | #include <linux/irq.h> | 20 | #include <linux/irq.h> |
| 21 | #include <linux/irqchip.h> | ||
| 21 | #include <linux/of.h> | 22 | #include <linux/of.h> |
| 22 | #include <linux/of_address.h> | 23 | #include <linux/of_address.h> |
| 23 | #include <linux/of_irq.h> | 24 | #include <linux/of_irq.h> |
| @@ -29,7 +30,6 @@ | |||
| 29 | #include <asm/cpuidle.h> | 30 | #include <asm/cpuidle.h> |
| 30 | #include <asm/smp_twd.h> | 31 | #include <asm/smp_twd.h> |
| 31 | #include <asm/hardware/cache-l2x0.h> | 32 | #include <asm/hardware/cache-l2x0.h> |
| 32 | #include <asm/hardware/gic.h> | ||
| 33 | #include <asm/mach/arch.h> | 33 | #include <asm/mach/arch.h> |
| 34 | #include <asm/mach/time.h> | 34 | #include <asm/mach/time.h> |
| 35 | #include <asm/system_misc.h> | 35 | #include <asm/system_misc.h> |
| @@ -221,17 +221,12 @@ static void __init imx6q_map_io(void) | |||
| 221 | imx6q_clock_map_io(); | 221 | imx6q_clock_map_io(); |
| 222 | } | 222 | } |
| 223 | 223 | ||
| 224 | static const struct of_device_id imx6q_irq_match[] __initconst = { | ||
| 225 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
| 226 | { /* sentinel */ } | ||
| 227 | }; | ||
| 228 | |||
| 229 | static void __init imx6q_init_irq(void) | 224 | static void __init imx6q_init_irq(void) |
| 230 | { | 225 | { |
| 231 | l2x0_of_init(0, ~0UL); | 226 | l2x0_of_init(0, ~0UL); |
| 232 | imx_src_init(); | 227 | imx_src_init(); |
| 233 | imx_gpc_init(); | 228 | imx_gpc_init(); |
| 234 | of_irq_init(imx6q_irq_match); | 229 | irqchip_init(); |
| 235 | } | 230 | } |
| 236 | 231 | ||
| 237 | static void __init imx6q_timer_init(void) | 232 | static void __init imx6q_timer_init(void) |
diff --git a/arch/arm/mach-msm/board-dt-8660.c b/arch/arm/mach-msm/board-dt-8660.c index bd4062f9a623..c111cec64338 100644 --- a/arch/arm/mach-msm/board-dt-8660.c +++ b/arch/arm/mach-msm/board-dt-8660.c | |||
| @@ -11,26 +11,15 @@ | |||
| 11 | */ | 11 | */ |
| 12 | 12 | ||
| 13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
| 14 | #include <linux/irqchip.h> | ||
| 14 | #include <linux/of.h> | 15 | #include <linux/of.h> |
| 15 | #include <linux/of_irq.h> | ||
| 16 | #include <linux/of_platform.h> | 16 | #include <linux/of_platform.h> |
| 17 | 17 | ||
| 18 | #include <asm/mach/arch.h> | 18 | #include <asm/mach/arch.h> |
| 19 | #include <asm/hardware/gic.h> | ||
| 20 | 19 | ||
| 21 | #include <mach/board.h> | 20 | #include <mach/board.h> |
| 22 | #include "common.h" | 21 | #include "common.h" |
| 23 | 22 | ||
| 24 | static const struct of_device_id msm_dt_gic_match[] __initconst = { | ||
| 25 | { .compatible = "qcom,msm-8660-qgic", .data = gic_of_init }, | ||
| 26 | {} | ||
| 27 | }; | ||
| 28 | |||
| 29 | static void __init msm8x60_init_irq(void) | ||
| 30 | { | ||
| 31 | of_irq_init(msm_dt_gic_match); | ||
| 32 | } | ||
| 33 | |||
| 34 | static void __init msm8x60_init_late(void) | 23 | static void __init msm8x60_init_late(void) |
| 35 | { | 24 | { |
| 36 | smd_debugfs_init(); | 25 | smd_debugfs_init(); |
| @@ -55,7 +44,7 @@ static const char *msm8x60_fluid_match[] __initdata = { | |||
| 55 | DT_MACHINE_START(MSM_DT, "Qualcomm MSM (Flattened Device Tree)") | 44 | DT_MACHINE_START(MSM_DT, "Qualcomm MSM (Flattened Device Tree)") |
| 56 | .smp = smp_ops(msm_smp_ops), | 45 | .smp = smp_ops(msm_smp_ops), |
| 57 | .map_io = msm_map_msm8x60_io, | 46 | .map_io = msm_map_msm8x60_io, |
| 58 | .init_irq = msm8x60_init_irq, | 47 | .init_irq = irqchip_init, |
| 59 | .init_machine = msm8x60_dt_init, | 48 | .init_machine = msm8x60_dt_init, |
| 60 | .init_late = msm8x60_init_late, | 49 | .init_late = msm8x60_init_late, |
| 61 | .timer = &msm_dt_timer, | 50 | .timer = &msm_dt_timer, |
diff --git a/arch/arm/mach-msm/board-dt-8960.c b/arch/arm/mach-msm/board-dt-8960.c index f45e985edabd..fad0e5083e43 100644 --- a/arch/arm/mach-msm/board-dt-8960.c +++ b/arch/arm/mach-msm/board-dt-8960.c | |||
| @@ -11,24 +11,13 @@ | |||
| 11 | */ | 11 | */ |
| 12 | 12 | ||
| 13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
| 14 | #include <linux/of_irq.h> | 14 | #include <linux/irqchip.h> |
| 15 | #include <linux/of_platform.h> | 15 | #include <linux/of_platform.h> |
| 16 | 16 | ||
| 17 | #include <asm/hardware/gic.h> | ||
| 18 | #include <asm/mach/arch.h> | 17 | #include <asm/mach/arch.h> |
| 19 | 18 | ||
| 20 | #include "common.h" | 19 | #include "common.h" |
| 21 | 20 | ||
| 22 | static const struct of_device_id msm_dt_gic_match[] __initconst = { | ||
| 23 | { .compatible = "qcom,msm-qgic2", .data = gic_of_init }, | ||
| 24 | { } | ||
| 25 | }; | ||
| 26 | |||
| 27 | static void __init msm_dt_init_irq(void) | ||
| 28 | { | ||
| 29 | of_irq_init(msm_dt_gic_match); | ||
| 30 | } | ||
| 31 | |||
| 32 | static void __init msm_dt_init(void) | 21 | static void __init msm_dt_init(void) |
| 33 | { | 22 | { |
| 34 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 23 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
| @@ -42,7 +31,7 @@ static const char * const msm8960_dt_match[] __initconst = { | |||
| 42 | DT_MACHINE_START(MSM8960_DT, "Qualcomm MSM (Flattened Device Tree)") | 31 | DT_MACHINE_START(MSM8960_DT, "Qualcomm MSM (Flattened Device Tree)") |
| 43 | .smp = smp_ops(msm_smp_ops), | 32 | .smp = smp_ops(msm_smp_ops), |
| 44 | .map_io = msm_map_msm8960_io, | 33 | .map_io = msm_map_msm8960_io, |
| 45 | .init_irq = msm_dt_init_irq, | 34 | .init_irq = irqchip_init, |
| 46 | .timer = &msm_dt_timer, | 35 | .timer = &msm_dt_timer, |
| 47 | .init_machine = msm_dt_init, | 36 | .init_machine = msm_dt_init, |
| 48 | .dt_compat = msm8960_dt_match, | 37 | .dt_compat = msm8960_dt_match, |
diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c index 6897ae21bb82..addd16106d68 100644 --- a/arch/arm/mach-omap2/omap4-common.c +++ b/arch/arm/mach-omap2/omap4-common.c | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
| 16 | #include <linux/io.h> | 16 | #include <linux/io.h> |
| 17 | #include <linux/irq.h> | 17 | #include <linux/irq.h> |
| 18 | #include <linux/irqchip.h> | ||
| 18 | #include <linux/platform_device.h> | 19 | #include <linux/platform_device.h> |
| 19 | #include <linux/memblock.h> | 20 | #include <linux/memblock.h> |
| 20 | #include <linux/of_irq.h> | 21 | #include <linux/of_irq.h> |
| @@ -255,16 +256,10 @@ static int __init omap4_sar_ram_init(void) | |||
| 255 | } | 256 | } |
| 256 | early_initcall(omap4_sar_ram_init); | 257 | early_initcall(omap4_sar_ram_init); |
| 257 | 258 | ||
| 258 | static struct of_device_id irq_match[] __initdata = { | ||
| 259 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
| 260 | { .compatible = "arm,cortex-a15-gic", .data = gic_of_init, }, | ||
| 261 | { } | ||
| 262 | }; | ||
| 263 | |||
| 264 | void __init omap_gic_of_init(void) | 259 | void __init omap_gic_of_init(void) |
| 265 | { | 260 | { |
| 266 | omap_wakeupgen_init(); | 261 | omap_wakeupgen_init(); |
| 267 | of_irq_init(irq_match); | 262 | irqchip_init(); |
| 268 | } | 263 | } |
| 269 | 264 | ||
| 270 | #if defined(CONFIG_MMC_OMAP_HS) || defined(CONFIG_MMC_OMAP_HS_MODULE) | 265 | #if defined(CONFIG_MMC_OMAP_HS) || defined(CONFIG_MMC_OMAP_HS_MODULE) |
diff --git a/arch/arm/mach-shmobile/setup-emev2.c b/arch/arm/mach-shmobile/setup-emev2.c index 4a8cb69e34f9..50040344bf28 100644 --- a/arch/arm/mach-shmobile/setup-emev2.c +++ b/arch/arm/mach-shmobile/setup-emev2.c | |||
| @@ -20,13 +20,13 @@ | |||
| 20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
| 21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
| 22 | #include <linux/irq.h> | 22 | #include <linux/irq.h> |
| 23 | #include <linux/irqchip.h> | ||
| 23 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
| 24 | #include <linux/platform_data/gpio-em.h> | 25 | #include <linux/platform_data/gpio-em.h> |
| 25 | #include <linux/of_platform.h> | 26 | #include <linux/of_platform.h> |
| 26 | #include <linux/delay.h> | 27 | #include <linux/delay.h> |
| 27 | #include <linux/input.h> | 28 | #include <linux/input.h> |
| 28 | #include <linux/io.h> | 29 | #include <linux/io.h> |
| 29 | #include <linux/of_irq.h> | ||
| 30 | #include <mach/hardware.h> | 30 | #include <mach/hardware.h> |
| 31 | #include <mach/common.h> | 31 | #include <mach/common.h> |
| 32 | #include <mach/emev2.h> | 32 | #include <mach/emev2.h> |
| @@ -445,26 +445,16 @@ void __init emev2_add_standard_devices_dt(void) | |||
| 445 | emev2_auxdata_lookup, NULL); | 445 | emev2_auxdata_lookup, NULL); |
| 446 | } | 446 | } |
| 447 | 447 | ||
| 448 | static const struct of_device_id emev2_dt_irq_match[] = { | ||
| 449 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
| 450 | {}, | ||
| 451 | }; | ||
| 452 | |||
| 453 | static const char *emev2_boards_compat_dt[] __initdata = { | 448 | static const char *emev2_boards_compat_dt[] __initdata = { |
| 454 | "renesas,emev2", | 449 | "renesas,emev2", |
| 455 | NULL, | 450 | NULL, |
| 456 | }; | 451 | }; |
| 457 | 452 | ||
| 458 | void __init emev2_init_irq_dt(void) | ||
| 459 | { | ||
| 460 | of_irq_init(emev2_dt_irq_match); | ||
| 461 | } | ||
| 462 | |||
| 463 | DT_MACHINE_START(EMEV2_DT, "Generic Emma Mobile EV2 (Flattened Device Tree)") | 453 | DT_MACHINE_START(EMEV2_DT, "Generic Emma Mobile EV2 (Flattened Device Tree)") |
| 464 | .smp = smp_ops(emev2_smp_ops), | 454 | .smp = smp_ops(emev2_smp_ops), |
| 465 | .init_early = emev2_init_delay, | 455 | .init_early = emev2_init_delay, |
| 466 | .nr_irqs = NR_IRQS_LEGACY, | 456 | .nr_irqs = NR_IRQS_LEGACY, |
| 467 | .init_irq = emev2_init_irq_dt, | 457 | .init_irq = irqchip_init, |
| 468 | .init_machine = emev2_add_standard_devices_dt, | 458 | .init_machine = emev2_add_standard_devices_dt, |
| 469 | .timer = &shmobile_timer, | 459 | .timer = &shmobile_timer, |
| 470 | .dt_compat = emev2_boards_compat_dt, | 460 | .dt_compat = emev2_boards_compat_dt, |
diff --git a/arch/arm/mach-socfpga/socfpga.c b/arch/arm/mach-socfpga/socfpga.c index 6a613b7842f8..7d55febf2368 100644 --- a/arch/arm/mach-socfpga/socfpga.c +++ b/arch/arm/mach-socfpga/socfpga.c | |||
| @@ -15,12 +15,12 @@ | |||
| 15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | #include <linux/dw_apb_timer.h> | 17 | #include <linux/dw_apb_timer.h> |
| 18 | #include <linux/irqchip.h> | ||
| 18 | #include <linux/of_address.h> | 19 | #include <linux/of_address.h> |
| 19 | #include <linux/of_irq.h> | 20 | #include <linux/of_irq.h> |
| 20 | #include <linux/of_platform.h> | 21 | #include <linux/of_platform.h> |
| 21 | 22 | ||
| 22 | #include <asm/hardware/cache-l2x0.h> | 23 | #include <asm/hardware/cache-l2x0.h> |
| 23 | #include <asm/hardware/gic.h> | ||
| 24 | #include <asm/mach/arch.h> | 24 | #include <asm/mach/arch.h> |
| 25 | #include <asm/mach/map.h> | 25 | #include <asm/mach/map.h> |
| 26 | 26 | ||
| @@ -62,11 +62,6 @@ static void __init socfpga_map_io(void) | |||
| 62 | early_printk("Early printk initialized\n"); | 62 | early_printk("Early printk initialized\n"); |
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | const static struct of_device_id irq_match[] = { | ||
| 66 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
| 67 | {} | ||
| 68 | }; | ||
| 69 | |||
| 70 | void __init socfpga_sysmgr_init(void) | 65 | void __init socfpga_sysmgr_init(void) |
| 71 | { | 66 | { |
| 72 | struct device_node *np; | 67 | struct device_node *np; |
| @@ -78,9 +73,9 @@ void __init socfpga_sysmgr_init(void) | |||
| 78 | rst_manager_base_addr = of_iomap(np, 0); | 73 | rst_manager_base_addr = of_iomap(np, 0); |
| 79 | } | 74 | } |
| 80 | 75 | ||
| 81 | static void __init gic_init_irq(void) | 76 | static void __init socfpga_init_irq(void) |
| 82 | { | 77 | { |
| 83 | of_irq_init(irq_match); | 78 | irqchip_init(); |
| 84 | socfpga_sysmgr_init(); | 79 | socfpga_sysmgr_init(); |
| 85 | } | 80 | } |
| 86 | 81 | ||
| @@ -105,7 +100,7 @@ static const char *altera_dt_match[] = { | |||
| 105 | DT_MACHINE_START(SOCFPGA, "Altera SOCFPGA") | 100 | DT_MACHINE_START(SOCFPGA, "Altera SOCFPGA") |
| 106 | .smp = smp_ops(socfpga_smp_ops), | 101 | .smp = smp_ops(socfpga_smp_ops), |
| 107 | .map_io = socfpga_map_io, | 102 | .map_io = socfpga_map_io, |
| 108 | .init_irq = gic_init_irq, | 103 | .init_irq = socfpga_init_irq, |
| 109 | .timer = &dw_apb_timer, | 104 | .timer = &dw_apb_timer, |
| 110 | .init_machine = socfpga_cyclone5_init, | 105 | .init_machine = socfpga_cyclone5_init, |
| 111 | .restart = socfpga_cyclone5_restart, | 106 | .restart = socfpga_cyclone5_restart, |
diff --git a/arch/arm/mach-spear13xx/include/mach/generic.h b/arch/arm/mach-spear13xx/include/mach/generic.h index c33f4d9361bd..510dec798221 100644 --- a/arch/arm/mach-spear13xx/include/mach/generic.h +++ b/arch/arm/mach-spear13xx/include/mach/generic.h | |||
| @@ -28,7 +28,6 @@ extern struct dw_dma_slave nand_write_dma_priv; | |||
| 28 | /* Add spear13xx family function declarations here */ | 28 | /* Add spear13xx family function declarations here */ |
| 29 | void __init spear_setup_of_timer(void); | 29 | void __init spear_setup_of_timer(void); |
| 30 | void __init spear13xx_map_io(void); | 30 | void __init spear13xx_map_io(void); |
| 31 | void __init spear13xx_dt_init_irq(void); | ||
| 32 | void __init spear13xx_l2x0_init(void); | 31 | void __init spear13xx_l2x0_init(void); |
| 33 | bool dw_dma_filter(struct dma_chan *chan, void *slave); | 32 | bool dw_dma_filter(struct dma_chan *chan, void *slave); |
| 34 | void spear_restart(char, const char *); | 33 | void spear_restart(char, const char *); |
diff --git a/arch/arm/mach-spear13xx/spear1310.c b/arch/arm/mach-spear13xx/spear1310.c index 295bb04b444a..5de3e6f24aad 100644 --- a/arch/arm/mach-spear13xx/spear1310.c +++ b/arch/arm/mach-spear13xx/spear1310.c | |||
| @@ -14,9 +14,9 @@ | |||
| 14 | #define pr_fmt(fmt) "SPEAr1310: " fmt | 14 | #define pr_fmt(fmt) "SPEAr1310: " fmt |
| 15 | 15 | ||
| 16 | #include <linux/amba/pl022.h> | 16 | #include <linux/amba/pl022.h> |
| 17 | #include <linux/irqchip.h> | ||
| 17 | #include <linux/of_platform.h> | 18 | #include <linux/of_platform.h> |
| 18 | #include <linux/pata_arasan_cf_data.h> | 19 | #include <linux/pata_arasan_cf_data.h> |
| 19 | #include <asm/hardware/gic.h> | ||
| 20 | #include <asm/mach/arch.h> | 20 | #include <asm/mach/arch.h> |
| 21 | #include <asm/mach/map.h> | 21 | #include <asm/mach/map.h> |
| 22 | #include <mach/generic.h> | 22 | #include <mach/generic.h> |
| @@ -90,7 +90,7 @@ static void __init spear1310_map_io(void) | |||
| 90 | DT_MACHINE_START(SPEAR1310_DT, "ST SPEAr1310 SoC with Flattened Device Tree") | 90 | DT_MACHINE_START(SPEAR1310_DT, "ST SPEAr1310 SoC with Flattened Device Tree") |
| 91 | .smp = smp_ops(spear13xx_smp_ops), | 91 | .smp = smp_ops(spear13xx_smp_ops), |
| 92 | .map_io = spear1310_map_io, | 92 | .map_io = spear1310_map_io, |
| 93 | .init_irq = spear13xx_dt_init_irq, | 93 | .init_irq = irqchip_init, |
| 94 | .timer = &spear13xx_timer, | 94 | .timer = &spear13xx_timer, |
| 95 | .init_machine = spear1310_dt_init, | 95 | .init_machine = spear1310_dt_init, |
| 96 | .restart = spear_restart, | 96 | .restart = spear_restart, |
diff --git a/arch/arm/mach-spear13xx/spear1340.c b/arch/arm/mach-spear13xx/spear1340.c index c3a770228ea3..18331deaed76 100644 --- a/arch/arm/mach-spear13xx/spear1340.c +++ b/arch/arm/mach-spear13xx/spear1340.c | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | #include <linux/delay.h> | 18 | #include <linux/delay.h> |
| 19 | #include <linux/dw_dmac.h> | 19 | #include <linux/dw_dmac.h> |
| 20 | #include <linux/of_platform.h> | 20 | #include <linux/of_platform.h> |
| 21 | #include <asm/hardware/gic.h> | 21 | #include <linux/irqchip.h> |
| 22 | #include <asm/mach/arch.h> | 22 | #include <asm/mach/arch.h> |
| 23 | #include <mach/dma.h> | 23 | #include <mach/dma.h> |
| 24 | #include <mach/generic.h> | 24 | #include <mach/generic.h> |
| @@ -184,7 +184,7 @@ static const char * const spear1340_dt_board_compat[] = { | |||
| 184 | DT_MACHINE_START(SPEAR1340_DT, "ST SPEAr1340 SoC with Flattened Device Tree") | 184 | DT_MACHINE_START(SPEAR1340_DT, "ST SPEAr1340 SoC with Flattened Device Tree") |
| 185 | .smp = smp_ops(spear13xx_smp_ops), | 185 | .smp = smp_ops(spear13xx_smp_ops), |
| 186 | .map_io = spear13xx_map_io, | 186 | .map_io = spear13xx_map_io, |
| 187 | .init_irq = spear13xx_dt_init_irq, | 187 | .init_irq = irqchip_init, |
| 188 | .timer = &spear13xx_timer, | 188 | .timer = &spear13xx_timer, |
| 189 | .init_machine = spear1340_dt_init, | 189 | .init_machine = spear1340_dt_init, |
| 190 | .restart = spear_restart, | 190 | .restart = spear_restart, |
diff --git a/arch/arm/mach-spear13xx/spear13xx.c b/arch/arm/mach-spear13xx/spear13xx.c index c4af775a8451..22e3cd57e750 100644 --- a/arch/arm/mach-spear13xx/spear13xx.c +++ b/arch/arm/mach-spear13xx/spear13xx.c | |||
| @@ -17,9 +17,8 @@ | |||
| 17 | #include <linux/clk.h> | 17 | #include <linux/clk.h> |
| 18 | #include <linux/dw_dmac.h> | 18 | #include <linux/dw_dmac.h> |
| 19 | #include <linux/err.h> | 19 | #include <linux/err.h> |
| 20 | #include <linux/of_irq.h> | 20 | #include <linux/of.h> |
| 21 | #include <asm/hardware/cache-l2x0.h> | 21 | #include <asm/hardware/cache-l2x0.h> |
| 22 | #include <asm/hardware/gic.h> | ||
| 23 | #include <asm/mach/map.h> | 22 | #include <asm/mach/map.h> |
| 24 | #include <asm/smp_twd.h> | 23 | #include <asm/smp_twd.h> |
| 25 | #include <mach/dma.h> | 24 | #include <mach/dma.h> |
| @@ -186,13 +185,3 @@ static void __init spear13xx_timer_init(void) | |||
| 186 | struct sys_timer spear13xx_timer = { | 185 | struct sys_timer spear13xx_timer = { |
| 187 | .init = spear13xx_timer_init, | 186 | .init = spear13xx_timer_init, |
| 188 | }; | 187 | }; |
| 189 | |||
| 190 | static const struct of_device_id gic_of_match[] __initconst = { | ||
| 191 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init }, | ||
| 192 | { /* Sentinel */ } | ||
| 193 | }; | ||
| 194 | |||
| 195 | void __init spear13xx_dt_init_irq(void) | ||
| 196 | { | ||
| 197 | of_irq_init(gic_of_match); | ||
| 198 | } | ||
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c index d54cfc54b9fe..3599959517b3 100644 --- a/arch/arm/mach-tegra/common.c +++ b/arch/arm/mach-tegra/common.c | |||
| @@ -21,10 +21,9 @@ | |||
| 21 | #include <linux/io.h> | 21 | #include <linux/io.h> |
| 22 | #include <linux/clk.h> | 22 | #include <linux/clk.h> |
| 23 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
| 24 | #include <linux/of_irq.h> | 24 | #include <linux/irqchip.h> |
| 25 | 25 | ||
| 26 | #include <asm/hardware/cache-l2x0.h> | 26 | #include <asm/hardware/cache-l2x0.h> |
| 27 | #include <asm/hardware/gic.h> | ||
| 28 | 27 | ||
| 29 | #include <mach/powergate.h> | 28 | #include <mach/powergate.h> |
| 30 | 29 | ||
| @@ -57,15 +56,10 @@ u32 tegra_uart_config[4] = { | |||
| 57 | }; | 56 | }; |
| 58 | 57 | ||
| 59 | #ifdef CONFIG_OF | 58 | #ifdef CONFIG_OF |
| 60 | static const struct of_device_id tegra_dt_irq_match[] __initconst = { | ||
| 61 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init }, | ||
| 62 | { } | ||
| 63 | }; | ||
| 64 | |||
| 65 | void __init tegra_dt_init_irq(void) | 59 | void __init tegra_dt_init_irq(void) |
| 66 | { | 60 | { |
| 67 | tegra_init_irq(); | 61 | tegra_init_irq(); |
| 68 | of_irq_init(tegra_dt_irq_match); | 62 | irqchip_init(); |
| 69 | } | 63 | } |
| 70 | #endif | 64 | #endif |
| 71 | 65 | ||
diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c index 721e7b4275f3..a5931f736658 100644 --- a/arch/arm/mach-ux500/cpu.c +++ b/arch/arm/mach-ux500/cpu.c | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | #include <linux/of.h> | 17 | #include <linux/of.h> |
| 18 | #include <linux/of_irq.h> | 18 | #include <linux/of_irq.h> |
| 19 | #include <linux/irq.h> | 19 | #include <linux/irq.h> |
| 20 | #include <linux/irqchip.h> | ||
| 20 | #include <linux/platform_data/clk-ux500.h> | 21 | #include <linux/platform_data/clk-ux500.h> |
| 21 | 22 | ||
| 22 | #include <asm/hardware/gic.h> | 23 | #include <asm/hardware/gic.h> |
| @@ -42,11 +43,6 @@ void __iomem *_PRCMU_BASE; | |||
| 42 | * This feels fragile because it depends on the gpio device getting probed | 43 | * This feels fragile because it depends on the gpio device getting probed |
| 43 | * _before_ any device uses the gpio interrupts. | 44 | * _before_ any device uses the gpio interrupts. |
| 44 | */ | 45 | */ |
| 45 | static const struct of_device_id ux500_dt_irq_match[] = { | ||
| 46 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
| 47 | {}, | ||
| 48 | }; | ||
| 49 | |||
| 50 | void __init ux500_init_irq(void) | 46 | void __init ux500_init_irq(void) |
| 51 | { | 47 | { |
| 52 | void __iomem *dist_base; | 48 | void __iomem *dist_base; |
| @@ -62,7 +58,7 @@ void __init ux500_init_irq(void) | |||
| 62 | 58 | ||
| 63 | #ifdef CONFIG_OF | 59 | #ifdef CONFIG_OF |
| 64 | if (of_have_populated_dt()) | 60 | if (of_have_populated_dt()) |
| 65 | of_irq_init(ux500_dt_irq_match); | 61 | irqchip_init(); |
| 66 | else | 62 | else |
| 67 | #endif | 63 | #endif |
| 68 | gic_init(0, 29, dist_base, cpu_base); | 64 | gic_init(0, 29, dist_base, cpu_base); |
diff --git a/arch/arm/mach-vexpress/v2m.c b/arch/arm/mach-vexpress/v2m.c index 557d361022a6..82be02b3ae28 100644 --- a/arch/arm/mach-vexpress/v2m.c +++ b/arch/arm/mach-vexpress/v2m.c | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | #include <linux/io.h> | 7 | #include <linux/io.h> |
| 8 | #include <linux/smp.h> | 8 | #include <linux/smp.h> |
| 9 | #include <linux/init.h> | 9 | #include <linux/init.h> |
| 10 | #include <linux/irqchip.h> | ||
| 10 | #include <linux/of_address.h> | 11 | #include <linux/of_address.h> |
| 11 | #include <linux/of_fdt.h> | 12 | #include <linux/of_fdt.h> |
| 12 | #include <linux/of_irq.h> | 13 | #include <linux/of_irq.h> |
| @@ -30,7 +31,6 @@ | |||
| 30 | #include <asm/mach/time.h> | 31 | #include <asm/mach/time.h> |
| 31 | #include <asm/hardware/arm_timer.h> | 32 | #include <asm/hardware/arm_timer.h> |
| 32 | #include <asm/hardware/cache-l2x0.h> | 33 | #include <asm/hardware/cache-l2x0.h> |
| 33 | #include <asm/hardware/gic.h> | ||
| 34 | #include <asm/hardware/timer-sp.h> | 34 | #include <asm/hardware/timer-sp.h> |
| 35 | 35 | ||
| 36 | #include <mach/ct-ca9x4.h> | 36 | #include <mach/ct-ca9x4.h> |
| @@ -433,16 +433,6 @@ void __init v2m_dt_init_early(void) | |||
| 433 | } | 433 | } |
| 434 | } | 434 | } |
| 435 | 435 | ||
| 436 | static struct of_device_id vexpress_irq_match[] __initdata = { | ||
| 437 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
| 438 | {} | ||
| 439 | }; | ||
| 440 | |||
| 441 | static void __init v2m_dt_init_irq(void) | ||
| 442 | { | ||
| 443 | of_irq_init(vexpress_irq_match); | ||
| 444 | } | ||
| 445 | |||
| 446 | static void __init v2m_dt_timer_init(void) | 436 | static void __init v2m_dt_timer_init(void) |
| 447 | { | 437 | { |
| 448 | struct device_node *node = NULL; | 438 | struct device_node *node = NULL; |
| @@ -496,7 +486,7 @@ DT_MACHINE_START(VEXPRESS_DT, "ARM-Versatile Express") | |||
| 496 | .smp = smp_ops(vexpress_smp_ops), | 486 | .smp = smp_ops(vexpress_smp_ops), |
| 497 | .map_io = v2m_dt_map_io, | 487 | .map_io = v2m_dt_map_io, |
| 498 | .init_early = v2m_dt_init_early, | 488 | .init_early = v2m_dt_init_early, |
| 499 | .init_irq = v2m_dt_init_irq, | 489 | .init_irq = irqchip_init, |
| 500 | .timer = &v2m_dt_timer, | 490 | .timer = &v2m_dt_timer, |
| 501 | .init_machine = v2m_dt_init, | 491 | .init_machine = v2m_dt_init, |
| 502 | .restart = vexpress_restart, | 492 | .restart = vexpress_restart, |
diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c index 40f46ae4c8ae..2d96745dd9ad 100644 --- a/arch/arm/mach-zynq/common.c +++ b/arch/arm/mach-zynq/common.c | |||
| @@ -31,7 +31,6 @@ | |||
| 31 | #include <asm/mach-types.h> | 31 | #include <asm/mach-types.h> |
| 32 | #include <asm/page.h> | 32 | #include <asm/page.h> |
| 33 | #include <asm/pgtable.h> | 33 | #include <asm/pgtable.h> |
| 34 | #include <asm/hardware/gic.h> | ||
| 35 | #include <asm/hardware/cache-l2x0.h> | 34 | #include <asm/hardware/cache-l2x0.h> |
| 36 | 35 | ||
| 37 | #include "common.h" | 36 | #include "common.h" |
| @@ -55,19 +54,6 @@ static void __init xilinx_init_machine(void) | |||
| 55 | of_platform_bus_probe(NULL, zynq_of_bus_ids, NULL); | 54 | of_platform_bus_probe(NULL, zynq_of_bus_ids, NULL); |
| 56 | } | 55 | } |
| 57 | 56 | ||
| 58 | static struct of_device_id irq_match[] __initdata = { | ||
| 59 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
| 60 | { } | ||
| 61 | }; | ||
| 62 | |||
| 63 | /** | ||
| 64 | * xilinx_irq_init() - Interrupt controller initialization for the GIC. | ||
| 65 | */ | ||
| 66 | static void __init xilinx_irq_init(void) | ||
| 67 | { | ||
| 68 | of_irq_init(irq_match); | ||
| 69 | } | ||
| 70 | |||
| 71 | #define SCU_PERIPH_PHYS 0xF8F00000 | 57 | #define SCU_PERIPH_PHYS 0xF8F00000 |
| 72 | #define SCU_PERIPH_SIZE SZ_8K | 58 | #define SCU_PERIPH_SIZE SZ_8K |
| 73 | #define SCU_PERIPH_VIRT (VMALLOC_END - SCU_PERIPH_SIZE) | 59 | #define SCU_PERIPH_VIRT (VMALLOC_END - SCU_PERIPH_SIZE) |
| @@ -117,7 +103,7 @@ static const char *xilinx_dt_match[] = { | |||
| 117 | 103 | ||
| 118 | MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform") | 104 | MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform") |
| 119 | .map_io = xilinx_map_io, | 105 | .map_io = xilinx_map_io, |
| 120 | .init_irq = xilinx_irq_init, | 106 | .init_irq = irqchip_init, |
| 121 | .init_machine = xilinx_init_machine, | 107 | .init_machine = xilinx_init_machine, |
| 122 | .timer = &xttcpss_sys_timer, | 108 | .timer = &xttcpss_sys_timer, |
| 123 | .dt_compat = xilinx_dt_match, | 109 | .dt_compat = xilinx_dt_match, |
