mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 02:40:19 +00:00
realtek: add full SFP support to D-Link DGS-1210-28 series
The DGS-1210-28 series was lacking full SFP support due to missing GPIOs. Fortunately, the existing GPIO definitions of DGS-1210-52 match, this adds the required i2c-gpio nodes to the DTS and allows hotplug SFP support. Signed-off-by: Andreas Böhler <dev@aboehler.at> Link: https://github.com/openwrt/openwrt/pull/15616 Signed-off-by: Sander Vanheule <sander@svanheule.net>
This commit is contained in:
parent
01d8e41c16
commit
257a356b20
@ -3,6 +3,7 @@
|
||||
#include "rtl838x.dtsi"
|
||||
#include "rtl83xx_d-link_dgs-1210_common.dtsi"
|
||||
#include "rtl83xx_d-link_dgs-1210_gpio.dtsi"
|
||||
#include "rtl83xx_d-link_dgs-1210_gpio_sfp.dtsi"
|
||||
#include "rtl8382_d-link_dgs-1210-28_common.dtsi"
|
||||
|
||||
/ {
|
||||
|
@ -34,10 +34,11 @@
|
||||
EXTERNAL_PHY(22)
|
||||
EXTERNAL_PHY(23)
|
||||
|
||||
EXTERNAL_SFP_PHY(24)
|
||||
EXTERNAL_SFP_PHY(25)
|
||||
EXTERNAL_SFP_PHY(26)
|
||||
EXTERNAL_SFP_PHY(27)
|
||||
/* External phy RTL8214FC */
|
||||
EXTERNAL_SFP_PHY_FULL(24, 0)
|
||||
EXTERNAL_SFP_PHY_FULL(25, 1)
|
||||
EXTERNAL_SFP_PHY_FULL(26, 2)
|
||||
EXTERNAL_SFP_PHY_FULL(27, 3)
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include "rtl838x.dtsi"
|
||||
#include "rtl83xx_d-link_dgs-1210_common.dtsi"
|
||||
#include "rtl83xx_d-link_dgs-1210_gpio.dtsi"
|
||||
#include "rtl83xx_d-link_dgs-1210_gpio_sfp.dtsi"
|
||||
#include "rtl8382_d-link_dgs-1210-28_common.dtsi"
|
||||
|
||||
/ {
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "rtl839x.dtsi"
|
||||
#include "rtl83xx_d-link_dgs-1210_common.dtsi"
|
||||
#include "rtl83xx_d-link_dgs-1210_gpio.dtsi"
|
||||
#include "rtl839x_d-link_dgs-1210_gpio.dtsi"
|
||||
#include "rtl83xx_d-link_dgs-1210_gpio_sfp.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "d-link,dgs-1210-52", "realtek,rtl8393-soc";
|
||||
|
Loading…
Reference in New Issue
Block a user