projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
307e5cf
)
realtek: align DT macros in RTL839X with RTL838X
author
Markus Stockhausen
<
[email protected]
>
Sat, 17 Sep 2022 17:06:33 +0000
(19:06 +0200)
committer
Sander Vanheule
<
[email protected]
>
Sat, 17 Sep 2022 19:28:21 +0000
(21:28 +0200)
Add a missing definition to the RTL839X DT.
Signed-off-by: Markus Stockhausen <
[email protected]
>
target/linux/realtek/dts-5.10/rtl839x.dtsi
patch
|
blob
|
history
diff --git
a/target/linux/realtek/dts-5.10/rtl839x.dtsi
b/target/linux/realtek/dts-5.10/rtl839x.dtsi
index 2091fe0ba336060c4b6c66a8fe6513651b081f0b..78e2454b7e28ccbcd1ddb6cc4dc75b45a15212e9 100644
(file)
--- 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>; \