Subject: Re: [PATCH 6/6] arm64: dts: rockchip: Add Bluetooth support for Khadas Edge 2L

From: Heiko Stuebner <[email-masked]>
Date: Mon, 27 Apr 2026 14:27:51 +0200

Am Mittwoch, 25. März 2026, 06:46:14 Mitteleuropäische Sommerzeit schrieb Gray Huang:
> Enable Bluetooth support for the Ampak AP6275P module on the
> Khadas Edge 2L. This involves enabling the UART5 interface for
> HCI communication and defining the required regulators and
> power-sequence pins.
> 
> Signed-off-by: Gray Huang <[email-masked]>
> ---
>  .../dts/rockchip/rk3576-khadas-edge-2l.dts    | 35 +++++++++++++++++++
>  1 file changed, 35 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts b/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts
> index 8ecd00f6645d..345dc4c981c1 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts
> @@ -560,6 +560,20 @@ usb_host_pwren: usb-host-pwren {
>  		};
>  	};
>  
> +	bluetooth {
> +		bt_reg_on: bt-reg-on {
> +			rockchip,pins = <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
> +		};
> +
> +		bt_wake_host: bt-wake-host {
> +			rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_down>;
> +		};
> +
> +		host_wake_bt: host-wake-bt {
> +			rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
> +		};
> +	};

same sorting problem with bluetooth between usb-foo and wifi-foo.

> +
>  	wifi {
>  		wifi_reg_on: wifi-reg-on {
>  			rockchip,pins = <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;

Heiko