Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: aspeed: mihawk: 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: Nichole Wang <Nichole_Wang@wistron.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210330020808.830-1-Nichole_Wang@wistron.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

authored by

Nichole Wang and committed by
Joel Stanley
62b8a07b 7f03894a

+33
+33
arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts
··· 383 383 }; 384 384 }; 385 385 386 + &gpio { 387 + gpio-line-names = 388 + /*A0-A7*/ "","cfam-reset","","","","","","", 389 + /*B0-B7*/ "","","","","","","","", 390 + /*C0-C7*/ "","","","","","","","", 391 + /*D0-D7*/ "fsi-enable","","","","","","","", 392 + /*E0-E7*/ "","","","","","fsi-mux","fsi-clock","fsi-data", 393 + /*F0-F7*/ "","id-button","","","","","air-water","", 394 + /*G0-G7*/ "","","","","","","","", 395 + /*H0-H7*/ "","","","","","","","", 396 + /*I0-I7*/ "","","","","","","","", 397 + /*J0-J7*/ "","","checkstop","","","","","", 398 + /*K0-K7*/ "","","","","","","","", 399 + /*L0-L7*/ "","","","","","","","", 400 + /*M0-M7*/ "","","","","","","","", 401 + /*N0-N7*/ "","","","","","","","", 402 + /*O0-O7*/ "","","","","","","","", 403 + /*P0-P7*/ "","","","","","","","", 404 + /*Q0-Q7*/ "","","","","","","","", 405 + /*R0-R7*/ "","","fsi-trans","","","","","", 406 + /*S0-S7*/ "","","","","","","","", 407 + /*T0-T7*/ "","","","","","","","", 408 + /*U0-U7*/ "","","","","","","","", 409 + /*V0-V7*/ "","","","","","","","", 410 + /*W0-W7*/ "","","","","","","","", 411 + /*X0-X7*/ "","","","","","","","", 412 + /*Y0-Y7*/ "","","","","","","","", 413 + /*Z0-Z7*/ "presence-ps1","","presence-ps0","","","","","", 414 + /*AA0-AA7*/ "led-front-fault","power-button","led-front-id","","","","","", 415 + /*AB0-AB7*/ "","","","","","","","", 416 + /*AC0-AC7*/ "","","","","","","",""; 417 + }; 418 + 386 419 &fmc { 387 420 status = "okay"; 388 421 flash@0 {