mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
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:
parent
5a16e131dd
commit
a81a2d2113
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user