]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: dts: imx8mp: Add missing LED enumerators for DH electronics i.MX8M Plus DHCOM...
authorMarek Vasut <marek.vasut@mailbox.org>
Tue, 4 Nov 2025 01:52:03 +0000 (02:52 +0100)
committerFabio Estevam <festevam@nabladev.com>
Tue, 4 Nov 2025 15:45:03 +0000 (12:45 -0300)
The LED enumerators are missing, which prevents the LEDs from being
accurately told apart by label. Fill in the enumerators the same way
they are already present on PDK3. Put this into local DT extras until
matching kernel patch lands in Linux.

Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/dts/imx8mp-dhcom-pdk2-u-boot.dtsi

index be2d4fb184a5a02e5fcdbf2f242bb3f7d9037b58..b8b3abd0f03e273c97e2c0d21636af51de160034 100644 (file)
@@ -4,3 +4,23 @@
  */
 
 #include "imx8mp-dhcom-u-boot.dtsi"
+
+/ {
+       led {
+               led-0 {
+                       function-enumerator = <0>;
+               };
+
+               led-1 {
+                       function-enumerator = <1>;
+               };
+
+               led-2 {
+                       function-enumerator = <2>;
+               };
+
+               led-3 {
+                       function-enumerator = <3>;
+               };
+       };
+};