]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: filogic: arcadyan-mozart: fix polarity properties
authorDaniel Golle <daniel@makrotopia.org>
Mon, 27 Apr 2026 00:50:44 +0000 (01:50 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 27 Apr 2026 01:56:15 +0000 (02:56 +0100)
Use the upstream properties to describe the USXGMII PCS polarity as
the downstream mediatek,pnswap{,-rx,tx} was dropped.
This board was the only user.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/dts/mt7988a-arcadyan-mozart.dts

index 420bd53b69f8343ec4652dc240c953ac53174a2b..41bb4415f7fae581702c02077035b2f379a8f377 100644 (file)
@@ -5,6 +5,7 @@
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/leds/common.h>
+#include <dt-bindings/phy/phy.h>
 
 / {
        compatible = "arcadyan,mozart", "mediatek,mt7988a";
 };
 
 &usxgmiisys0 {
-       mediatek,pnswap-rx;
+       rx-polarity = <PHY_POL_INVERT>;
 };
 
 &usxgmiisys1 {
-       mediatek,pnswap-rx;
+       rx-polarity = <PHY_POL_INVERT>;
 };
 
 &mdio_bus {