diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-01-31 20:43:30 +0100 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-02-17 01:25:34 +0100 |
commit | d3d2b4200b5a42851365e903d101f8f0882eb9eb (patch) | |
tree | 5ec4fd3eedce5d38619e6705da1fa91a27ce8d1e /arch/mips/ralink/dts | |
parent | 0916b46962cbcac9465d253d0a398435b3965fd5 (diff) |
MIPS: ralink: add CPU interrupt controller to of_irq_ids
Convert the ralink IRQ code to make use of the new MIPS IRQ controller OF
mappings.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John Crispin <blogic@openwrt.org>
Acked-by: David Daney <david.daney@cavium.com>
Patchwork: http://patchwork.linux-mips.org/patch/4900/
Diffstat (limited to 'arch/mips/ralink/dts')
-rw-r--r-- | arch/mips/ralink/dts/rt3050.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/mips/ralink/dts/rt3050.dtsi b/arch/mips/ralink/dts/rt3050.dtsi index fd49daacbf0..069d0660e1d 100644 --- a/arch/mips/ralink/dts/rt3050.dtsi +++ b/arch/mips/ralink/dts/rt3050.dtsi @@ -13,6 +13,13 @@ bootargs = "console=ttyS0,57600 init=/init"; }; + cpuintc: cpuintc@0 { + #address-cells = <0>; + #interrupt-cells = <1>; + interrupt-controller; + compatible = "mti,cpu-interrupt-controller"; + }; + palmbus@10000000 { compatible = "palmbus"; reg = <0x10000000 0x200000>; @@ -37,6 +44,9 @@ interrupt-controller; #interrupt-cells = <1>; + + interrupt-parent = <&cpuintc>; + interrupts = <2>; }; memc@300 { |