The upstream SG2000 devicetree (sg2000.dtsi) uses "sophgo,sg2000-clk" as
the clock controller compatible string. The clocks needed by U-Boot are
the same as on the CV1800, so the existing driver can be reused.

Add "sophgo,sg2000-clk" to the driver match table.

Signed-off-by: João Paulo Gonçalves <[email protected]>
---
 drivers/clk/sophgo/clk-cv1800b.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/sophgo/clk-cv1800b.c b/drivers/clk/sophgo/clk-cv1800b.c
index 248a69321fc1..93d71ad1c314 100644
--- a/drivers/clk/sophgo/clk-cv1800b.c
+++ b/drivers/clk/sophgo/clk-cv1800b.c
@@ -744,6 +744,7 @@ const struct clk_ops cv1800b_clk_ops = {
 
 static const struct udevice_id cv1800b_clk_of_match[] = {
        { .compatible = "sophgo,cv1800-clk" },
+       { .compatible = "sophgo,sg2000-clk" },
        { },
 };
 

-- 
2.53.0

Reply via email to