arm64: dts: rockchip: Move copy-key to TSx33 board files

The copy-key is not present on all device variants, so move it to
the individual boards that have this key.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20260104191448.2693309-4-heiko@sntech.de
This commit is contained in:
Heiko Stuebner 2026-01-04 20:14:46 +01:00
parent 5a16e131dd
commit a81a2d2113
3 changed files with 24 additions and 8 deletions

View File

@ -51,6 +51,17 @@ eeprom@56 {
};
};
&keys {
pinctrl-names = "default";
pinctrl-0 = <&copy_button_pin>, <&reset_button_pin>;
key-copy {
label = "copy";
gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>;
linux,code = <KEY_COPY>;
};
};
&leds {
led-1 {
color = <LED_COLOR_ID_GREEN>;

View File

@ -61,6 +61,17 @@ eeprom@56 {
};
};
&keys {
pinctrl-names = "default";
pinctrl-0 = <&copy_button_pin>, <&reset_button_pin>;
key-copy {
label = "copy";
gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>;
linux,code = <KEY_COPY>;
};
};
&leds {
led-1 {
color = <LED_COLOR_ID_GREEN>;

View File

@ -12,17 +12,11 @@ chosen {
stdout-path = "serial2:115200n8";
};
keys {
keys: keys {
compatible = "gpio-keys";
pinctrl-0 = <&copy_button_pin>, <&reset_button_pin>;
pinctrl-0 = <&reset_button_pin>;
pinctrl-names = "default";
key-copy {
label = "copy";
gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>;
linux,code = <KEY_COPY>;
};
key-reset {
label = "reset";
gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_LOW>;