realtek: align DT macros in RTL839X with RTL838X
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sat, 17 Sep 2022 17:06:33 +0000 (19:06 +0200)
committerSander Vanheule <sander@svanheule.net>
Sat, 17 Sep 2022 19:28:21 +0000 (21:28 +0200)
Add a missing definition to the RTL839X DT.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
target/linux/realtek/dts-5.10/rtl839x.dtsi

index 2091fe0ba336060c4b6c66a8fe6513651b081f0b..78e2454b7e28ccbcd1ddb6cc4dc75b45a15212e9 100644 (file)
                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>; \