]> git.ipfire.org Git - thirdparty/linux.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:50:13 +0000 (02:50 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 17 Nov 2025 00:56:56 +0000 (08:56 +0800)
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.

Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk2.dts

index ebdf13e97b4e2d1f2dc22e7fe916bcba4ef5ac1e..3d18c964a22cd9e77c5dcd872d0b51126d7f2360 100644 (file)
@@ -88,6 +88,7 @@
                        color = <LED_COLOR_ID_GREEN>;
                        default-state = "off";
                        function = LED_FUNCTION_INDICATOR;
+                       function-enumerator = <0>;
                        gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* GPIO E */
                        pinctrl-0 = <&pinctrl_dhcom_e>;
                        pinctrl-names = "default";
@@ -97,6 +98,7 @@
                        color = <LED_COLOR_ID_GREEN>;
                        default-state = "off";
                        function = LED_FUNCTION_INDICATOR;
+                       function-enumerator = <1>;
                        gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* GPIO F */
                        pinctrl-0 = <&pinctrl_dhcom_f>;
                        pinctrl-names = "default";
                        color = <LED_COLOR_ID_GREEN>;
                        default-state = "off";
                        function = LED_FUNCTION_INDICATOR;
+                       function-enumerator = <2>;
                        gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; /* GPIO H */
                        pinctrl-0 = <&pinctrl_dhcom_h>;
                        pinctrl-names = "default";
                        color = <LED_COLOR_ID_GREEN>;
                        default-state = "off";
                        function = LED_FUNCTION_INDICATOR;
+                       function-enumerator = <3>;
                        gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; /* GPIO I */
                        pinctrl-0 = <&pinctrl_dhcom_i>;
                        pinctrl-names = "default";