diff options
author | Jonathan Neuschäfer <[email protected]> | 2022-11-01 11:29:16 +0100 |
---|---|---|
committer | Joel Stanley <[email protected]> | 2022-11-20 20:49:09 +1030 |
commit | 62d127eeac27e9a43ede8035b6a070279769897b (patch) | |
tree | 775cdbb7b4b7de267cf81b9801bfcced1b656334 | |
parent | 9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff) |
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.md
Signed-off-by: Jonathan Neuschäfer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joel Stanley <[email protected]>
-rw-r--r-- | arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts b/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts index 3ee61251a16d..c5957eb01dad 100644 --- a/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts +++ b/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts @@ -53,6 +53,24 @@ }; }; +&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"; |