[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1418594998-2361-4-git-send-email-stefan@agner.ch>
Date: Sun, 14 Dec 2014 23:09:58 +0100
From: Stefan Agner <stefan@...er.ch>
To: tglx@...utronix.de, jason@...edaemon.net, marc.zyngier@....com
Cc: u.kleine-koenig@...gutronix.de, shawn.guo@...aro.org,
kernel@...gutronix.de, arnd@...db.de, robh+dt@...nel.org,
pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
linux@....linux.org.uk, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
stefan@...er.ch
Subject: [PATCH v2 3/3] ARM: dts: vf610: add Miscellaneous System Control Module (MSCM)
Add the Miscellaneous System Control Module (MSCM) to the base
device tree for Vybrid SoCs. This module contains the peripheral
interrupt router, which is handling the routing of the interrupts
between the two cores.
Signed-off-by: Stefan Agner <stefan@...er.ch>
---
arch/arm/boot/dts/vf500.dtsi | 9 +++++++--
arch/arm/boot/dts/vfxxx.dtsi | 7 +++++++
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/vf500.dtsi b/arch/arm/boot/dts/vf500.dtsi
index de67005..090b67e 100644
--- a/arch/arm/boot/dts/vf500.dtsi
+++ b/arch/arm/boot/dts/vf500.dtsi
@@ -24,14 +24,13 @@
};
soc {
- interrupt-parent = <&intc>;
-
aips-bus@...00000 {
intc: interrupt-controller@...02000 {
compatible = "arm,cortex-a9-gic";
#interrupt-cells = <3>;
interrupt-controller;
+ interrupt-parent = <&intc>;
reg = <0x40003000 0x1000>,
<0x40002100 0x100>;
};
@@ -40,6 +39,7 @@
compatible = "arm,cortex-a9-global-timer";
reg = <0x40002200 0x20>;
interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-parent = <&intc>;
clocks = <&clks VF610_CLK_PLATFORM_BUS>;
};
};
@@ -118,6 +118,11 @@
interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
};
+&mscm {
+ interrupt-parent = <&intc>;
+ #interrupt-cells = <3>;
+};
+
&pit {
interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
};
diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi
index 505969a..42ed1e9 100644
--- a/arch/arm/boot/dts/vfxxx.dtsi
+++ b/arch/arm/boot/dts/vfxxx.dtsi
@@ -47,6 +47,7 @@
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
+ interrupt-parent = <&mscm>;
ranges;
aips0: aips-bus@...00000 {
@@ -55,6 +56,12 @@
#size-cells = <1>;
ranges;
+ mscm: mscm@...01000 {
+ compatible = "fsl,vf610-mscm";
+ interrupt-controller;
+ reg = <0x40001000 0x1000>;
+ };
+
edma0: dma-controller@...18000 {
#dma-cells = <2>;
compatible = "fsl,vf610-edma";
--
2.1.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists