aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/dts-5.10/rtl838x.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/dts-5.10/rtl838x.dtsi')
-rw-r--r--target/linux/realtek/dts-5.10/rtl838x.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/realtek/dts-5.10/rtl838x.dtsi b/target/linux/realtek/dts-5.10/rtl838x.dtsi
index 11cabc3f63..41fdbdae20 100644
--- a/target/linux/realtek/dts-5.10/rtl838x.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl838x.dtsi
@@ -27,6 +27,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>; \