summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2025-11-04 02:52:03 +0100
committerFabio Estevam <[email protected]>2025-11-04 12:45:03 -0300
commit69ba00627548feb501d1dc0915b41b606e1d8392 (patch)
tree1ed5f9d9ea01ad1a9f6a833477431bfcdfe447ca
parentde5ae3e43c21950b6ba03172fbed1ef42dd32db2 (diff)
arm64: dts: imx8mp: Add missing LED enumerators for DH electronics i.MX8M Plus DHCOM on PDK2
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 <[email protected]> Reviewed-by: Peng Fan <[email protected]>
-rw-r--r--arch/arm/dts/imx8mp-dhcom-pdk2-u-boot.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mp-dhcom-pdk2-u-boot.dtsi b/arch/arm/dts/imx8mp-dhcom-pdk2-u-boot.dtsi
index be2d4fb184a..b8b3abd0f03 100644
--- a/arch/arm/dts/imx8mp-dhcom-pdk2-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-dhcom-pdk2-u-boot.dtsi
@@ -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>;
+ };
+ };
+};