Commit 62d127ee authored by Jonathan Neuschäfer's avatar Jonathan Neuschäfer Committed by Joel Stanley

ARM: dts: nuvoton,wpcm450-supermicro-x9sci-ln4f: Add GPIO line names

To make gpioinfo output more useful and enable gpiofind usage, add line
names for GPIOs where the function is known.

This patch follows the naming convention defined for OpenBMC, as much as
possible:

  https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.mdSigned-off-by: default avatarJonathan Neuschäfer <j.neuschaefer@gmx.net>
Link: https://lore.kernel.org/r/20221101102916.440526-1-j.neuschaefer@gmx.netSigned-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent 9abf2313
......@@ -53,6 +53,24 @@ heartbeat {
};
};
&gpio0 {
gpio-line-names =
/* 0 */ "", "host-reset-control-n", "", "", "", "", "", "",
/* 8 */ "", "", "", "", "power-chassis-control-n", "", "uid-button", "";
};
&gpio1 {
gpio-line-names =
/* 0 */ "", "", "", "", "led-heartbeat", "", "", "led-uid",
/* 8 */ "", "", "", "", "", "", "", "";
};
&gpio4 {
gpio-line-names =
/* 0 */ "", "", "", "", "", "", "", "",
/* 8 */ "", "", "", "", "", "", "", "power-chassis-good";
};
&pinctrl {
key_pins: mux-keys {
groups = "gspi", "sspi";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment