Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 392aba55 authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Maxime Ripard
Browse files

arm: dts: sun7i-a20-bananapi: name the GPIO lines



This names the GPIO lines on the Banana Pi board in accordance with
the A20_Banana_Pi v1.4 Specification.

This will make these line names reflect through to user space
so that they can easily be identified and used with the new
character device ABI.

Signed-off-by: default avatarOleksij Rempel <linux@rempel-privat.de>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent e20f0493
Loading
Loading
Loading
Loading
+51 −0
Original line number Diff line number Diff line
@@ -177,6 +177,57 @@
};

&pio {
	gpio-line-names =
		/* PA */
		"ERXD3", "ERXD2", "ERXD1", "ERXD0", "ETXD3",
			"ETXD2", "ETXD1", "ETXD0",
		"ERXCK", "ERXERR", "ERXDV", "EMDC", "EMDIO",
			"ETXEN", "ETXCK", "ECRS",
		"ECOL", "ETXERR", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		/* PB */
		"PMU-SCK", "PMU-SDA", "", "", "", "", "", "",
		"", "USB0-DRV", "", "", "", "", "", "",
		"", "", "", "", "SCL", "SDA", "", "",
		"", "", "", "", "", "", "", "",
		/* PC */
		"", "", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		/* PD */
		"", "", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		/* PE */
		"", "", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		/* PF */
		"SD0-D1", "SD0-D0", "SD0-CLK", "SD0-CMD", "SD0-D3",
			"SD0-D2", "", "",
		"", "", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		/* PG */
		"", "", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		"", "", "", "", "", "", "", "",
		/* PH */
		"TXD0", "RXD0", "IO-1", "PH3", "USB0-IDDET", "PH5", "", "",
		"", "", "SD0-DET", "", "", "", "", "",
		"", "", "", "", "IO-4", "IO-5", "", "EMAC-PWR-EN",
		"LED1", "", "", "", "", "", "", "",
		/* PI */
		"", "", "", "IO-GCLK", "", "", "", "",
		"", "", "SPI-CE0", "SPI-CLK", "SPI-MOSI",
			"SPI-MISO", "SPI-CE1", "",
		"IO-6", "IO-3", "IO-2", "IO-0", "", "", "", "",
		"", "", "", "", "", "", "", "";

	usb0_id_detect_pin: usb0_id_detect_pin@0 {
		pins = "PH4";
		function = "gpio_in";