[PATCH 3/3] arm: dts: rockchip: radxa-cm3-io, rock-3a: enable regulators for usb

Kever Yang kever.yang at rock-chips.com
Thu Apr 20 12:08:58 CEST 2023


On 2023/4/20 17:56, FUKAUMI Naoki wrote:
> enable regulators for usb host function
>
> Signed-off-by: FUKAUMI Naoki <naoki at radxa.com>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever

> ---
>   arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi | 4 ++++
>   arch/arm/dts/rk3568-rock-3a-u-boot.dtsi      | 8 ++++++++
>   2 files changed, 12 insertions(+)
>
> diff --git a/arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi b/arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi
> index 4e79173833..d183e93575 100644
> --- a/arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi
> +++ b/arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi
> @@ -16,3 +16,7 @@
>   	bootph-all;
>   	status = "okay";
>   };
> +
> +&vcc5v0_usb30 {
> +	regulator-boot-on;
> +};
> diff --git a/arch/arm/dts/rk3568-rock-3a-u-boot.dtsi b/arch/arm/dts/rk3568-rock-3a-u-boot.dtsi
> index 9ef1e84770..b7b18e131a 100644
> --- a/arch/arm/dts/rk3568-rock-3a-u-boot.dtsi
> +++ b/arch/arm/dts/rk3568-rock-3a-u-boot.dtsi
> @@ -26,3 +26,11 @@
>   	bootph-all;
>   	status = "okay";
>   };
> +
> +&vcc5v0_usb_host {
> +	regulator-boot-on;
> +};
> +
> +&vcc5v0_usb_hub {
> +	regulator-boot-on;
> +};


More information about the U-Boot mailing list