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>
13 lines
284 B
Text
13 lines
284 B
Text
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "rtl8380_engenius_ews2910p.dtsi"
|
|
|
|
/ {
|
|
compatible = "engenius,ews2910p-v1", "realtek,rtl838x-soc";
|
|
model = "EnGenius EWS2910P v1";
|
|
};
|
|
|
|
&firmware_partition_1 {
|
|
compatible = "openwrt,uimage";
|
|
openwrt,ih-magic = <0x03802910>;
|
|
};
|