arm64: dts: imx8mp-evk: add PCA6416 gpio line names
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Fri, 11 Feb 2022 15:38:17 +0000 (10:38 -0500)
committerShawn Guo <shawnguo@kernel.org>
Mon, 21 Feb 2022 03:18:22 +0000 (11:18 +0800)
Add gpio-line-names for the various GPIO's connected to the PCA6416
I/O expander on the imx8mp EVK.

This helps when using the new gpiod interface to find the GPIOs by name.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-evk.dts

index 9055ce3..a82c31d 100644 (file)
                pinctrl-0 = <&pinctrl_pca6416_int>;
                interrupt-parent = <&gpio1>;
                interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
+               gpio-line-names = "EXT_PWREN1",
+                       "EXT_PWREN2",
+                       "CAN1/I2C5_SEL",
+                       "PDM/CAN2_SEL",
+                       "FAN_EN",
+                       "PWR_MEAS_IO1",
+                       "PWR_MEAS_IO2",
+                       "EXP_P0_7",
+                       "EXP_P1_0",
+                       "EXP_P1_1",
+                       "EXP_P1_2",
+                       "EXP_P1_3",
+                       "EXP_P1_4",
+                       "EXP_P1_5",
+                       "EXP_P1_6",
+                       "EXP_P1_7";
        };
 };