From e868e3e537278d1d7a19c65fd5c5475c0c825b42 Mon Sep 17 00:00:00 2001
From: Patrice Chotard <patrice.chotard@st.com>
Date: Wed, 15 Nov 2017 13:14:45 +0100
Subject: [PATCH] clk: stm32f7: add dedicated STM32F7 compatible string

Add a dedicated stm32f7 compatible string to use clk_stm32f7
driver with both STM32F4 and STM32F7 SoCs.
It will be needed to manage differences between these 2 SoCs.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
---
 drivers/clk/clk_stm32f7.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/clk_stm32f7.c b/drivers/clk/clk_stm32f7.c
index 0fa838c4ee..eb8a5bf10d 100644
--- a/drivers/clk/clk_stm32f7.c
+++ b/drivers/clk/clk_stm32f7.c
@@ -319,6 +319,7 @@ static struct clk_ops stm32_clk_ops = {
 
 static const struct udevice_id stm32_clk_ids[] = {
 	{ .compatible = "st,stm32f42xx-rcc"},
+	{ .compatible = "st,stm32f746-rcc"},
 	{}
 };
 
-- 
2.39.5