summaryrefslogtreecommitdiff
path: root/arch/mips/ralink/dts
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-01-31 19:43:30 (GMT)
committerJohn Crispin <blogic@openwrt.org>2013-02-17 00:25:34 (GMT)
commitd3d2b4200b5a42851365e903d101f8f0882eb9eb (patch)
tree5ec4fd3eedce5d38619e6705da1fa91a27ce8d1e /arch/mips/ralink/dts
parent0916b46962cbcac9465d253d0a398435b3965fd5 (diff)
downloadlinux-fsl-qoriq-d3d2b4200b5a42851365e903d101f8f0882eb9eb.tar.xz
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.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/mips/ralink/dts/rt3050.dtsi b/arch/mips/ralink/dts/rt3050.dtsi
index fd49daa..069d066 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 {