[PATCH 2/3] dts: am654-base-board-uboot: Set USB0 dr_mode to host

Aswath Govindraju a-govindraju at ti.com
Mon Dec 21 16:48:51 CET 2020


On 21/12/20 8:42 pm, Lokesh Vutla wrote:
> 
> 
> On 20/11/20 9:18 pm, Aswath Govindraju wrote:
>> USB3SS0 controller is to be used as a host in U-boot. Fix it by changing
>> the dr_mode to host.
>>
>> Signed-off-by: Aswath Govindraju <a-govindraju at ti.com>
> 
> Won't it break dfu support or is it used in different controller?
> 
It is used in a different controller. The port on the base board is used
for dfu and and the port on the overlay board is used for host mode.

Thanks,
Aswath

> 
>> ---
>>  arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
>> index d75d1b1c285a..bd2f334c2b50 100644
>> --- a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
>> +++ b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
>> @@ -270,7 +270,7 @@
>>  &usb0 {
>>  	pinctrl-names = "default";
>>  	pinctrl-0 = <&usb0_pins_default>;
>> -	dr_mode = "peripheral";
>> +	dr_mode = "host";
>>  	u-boot,dm-spl;
>>  };
>>  
>>



More information about the U-Boot mailing list