Skip to content

Commit ad16fae

Browse files
committed
ARM: dts: revpi-connect4: Swap LED mode of SoC Ethernet
Existing RevPi products use a green LED to signify link presence and an amber LED to signify activity. The Connect 4's LAN7800 Ethernet retains that color scheme, but the SoC Ethernet does not: It uses green for activity and amber for link. Invert the color scheme of the SoC Ethernet for consistency. An effort is ongoing in mainline to introduce a standardized API and DeviceTree schema for Ethernet LED modes. It's still in review though, so use the Foundation's custom DeviceTree property for now: https://lore.kernel.org/all/20230427001541.18704-1-ansuelsmth@gmail.com/ Signed-off-by: Lukas Wunner <lukas@wunner.de>
1 parent c04cc9a commit ad16fae

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

arch/arm/boot/dts/overlays/revpi-connect4-overlay.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,4 +299,13 @@
299299
/* No configuration till now*/
300300
};
301301
};
302+
303+
/* PHY1 (SoC Ethernet) */
304+
fragment@8 {
305+
target = <&phy1>;
306+
__overlay__ {
307+
/* Link Speed/Activity */
308+
led-modes = <0x08 0x00>;
309+
};
310+
};
302311
};

0 commit comments

Comments
 (0)