mirror of
https://github.com/openwrt/openwrt.git
synced 2026-05-31 06:21:54 +08:00
realtek: fix SFP support on Plasma Cloud ESX28/PSX28
Like other RTL931x devices, the Plasma Cloud ESX28 and PSX28 also have inverted polarity on the SerDes which drive the SFP ports. Commonly, those always seem to have inverted TX polarity. This was missing from when the devices were added at which time SFP on RTL931x wasn't working at all yet. Add the polarity to the DTS now. Verified on Plasma Cloud PSX28. Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
#include <dt-bindings/phy/phy.h>
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
@@ -473,3 +474,8 @@
|
||||
line-name = "phy-reset";
|
||||
};
|
||||
};
|
||||
|
||||
&serdes8 { tx-polarity = <PHY_POL_INVERT>; };
|
||||
&serdes9 { tx-polarity = <PHY_POL_INVERT>; };
|
||||
&serdes10 { tx-polarity = <PHY_POL_INVERT>; };
|
||||
&serdes11 { tx-polarity = <PHY_POL_INVERT>; };
|
||||
|
||||
Reference in New Issue
Block a user