realtek: rtl930x: add XGS1250-12 B1 device
authorThomas Martitz <[email protected]>
Wed, 24 Sep 2025 12:49:07 +0000 (14:49 +0200)
committerHauke Mehrtens <[email protected]>
Mon, 6 Oct 2025 22:25:02 +0000 (00:25 +0200)
commit133c91823cfb238c89c6a1b03032052cb09c2e57
tree4981562bbe3e8bc390035ecab6d909fbe4fb7b87
parent9f5e43b8da7dad8d5e3ba5786d0810d25a0de384
realtek: rtl930x: add XGS1250-12 B1 device

The A1 and B1 devices are largely the same. The differences
seem to be:
- RTL8218D (A1) vs RTL8218E (B1) PHY for the eight 1 Gbps TP ports
- Aquantia (A1) vs RTL8261N (B1) PHY for the three 10 Gbps TP ports

RTL8218D/E share the same driver and support was added already by
commit c8c187f0f0 ("realtek: add support for RTL8218E").

The RTL8261N is also already supported but it's located at
different addresses compared to the A1 device. This requires
the device tree to be split. As a result, the devices are require
different images.

I found the smi addresses on the forum:
https://forum.openwrt.org/t/support-for-rtl838x-based-managed-switches/57875/3622
And I can conform on my B1 device that this is working.

Co-developed-by: Mathias Kresin <[email protected]>
Signed-off-by: Thomas Martitz <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20150
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12-a1.dts
target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12-b1.dts [new file with mode: 0644]
target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12-common.dtsi [new file with mode: 0644]
target/linux/realtek/image/rtl930x.mk