realtek: Add support for detecting RTL9303 SoCs
authorBirger Koblitz <git@birger-koblitz.de>
Sun, 16 Jan 2022 07:34:18 +0000 (08:34 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 17 Feb 2022 15:21:47 +0000 (15:21 +0000)
Adds support for detecting RTL9303 SoCs as found e.g.
in the Ubiquiti USW switch.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c

index 76e3ff7486e0b8c69371f4ebc6b76d5a4932db1f..ad8c2d75f2e011ef7bad942355d5a037b36f1075 100644 (file)
@@ -170,6 +170,10 @@ void __init prom_init(void)
                identify_rtl9302();
                soc_info.family = RTL9300_FAMILY_ID;
                break;
+       case 0x9303:
+               soc_info.name = "RTL9303";
+               soc_info.family = RTL9300_FAMILY_ID;
+               break;
        case 0x9313:
                soc_info.name = "RTL9313";
                soc_info.family = RTL9310_FAMILY_ID;