[PATCH] arm64: dts: rockchip: Add reset button to NanoPi R5S

Krzysztof Kozlowski krzk at kernel.org
Wed Jul 9 04:05:10 PDT 2025


On 09/07/2025 12:57, Diederik de Haas wrote:
> +	gpio-keys {
> +		compatible = "gpio-keys";
> +		pinctrl-0 = <&gpio4_a0_k1>;
> +		pinctrl-names = "default";
> +
> +		button-reset {
> +			debounce-interval = <50>;
> +			gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_LOW>;
> +			label = "RESET";
> +			linux,code = <KEY_RESTART>;
> +		};
> +	};
> +
>  	gpio-leds {
>  		compatible = "gpio-leds";
>  		pinctrl-names = "default";
> @@ -127,6 +140,12 @@ eth_phy0_reset_pin: eth-phy0-reset-pin {
>  		};
>  	};
>  
> +	gpio-keys {
> +		gpio4_a0_k1: gpio4-a0-k1 {

Are you sure that this passes checks?

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list