]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: Split Zyxel GS1900-8 into v1 and v2
authorSander Vanheule <sander@svanheule.net>
Wed, 22 Jan 2025 11:25:18 +0000 (12:25 +0100)
committerSander Vanheule <sander@svanheule.net>
Sat, 22 Feb 2025 11:32:35 +0000 (12:32 +0100)
commitabf7f15257e6e8100ca43cf2ff447ef5ddb8c5ac
tree73b19bd2672e0d82be21f9d8dac08d19a15e5083
parentf5b66f765163dfd5ef066f6e93700908916084f1
realtek: Split Zyxel GS1900-8 into v1 and v2

Zyxel GS1900-8 v2 devices have been produced more recently than v1
devices. As there are v1 boards with RTL8380M rev. C SoCs, it can likely
safely be assumed that all v2 devices will also have a recent SoC
revision, supporting the hardware auxiliary MDIO controller.

Make the GS1900-8 v1 use an emulated auxiliary MDIO bus, for backward
compatibility with devices containing an RTL8380M rev. A.

Since the devicetrees are otherwise identical, GS1900-8 v1 devices with
an RTL8380M rev. B or C will also be able to use the (more efficient) v2
image. This includes any currently functioning device with OpenWrt, so
include the old compatible as a supported device for the GS1900-8 v2.

Link: https://github.com/openwrt/openwrt/issues/9534
Signed-off-by: Sander Vanheule <sander@svanheule.net>
(cherry picked from commit 7322d3266d84ec4062046254792d78ebca3ea26d)
target/linux/realtek/base-files/etc/board.d/05_compat-version
target/linux/realtek/dts/rtl8380_zyxel_gs1900-8-v1.dts [new file with mode: 0644]
target/linux/realtek/dts/rtl8380_zyxel_gs1900-8-v2.dts [moved from target/linux/realtek/dts/rtl8380_zyxel_gs1900-8.dts with 64% similarity]
target/linux/realtek/image/rtl838x.mk