Commit 79a93295 authored by Zubair Lutfullah Kakakhel's avatar Zubair Lutfullah Kakakhel Committed by Ralf Baechle

MIPS: xilfpga: Use Xilinx Interrupt Controller

IRQs from peripherals such as i2c/uart/ethernet come via
the AXI Interrupt controller.

Select it in Kconfig for xilfpga and add the DT node
Signed-off-by: default avatarZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14592/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 35b258dc
...@@ -479,6 +479,7 @@ config MACH_XILFPGA ...@@ -479,6 +479,7 @@ config MACH_XILFPGA
select SYS_SUPPORTS_ZBOOT_UART16550 select SYS_SUPPORTS_ZBOOT_UART16550
select USE_OF select USE_OF
select USE_GENERIC_EARLY_PRINTK_8250 select USE_GENERIC_EARLY_PRINTK_8250
select XILINX_INTC
help help
This enables support for the IMG University Program MIPSfpga platform. This enables support for the IMG University Program MIPSfpga platform.
......
...@@ -17,6 +17,18 @@ cpuintc: interrupt-controller { ...@@ -17,6 +17,18 @@ cpuintc: interrupt-controller {
compatible = "mti,cpu-interrupt-controller"; compatible = "mti,cpu-interrupt-controller";
}; };
axi_intc: interrupt-controller@10200000 {
#interrupt-cells = <1>;
compatible = "xlnx,xps-intc-1.00.a";
interrupt-controller;
reg = <0x10200000 0x10000>;
xlnx,kind-of-intr = <0x0>;
xlnx,num-intr-inputs = <0x6>;
interrupt-parent = <&cpuintc>;
interrupts = <6>;
};
axi_gpio: gpio@10600000 { axi_gpio: gpio@10600000 {
#gpio-cells = <1>; #gpio-cells = <1>;
compatible = "xlnx,xps-gpio-1.00.a"; compatible = "xlnx,xps-gpio-1.00.a";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment