[PATCH 2/2] ARM: dts: imx7d: added arch timer and gpc
Frank.Li at freescale.com
Frank.Li at freescale.com
Mon May 11 14:15:55 PDT 2015
From: Frank Li <Frank.Li at freescale.com>
add cortex a7 arch timer and gpc to enable smp
uboot need clear virtual timer offset.
if not, need add "arm,cpu-registers-not-fw-configured"
in arch timer section to boot up.
Signed-off-by: Frank Li <Frank.Li at freescale.com>
---
arch/arm/boot/dts/imx7d.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi
index c42cf8d..0318437 100644
--- a/arch/arm/boot/dts/imx7d.dtsi
+++ b/arch/arm/boot/dts/imx7d.dtsi
@@ -121,6 +121,15 @@
clock-output-names = "osc";
};
+ timer {
+ compatible = "arm,armv7-timer";
+ interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+ <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+ <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+ <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
+ interrupt-parent = <&intc>;
+ };
+
soc {
#address-cells = <1>;
#size-cells = <1>;
@@ -320,6 +329,12 @@
interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
#reset-cells = <1>;
};
+
+ gpc: gpc at 303a0000 {
+ compatible = "fsl,imx7d-gpc";
+ reg = <0x303a0000 0x10000>;
+ interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
+ };
};
aips3: aips-bus at 30800000 {
--
1.9.1
More information about the linux-arm-kernel
mailing list