mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-09-26 07:54:59 +00:00
Zyxel labels their switch revisions A1, B1, ... and not v1, v2, ... Rename the devices as such in OpenWrt to match the labels. Of note: the first (A1) revision is never labeled as such on the label, just in the web UI. Provide compatibles for seamless sysupgrade. For a recent overview of Zyxel GS1900 series revisions, see the table linked in https://forum.openwrt.org/t//57875/3874. Signed-off-by: Stijn Segers <foss@volatilesystems.org> Link: https://github.com/openwrt/openwrt/pull/20118 Signed-off-by: Robert Marko <robimarko@gmail.com>
38 lines
691 B
Plaintext
38 lines
691 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "rtl8380_zyxel_gs1900.dtsi"
|
|
#include "rtl8380_zyxel_gs1900_gpio.dtsi"
|
|
|
|
/ {
|
|
compatible = "zyxel,gs1900-16-a1", "realtek,rtl838x-soc";
|
|
model = "Zyxel GS1900-16 A1";
|
|
};
|
|
|
|
&mdio_bus0 {
|
|
EXTERNAL_PHY(16)
|
|
EXTERNAL_PHY(17)
|
|
EXTERNAL_PHY(18)
|
|
EXTERNAL_PHY(19)
|
|
EXTERNAL_PHY(20)
|
|
EXTERNAL_PHY(21)
|
|
EXTERNAL_PHY(22)
|
|
EXTERNAL_PHY(23)
|
|
};
|
|
|
|
&switch0 {
|
|
ports {
|
|
SWITCH_PORT(16, 9, qsgmii)
|
|
SWITCH_PORT(17, 10, qsgmii)
|
|
SWITCH_PORT(18, 11, qsgmii)
|
|
SWITCH_PORT(19, 12, qsgmii)
|
|
SWITCH_PORT(20, 13, qsgmii)
|
|
SWITCH_PORT(21, 14, qsgmii)
|
|
SWITCH_PORT(22, 15, qsgmii)
|
|
SWITCH_PORT(23, 16, qsgmii)
|
|
};
|
|
};
|
|
|
|
&gpio1 {
|
|
/delete-node/ poe_enable;
|
|
};
|