[PATCH] ARM: i.MX27: Fix gpt compatible for latest device trees

Sascha Hauer s.hauer at pengutronix.de
Wed Mar 16 01:31:01 PDT 2016


In v4.2-rc3 the "fsl,imx1-gpt" compatible was replaced with
"fsl,imx21-gpt" so i.MX27 currently ends up without clocksource. Fix
this.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/mach-imx/clocksource.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-imx/clocksource.c b/arch/arm/mach-imx/clocksource.c
index 66dcea4..b6873a7 100644
--- a/arch/arm/mach-imx/clocksource.c
+++ b/arch/arm/mach-imx/clocksource.c
@@ -140,6 +140,9 @@ static __maybe_unused struct of_device_id imx_gpt_dt_ids[] = {
 		.compatible = "fsl,imx1-gpt",
 		.data = &regs_imx1,
 	}, {
+		.compatible = "fsl,imx21-gpt",
+		.data = &regs_imx1,
+	}, {
 		.compatible = "fsl,imx31-gpt",
 		.data = &regs_imx31,
 	}, {
-- 
2.7.0




More information about the barebox mailing list