ARM: dts: renesas: Use proper node names for keys

Avoids 'keyboard: 'four', 'one', 'three', 'two' do not match any of the
regexes: ...

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20240926110718.20519-6-wsa+renesas@sang-engineering.com
Link: https://lore.kernel.org/20240926110718.20519-7-wsa+renesas@sang-engineering.com
Link: https://lore.kernel.org/20240926110718.20519-8-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
Wolfram Sang
2024-09-26 13:07:19 +02:00
committed by Geert Uytterhoeven
parent a7190e21f3
commit 70ccb46a0c
3 changed files with 12 additions and 12 deletions

View File

@@ -31,28 +31,28 @@ chosen {
gpio_keys {
compatible = "gpio-keys";
one {
key-1 {
debounce-interval = <50>;
wakeup-source;
label = "DSW2-1";
linux,code = <KEY_1>;
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
};
two {
key-2 {
debounce-interval = <50>;
wakeup-source;
label = "DSW2-2";
linux,code = <KEY_2>;
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
};
three {
key-3 {
debounce-interval = <50>;
wakeup-source;
label = "DSW2-3";
linux,code = <KEY_3>;
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
};
four {
key-4 {
debounce-interval = <50>;
wakeup-source;
label = "DSW2-4";

View File

@@ -79,28 +79,28 @@ keyboard {
pinctrl-0 = <&keyboard_pins>;
pinctrl-names = "default";
one {
key-1 {
linux,code = <KEY_1>;
label = "SW2-1";
wakeup-source;
debounce-interval = <20>;
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
two {
key-2 {
linux,code = <KEY_2>;
label = "SW2-2";
wakeup-source;
debounce-interval = <20>;
gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
};
three {
key-3 {
linux,code = <KEY_3>;
label = "SW2-3";
wakeup-source;
debounce-interval = <20>;
gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
};
four {
key-4 {
linux,code = <KEY_4>;
label = "SW2-4";
wakeup-source;

View File

@@ -96,28 +96,28 @@ keyboard {
pinctrl-0 = <&keyboard_pins>;
pinctrl-names = "default";
one {
key-1 {
linux,code = <KEY_1>;
label = "SW2-1";
wakeup-source;
debounce-interval = <20>;
gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
};
two {
key-2 {
linux,code = <KEY_2>;
label = "SW2-2";
wakeup-source;
debounce-interval = <20>;
gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
};
three {
key-3 {
linux,code = <KEY_3>;
label = "SW2-3";
wakeup-source;
debounce-interval = <20>;
gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
};
four {
key-4 {
linux,code = <KEY_4>;
label = "SW2-4";
wakeup-source;