summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clocksource.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2015-10-26 15:03:08 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-10-26 15:06:58 +0100
commit1678dcf7ca52b8028e6dd311fba1402eb49d3565 (patch)
tree410a1b1325238e37ce400d569b0063b4dad390c1 /arch/arm/mach-imx/clocksource.c
parente4216c80acb03f33019b5f6f8465733d0b522406 (diff)
downloadbarebox-1678dcf7ca52b8028e6dd311fba1402eb49d3565.tar.gz
barebox-1678dcf7ca52b8028e6dd311fba1402eb49d3565.tar.xz
ARM: imx: clocksource: add new DT compatible
The i.MX6 DL/S DT has been changed to use more specific compatibles as GPTv2 has a different programming model for modes used in Linux. This difference doesn't matter for Barebox, but the old mx31 compatible has been dropped from the DT, so we need to match on the one still present. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/clocksource.c')
-rw-r--r--arch/arm/mach-imx/clocksource.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clocksource.c b/arch/arm/mach-imx/clocksource.c
index 06d2fba412..a11b978bf4 100644
--- a/arch/arm/mach-imx/clocksource.c
+++ b/arch/arm/mach-imx/clocksource.c
@@ -141,6 +141,9 @@ static __maybe_unused struct of_device_id imx_gpt_dt_ids[] = {
.compatible = "fsl,imx31-gpt",
.data = &regs_imx31,
}, {
+ .compatible = "fsl,imx6q-gpt",
+ .data = &regs_imx31,
+ }, {
/* sentinel */
}
};