mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 06:01:53 +02:00
ARM: dts: nuvoton: wpcm450: align LED and GPIO keys node name with bindings
Bindings expect the LED and GPIO keys node names to follow certain pattern, see dtbs_check warnings: nuvoton-wpcm450-supermicro-x9sci-ln4f.dtb: gpio-keys: 'uid' does not match any of the regexes: '^(button|event|key|switch|(button|event|key|switch)... Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Link: https://lore.kernel.org/r/20240701164915.577068-1-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
This commit is contained in:
parent
71aa9fd7b5
commit
c7b44ed960
|
|
@ -34,7 +34,7 @@ gpio-keys {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&key_pins>;
|
||||
|
||||
uid {
|
||||
button-uid {
|
||||
label = "UID button";
|
||||
linux,code = <KEY_HOME>;
|
||||
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
||||
|
|
@ -46,12 +46,12 @@ gpio-leds {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
|
||||
uid {
|
||||
led-uid {
|
||||
label = "UID";
|
||||
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
heartbeat {
|
||||
led-heartbeat {
|
||||
label = "heartbeat";
|
||||
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user