From: Heiko Stuebner <heiko@...>
Date: Sun, 4 Jan 2026 15:24:14 +0100
Commit-Message
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@...>
Patch-Comment
arch/arm64/boot/dts/rockchip/rk3568-qnap-ts233.dts | 11 +++++++++++
arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts | 11 +++++++++++
arch/arm64/boot/dts/rockchip/rk3568-qnap-tsx33.dtsi | 10 ++--------
3 files changed, 24 insertions(+), 8 deletions(-)
Statistics
- 24 lines added
- 8 lines removed
Changes
@@ -51,6 +51,17 @@ eeprom@56 {
};
};
+&keys {
+ pinctrl-names = "default";
+ pinctrl-0 = <©_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>;
@@ -61,6 +61,17 @@ eeprom@56 {
};
};
+&keys {
+ pinctrl-names = "default";
+ pinctrl-0 = <©_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>;
@@ -12,17 +12,11 @@ chosen {
stdout-path = "serial2:115200n8";
};
- keys {
+ keys: keys {
compatible = "gpio-keys";
- pinctrl-0 = <©_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>;