realtek: hpe_1920-8g: add phy-handle for SFP ports

The switch driver actually expects every port to have a PHY handle, and
several branches in the code determine if a port is valid by checking
for a non-zero phy field.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
This commit is contained in:
Jan Hoffmann 2023-03-11 21:34:25 +01:00 committed by Sander Vanheule
parent 3221128639
commit cf8d861978
2 changed files with 4 additions and 0 deletions

View File

@ -87,6 +87,7 @@
port@24 { port@24 {
reg = <24>; reg = <24>;
label = "lan9"; label = "lan9";
phy-handle = <&phy24>;
phy-mode = "1000base-x"; phy-mode = "1000base-x";
managed = "in-band-status"; managed = "in-band-status";
sfp = <&sfp0>; sfp = <&sfp0>;
@ -95,6 +96,7 @@
port@26 { port@26 {
reg = <26>; reg = <26>;
label = "lan10"; label = "lan10";
phy-handle = <&phy26>;
phy-mode = "1000base-x"; phy-mode = "1000base-x";
managed = "in-band-status"; managed = "in-band-status";
sfp = <&sfp1>; sfp = <&sfp1>;

View File

@ -87,6 +87,7 @@
port@24 { port@24 {
reg = <24>; reg = <24>;
label = "lan9"; label = "lan9";
phy-handle = <&phy24>;
phy-mode = "1000base-x"; phy-mode = "1000base-x";
managed = "in-band-status"; managed = "in-band-status";
sfp = <&sfp0>; sfp = <&sfp0>;
@ -95,6 +96,7 @@
port@26 { port@26 {
reg = <26>; reg = <26>;
label = "lan10"; label = "lan10";
phy-handle = <&phy26>;
phy-mode = "1000base-x"; phy-mode = "1000base-x";
managed = "in-band-status"; managed = "in-band-status";
sfp = <&sfp1>; sfp = <&sfp1>;