diff options
author | Markus Stockhausen <markus.stockhausen@gmx.de> | 2022-09-17 19:06:33 +0200 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2022-09-17 21:28:21 +0200 |
commit | 9ed1a1138eba30d0b191e1806217d0a2022402e9 (patch) | |
tree | 1bdd4970042088a0c598e147ae13eb74adcf8901 /target | |
parent | 307e5cfc6ec2f03dd603953e3727fd765ffb3989 (diff) | |
download | upstream-9ed1a1138eba30d0b191e1806217d0a2022402e9.tar.gz upstream-9ed1a1138eba30d0b191e1806217d0a2022402e9.tar.bz2 upstream-9ed1a1138eba30d0b191e1806217d0a2022402e9.zip |
realtek: align DT macros in RTL839X with RTL838X
Add a missing definition to the RTL839X DT.
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/realtek/dts-5.10/rtl839x.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
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>; \ |