realtek: Add support for detecting RTL9303 SoCs
authorBirger Koblitz <[email protected]>
Sun, 16 Jan 2022 07:34:18 +0000 (08:34 +0100)
committerPaul Spooren <[email protected]>
Wed, 2 Feb 2022 09:32:58 +0000 (10:32 +0100)
Adds support for detecting RTL9303 SoCs as found e.g.
in the Ubiquiti USW switch.

Signed-off-by: Birger Koblitz <[email protected]>
target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c

index d1a4d704b5152714c003e18cc7e1c8dfdbec8d39..1bcecfc30337848bbf3554cd1bf044a37f6b488c 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;