realtek: restructure Zyxel XGS1210-12 device tree files
authorJan Hoffmann <[email protected]>
Mon, 20 Oct 2025 13:24:40 +0000 (15:24 +0200)
committerRobert Marko <[email protected]>
Mon, 3 Nov 2025 10:07:20 +0000 (11:07 +0100)
commit67b687af918ed219f26d366b6640825ed0e697fd
treee11dbf85b5d4c36aed8c770d62fba54c09c07afe
parent3570dee5f0409cc8bab6a95d716a76112106307e
realtek: restructure Zyxel XGS1210-12 device tree files

This is a preparation for adding support for XGS1010-12, which is almost
identical to XGS1210-12, with some small differences (partition layout,
missing reset key).

In addition to moving the common parts to a new file, also simplify the
definition of the 2.5G PHYs to reduce duplication. With this change, the
revision-specific files only have to specify the SMI addresses.

Signed-off-by: Jan Hoffmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20469
Signed-off-by: Robert Marko <[email protected]>
target/linux/realtek/dts/rtl9302_zyxel_xgs1210-12-a1.dts
target/linux/realtek/dts/rtl9302_zyxel_xgs1210-12-b1.dts
target/linux/realtek/dts/rtl9302_zyxel_xgs1210-12-common.dtsi
target/linux/realtek/dts/rtl9302_zyxel_xgs1x10-12-common.dtsi [new file with mode: 0644]