ARM: dts: aspeed: witherspoon: Add gpio line names

Name the GPIOs to help userspace work with them. The names describe the
functionality the lines provide, not the net or ball name. This makes it
easier to share userspace code across different systems and makes the
use of the lines more obvious.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
Andrew Geissler 2020-02-06 11:02:34 -06:00 committed by Joel Stanley
parent c998f40f2a
commit d5ece55c18

View file

@ -191,6 +191,40 @@ iio-hwmon-bmp280 {
};
&gpio {
gpio-line-names =
/*A0-A7*/ "","cfam-reset","","","","","fsi-mux","",
/*B0-B7*/ "","","","","","air-water","","",
/*C0-C7*/ "","","","","","","","",
/*D0-D7*/ "fsi-enable","","","","","","","",
/*E0-E7*/ "fsi-data","","","","","","","",
/*F0-F7*/ "","","","","","","","",
/*G0-G7*/ "","","","","","","","",
/*H0-H7*/ "","","","","","","","",
/*I0-I7*/ "","","","","","","","",
/*J0-J7*/ "","","checkstop","","","","","",
/*K0-K7*/ "","","","","","","","",
/*L0-L7*/ "","","","","","","","",
/*M0-M7*/ "","","","","","","","",
/*N0-N7*/ "presence-ps1","","led-rear-fault","led-rear-power",
"led-rear-id","","","",
/*O0-O7*/ "","","","","","","","",
/*P0-P7*/ "","","","","","","","presence-ps0",
/*Q0-Q7*/ "","","","","","","","",
/*R0-R7*/ "","","fsi-trans","","","power-button","","",
/*S0-S7*/ "","","","","","","","",
/*T0-T7*/ "","","","","","","","",
/*U0-U7*/ "","","","","","","","",
/*V0-V7*/ "","","","","","","","",
/*W0-W7*/ "","","","","","","","",
/*X0-X7*/ "","","","","","","","",
/*Y0-Y7*/ "","","","","","","","",
/*Z0-Z7*/ "","","","","","","","",
/*AA0-AA7*/ "fsi-clock","","","","","","","",
/*AB0-AB7*/ "","","","","","","","",
/*AC0-AC7*/ "","","","","","","","";
};
&fmc {
status = "okay";