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

A patch from »Support for QNAP TS133 variant« in state Mainline for linux-kernel

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

-------------- arch/arm64/boot/dts/rockchip/rk3568-qnap-ts233.dts --------------
index e76502180788..52b741376ef5 100644
@@ -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>;
-------------- arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts --------------
index 708e7f1f8d0d..7d2aedfe616d 100644
@@ -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>;
------------- arch/arm64/boot/dts/rockchip/rk3568-qnap-tsx33.dtsi --------------
index 482d8584ec88..cca7b7d0685f 100644
@@ -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>;
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...