ARM: dts: imx7-colibri: add gpio-line-names
authorStefan Agner <stefan.agner@toradex.com>
Wed, 29 Jan 2020 21:53:36 +0000 (22:53 +0100)
committerShawn Guo <shawnguo@kernel.org>
Fri, 14 Feb 2020 03:10:34 +0000 (11:10 +0800)
commit119c98f16e704e4c85522f6e22c9c819c21c4128
tree3d6860fc63eeeee7c22e2d5f7f0ed0efc0a09baf
parent6b4953fe32ff3ac5981a74c5d8c1c61555a9e6ae
ARM: dts: imx7-colibri: add gpio-line-names

Add Colibri SODIMM numbers as GPIO line names on module level. The GPIO
lines with a name are all available on the SODIMM edge connector of the
Colibri iMX7 module and therefore a customer might use it as a GPIO. The
Toradex Evaluation Board has the SODIMM numbers printed on the silk-
screen. This allows a customer to quickly control a GPIO on a pin-header
by using the name printed next to it.

Putting the GPIO line name on module level makes sure that a customer
gets a reasonable default. If more meaningful names are available on a
custom carrier board, the user can overwrite the line names in a carrier
board level device tree.

The eMMC based modules share all GPIO names except two GPIOs on bank 6
which are not available on the raw NAND devices. Hence overwrite GPIO
line names of bank 6 in the eMMC specific device tree file.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Reviewed-by: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7-colibri.dtsi
arch/arm/boot/dts/imx7d-colibri-emmc.dtsi