1 From 670f77f76f650b1b341d31d009cc2fb03a4d1fcf Mon Sep 17 00:00:00 2001
2 From: Shiji Yang <yangshiji66@outlook.com>
3 Date: Fri, 23 Jun 2023 08:17:48 +0800
4 Subject: mips: ralink: match all supported system controller compatible
7 Recently, A new clock and reset controller driver has been introduced to
8 the ralink mips target[1]. It provides proper system control and adds more
9 SoC specific compatible strings. In order to better initialize CPUs, this
10 patch removes the outdated "ralink,mt7620a-sysc" and add all dt-binding
11 documented compatible strings to the system controller match table.
13 [1] https://lore.kernel.org/all/20230619040941.1340372-1-sergio.paracuellos@gmail.com/
15 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
16 Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
17 Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
19 arch/mips/ralink/of.c | 7 ++++++-
20 1 file changed, 6 insertions(+), 1 deletion(-)
22 --- a/arch/mips/ralink/of.c
23 +++ b/arch/mips/ralink/of.c
24 @@ -40,10 +40,15 @@ static const struct of_device_id mtmips_
26 static const struct of_device_id mtmips_sysc_match[] = {
27 { .compatible = "mediatek,mt7621-sysc" },
28 - { .compatible = "ralink,mt7620a-sysc" },
29 + { .compatible = "ralink,mt7620-sysc" },
30 + { .compatible = "ralink,mt7628-sysc" },
31 + { .compatible = "ralink,mt7688-sysc" },
32 { .compatible = "ralink,rt2880-sysc" },
33 { .compatible = "ralink,rt3050-sysc" },
34 + { .compatible = "ralink,rt3052-sysc" },
35 + { .compatible = "ralink,rt3352-sysc" },
36 { .compatible = "ralink,rt3883-sysc" },
37 + { .compatible = "ralink,rt5350-sysc" },