projects
/
openwrt
/
staging
/
jow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
realtek: add support for HPE 1920 series
[openwrt/staging/jow.git]
/
target
/
linux
/
realtek
/
dts-5.10
/
rtl838x.dtsi
diff --git
a/target/linux/realtek/dts-5.10/rtl838x.dtsi
b/target/linux/realtek/dts-5.10/rtl838x.dtsi
index 11cabc3f63cb7c8c0a61fcb8b0c5587f09ae33b6..41fdbdae20b2b482670224aa2b0371e04f345395 100644
(file)
--- 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>; \