From: Markus Stockhausen Date: Sat, 17 Sep 2022 17:06:33 +0000 (+0200) Subject: realtek: align DT macros in RTL839X with RTL838X X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9ed1a1138eba30d0b191e1806217d0a2022402e9;p=openwrt%2Fstaging%2Fnbd.git realtek: align DT macros in RTL839X with RTL838X Add a missing definition to the RTL839X DT. Signed-off-by: Markus Stockhausen --- diff --git a/target/linux/realtek/dts-5.10/rtl839x.dtsi b/target/linux/realtek/dts-5.10/rtl839x.dtsi index 2091fe0ba3..78e2454b7e 100644 --- a/target/linux/realtek/dts-5.10/rtl839x.dtsi +++ b/target/linux/realtek/dts-5.10/rtl839x.dtsi @@ -29,6 +29,13 @@ reg = <##n>; \ }; +#define EXTERNAL_SFP_PHY_FULL(n, s) \ + phy##n: ethernet-phy@##n { \ + compatible = "ethernet-phy-ieee802.3-c22"; \ + sfp = <&sfp##s>; \ + reg = <##n>; \ + }; + #define SWITCH_PORT(n, s, m) \ port@##n { \ reg = <##n>; \