realtek: engenius_ews2910p: support multiple hardware versions
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Wed, 17 Apr 2024 02:28:23 +0000 (21:28 -0500)
committerRobert Marko <robimarko@gmail.com>
Sat, 31 May 2025 21:19:01 +0000 (23:19 +0200)
commite5625fb4485b6e937fa52b4e47a60ec2a871e3c9
tree2819224edb24878774308b359a2fd605602cd33a
parent2a32d215ba4759d08ca290e8ac298190a6ad6d57
realtek: engenius_ews2910p: support multiple hardware versions

When the Engenius EWS-2910P was added, only v1 was known. Move the
common parts to a dtsi, and split up the support to acccount for the
hardware version.

On v3, for example, the root partition uses a different uImage magic.

Add a "engenius,ews2910p-v1" compatible, while leaving the legacy
"engenius,ews2910p" to also mean v1.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15217
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/base-files/etc/board.d/02_network
target/linux/realtek/dts/rtl8380_engenius_ews2910p-v1.dts [new file with mode: 0644]
target/linux/realtek/dts/rtl8380_engenius_ews2910p.dts [deleted file]
target/linux/realtek/dts/rtl8380_engenius_ews2910p.dtsi [new file with mode: 0644]
target/linux/realtek/image/common.mk
target/linux/realtek/image/rtl838x.mk