From 987c96e88927094ff61e83870f872f0560d8e5c1 Mon Sep 17 00:00:00 2001 From: Kevin Jilissen Date: Sun, 8 Oct 2023 16:56:40 +0200 Subject: realtek: rename hpe,1920-8g-poe to match hardware There are two hardware models of the HPE 1920-8g-poe switch. The version currently in the repository is the model with a PoE budget of 180W. In preparation of the addition of the 65W model, the existing model is renamed to clarify the hardware version it targets. As suggested by Pawel, the 'SUPPORTED_DEVICES' includes the old target name to enable an upgrade path of builds with the old name. Suggested-by: Pawel Dembicki Signed-off-by: Kevin Jilissen --- .../linux/realtek/dts-5.15/rtl8380_hpe_1920-8g-poe-180w.dts | 12 ++++++++++++ target/linux/realtek/dts-5.15/rtl8380_hpe_1920-8g-poe.dts | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 target/linux/realtek/dts-5.15/rtl8380_hpe_1920-8g-poe-180w.dts delete mode 100644 target/linux/realtek/dts-5.15/rtl8380_hpe_1920-8g-poe.dts (limited to 'target/linux/realtek/dts-5.15') diff --git a/target/linux/realtek/dts-5.15/rtl8380_hpe_1920-8g-poe-180w.dts b/target/linux/realtek/dts-5.15/rtl8380_hpe_1920-8g-poe-180w.dts new file mode 100644 index 0000000000..6398e6d034 --- /dev/null +++ b/target/linux/realtek/dts-5.15/rtl8380_hpe_1920-8g-poe-180w.dts @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "rtl8380_hpe_1920-8g.dtsi" + +/ { + compatible = "hpe,1920-8g-poe-180w", "realtek,rtl838x-soc"; + model = "HPE 1920-8G-PoE+ 180W (JG922A)"; +}; + +&uart1 { + status = "okay"; +}; diff --git a/target/linux/realtek/dts-5.15/rtl8380_hpe_1920-8g-poe.dts b/target/linux/realtek/dts-5.15/rtl8380_hpe_1920-8g-poe.dts deleted file mode 100644 index 3b00c31411..0000000000 --- a/target/linux/realtek/dts-5.15/rtl8380_hpe_1920-8g-poe.dts +++ /dev/null @@ -1,12 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT - -#include "rtl8380_hpe_1920-8g.dtsi" - -/ { - compatible = "hpe,1920-8g-poe", "realtek,rtl838x-soc"; - model = "HPE 1920-8G-PoE+ (JG922A)"; -}; - -&uart1 { - status = "okay"; -}; -- cgit v1.2.3