diff options
| author | Markus Stockhausen | 2025-05-20 08:10:17 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-06-22 14:37:33 +0000 |
| commit | 44df7638257aaad2f10719d7988eb8534e97fc4c (patch) | |
| tree | 38969f9d84813440963ac08ee79d8f026188210f | |
| parent | 880565956dd1260c4aff4dd0d4aa0b30766dd755 (diff) | |
| download | openwrt-44df7638257aaad2f10719d7988eb8534e97fc4c.tar.gz | |
realtek: make use of serdes helper for XIKESTOR SKS8300-8X
Use the new INTERNAL_PHY_SDS() helper to describe the SFP ports. For
this device it is only a substitution of the existing DTS configuration.
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18851
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | target/linux/realtek/dts/rtl9303_xikestor_sks8300-8x.dts | 63 |
1 files changed, 8 insertions, 55 deletions
diff --git a/target/linux/realtek/dts/rtl9303_xikestor_sks8300-8x.dts b/target/linux/realtek/dts/rtl9303_xikestor_sks8300-8x.dts index e62636776b..8713100696 100644 --- a/target/linux/realtek/dts/rtl9303_xikestor_sks8300-8x.dts +++ b/target/linux/realtek/dts/rtl9303_xikestor_sks8300-8x.dts @@ -285,61 +285,14 @@ #address-cells = <1>; #size-cells = <0>; - phy0: ethernet-phy@0 { - compatible = "ethernet-phy-ieee802.3-c22"; - phy-is-integrated; - reg = <0>; - sds = <2>; - }; - - phy8: ethernet-phy@8 { - compatible = "ethernet-phy-ieee802.3-c22"; - phy-is-integrated; - reg = <8>; - sds = <3>; - }; - - phy16: ethernet-phy@10 { - compatible = "ethernet-phy-ieee802.3-c22"; - phy-is-integrated; - reg = <16>; - sds = <4>; - }; - - phy20: ethernet-phy@14 { - compatible = "ethernet-phy-ieee802.3-c22"; - phy-is-integrated; - reg = <20>; - sds = <5>; - }; - - phy24: ethernet-phy@18 { - compatible = "ethernet-phy-ieee802.3-c22"; - phy-is-integrated; - reg = <24>; - sds = <6>; - }; - - phy25: ethernet-phy@19 { - compatible = "ethernet-phy-ieee802.3-c22"; - phy-is-integrated; - reg = <25>; - sds = <7>; - }; - - phy26: ethernet-phy@1a { - compatible = "ethernet-phy-ieee802.3-c22"; - phy-is-integrated; - reg = <26>; - sds = <8>; - }; - - phy27: ethernet-phy@1b { - compatible = "ethernet-phy-ieee802.3-c22"; - phy-is-integrated; - reg = <27>; - sds = <9>; - }; + INTERNAL_PHY_SDS(0, 2) + INTERNAL_PHY_SDS(8, 3) + INTERNAL_PHY_SDS(16, 4) + INTERNAL_PHY_SDS(20, 5) + INTERNAL_PHY_SDS(24, 6) + INTERNAL_PHY_SDS(25, 7) + INTERNAL_PHY_SDS(26, 8) + INTERNAL_PHY_SDS(27, 9) }; }; |