[PATCH v2 06/10] ARM: dts: rockchip: rk3588-rock-5b-u-boot: add bootph-all to gadget nodes

Kever Yang kever.yang at rock-chips.com
Sat Aug 12 04:53:12 CEST 2023


Hi Eugen,

On 2023/8/1 15:28, Eugen Hristev wrote:
> Add bootph-all to gadget nodes to have the gadget available in SPL.

Does this gadget available on both USB2 and USB3? I think only USB2 is 
enough?


Thanks,

- Kever

>
> Signed-off-by: Eugen Hristev <eugen.hristev at collabora.com>
> ---
>   arch/arm/dts/rk3588-rock-5b-u-boot.dtsi | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/dts/rk3588-rock-5b-u-boot.dtsi b/arch/arm/dts/rk3588-rock-5b-u-boot.dtsi
> index 5a3292699640..f453aeeaf526 100644
> --- a/arch/arm/dts/rk3588-rock-5b-u-boot.dtsi
> +++ b/arch/arm/dts/rk3588-rock-5b-u-boot.dtsi
> @@ -221,10 +221,12 @@
>   };
>   
>   &u2phy0 {
> +	bootph-all;
>   	status = "okay";
>   };
>   
>   &u2phy0_otg {
> +	bootph-all;
>   	rockchip,typec-vbus-det;
>   	status = "okay";
>   };
> @@ -271,6 +273,7 @@
>   };
>   
>   &usbdp_phy0 {
> +	bootph-all;
>   	orientation-switch;
>   	svid = <0xff01>;
>   	sbu1-dc-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>;
> @@ -293,14 +296,17 @@
>   };
>   
>   &usbdp_phy0_u3 {
> +	bootph-all;
>   	status = "okay";
>   };
>   
>   &usbdrd3_0 {
> +	bootph-all;
>   	status = "okay";
>   };
>   
>   &usbdrd_dwc3_0 {
> +	bootph-all;
>   	dr_mode = "otg";
>   	usb-role-switch;
>   


More information about the U-Boot mailing list