[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190628033041.8513-5-Anson.Huang@nxp.com>
Date: Fri, 28 Jun 2019 11:30:41 +0800
From: Anson.Huang@....com
To: daniel.lezcano@...aro.org, tglx@...utronix.de, robh+dt@...nel.org,
mark.rutland@....com, shawnguo@...nel.org, s.hauer@...gutronix.de,
kernel@...gutronix.de, festevam@...il.com, leonard.crestez@....com,
viresh.kumar@...aro.org, daniel.baluta@....com, ping.bai@....com,
l.stach@...gutronix.de, abel.vesa@....com,
andrew.smirnov@...il.com, ccaione@...libre.com, angus@...ea.ca,
agx@...xcpu.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Cc: Linux-imx@....com
Subject: [PATCH V3 5/5] arm64: dts: imx8mm: Add system counter node
From: Anson Huang <Anson.Huang@....com>
Add i.MX8MM system counter node to enable timer-imx-sysctr
broadcast timer driver.
Signed-off-by: Anson Huang <Anson.Huang@....com>
---
New patch:
- As i.MX8MM clock driver will be soon moved to using platform driver model, so the patch
series I sent out for i.MX8MM system counter driver support will need rework accordingly,
so I add the i.MX8MM DT support in this patch series, it uses same method as i.MX8MQ's
system counter driver.
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
index 63f4731..aa985a0 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
@@ -528,6 +528,14 @@
#pwm-cells = <2>;
status = "disabled";
};
+
+ system_counter: timer@...a0000 {
+ compatible = "nxp,sysctr-timer";
+ reg = <0x306a0000 0x30000>;
+ interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
+ clock-frequency = <8000000>;
+ };
};
aips3: bus@...00000 {
--
2.7.4
Powered by blists - more mailing lists