From: Faiz Abbas Date: Wed, 9 Oct 2019 10:35:18 +0000 (+0200) Subject: ARM: dts: dra7: Add usb peripheral nodes in spl X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=6b23f53b0818130ea6c727357ae3d3109b235e50;p=u-boot.git ARM: dts: dra7: Add usb peripheral nodes in spl Add usb peripheral and usb phy nodes in spl to enable SPL_DFU bootmode. Signed-off-by: Faiz Abbas Signed-off-by: Jean-Jacques Hiblot --- diff --git a/arch/arm/dts/dra7-evm-u-boot.dtsi b/arch/arm/dts/dra7-evm-u-boot.dtsi index badaebc76f..f06c701dbd 100644 --- a/arch/arm/dts/dra7-evm-u-boot.dtsi +++ b/arch/arm/dts/dra7-evm-u-boot.dtsi @@ -32,3 +32,20 @@ &mmc2_iodelay_hs200_rev20_conf { u-boot,dm-spl; }; + +&omap_dwc3_1 { + u-boot,dm-spl; +}; + +&usb1 { + u-boot,dm-spl; + dr_mode = "peripheral"; +}; + +&usb2_phy1 { + u-boot,dm-spl; +}; + +&usb3_phy1 { + u-boot,dm-spl; +}; diff --git a/arch/arm/dts/dra71-evm-u-boot.dtsi b/arch/arm/dts/dra71-evm-u-boot.dtsi index f9da15f1c7..b56d4fc9d8 100644 --- a/arch/arm/dts/dra71-evm-u-boot.dtsi +++ b/arch/arm/dts/dra71-evm-u-boot.dtsi @@ -44,3 +44,20 @@ &mmc2_iodelay_hs200_rev20_conf { u-boot,dm-spl; }; + +&omap_dwc3_1 { + u-boot,dm-spl; +}; + +&usb1 { + u-boot,dm-spl; + dr_mode = "peripheral"; +}; + +&usb2_phy1 { + u-boot,dm-spl; +}; + +&usb3_phy1 { + u-boot,dm-spl; +}; diff --git a/arch/arm/dts/dra72-evm-revc-u-boot.dtsi b/arch/arm/dts/dra72-evm-revc-u-boot.dtsi index f9da15f1c7..b56d4fc9d8 100644 --- a/arch/arm/dts/dra72-evm-revc-u-boot.dtsi +++ b/arch/arm/dts/dra72-evm-revc-u-boot.dtsi @@ -44,3 +44,20 @@ &mmc2_iodelay_hs200_rev20_conf { u-boot,dm-spl; }; + +&omap_dwc3_1 { + u-boot,dm-spl; +}; + +&usb1 { + u-boot,dm-spl; + dr_mode = "peripheral"; +}; + +&usb2_phy1 { + u-boot,dm-spl; +}; + +&usb3_phy1 { + u-boot,dm-spl; +}; diff --git a/arch/arm/dts/dra72-evm-u-boot.dtsi b/arch/arm/dts/dra72-evm-u-boot.dtsi new file mode 100644 index 0000000000..6c868f75d1 --- /dev/null +++ b/arch/arm/dts/dra72-evm-u-boot.dtsi @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ + */ + +#include "omap5-u-boot.dtsi" + +&omap_dwc3_1 { + u-boot,dm-spl; +}; + +&usb1 { + u-boot,dm-spl; + dr_mode = "peripheral"; +}; + +&usb2_phy1 { + u-boot,dm-spl; +}; + +&usb3_phy1 { + u-boot,dm-spl; +}; diff --git a/arch/arm/dts/dra76-evm-u-boot.dtsi b/arch/arm/dts/dra76-evm-u-boot.dtsi index f651f404e0..a4dfbe7e60 100644 --- a/arch/arm/dts/dra76-evm-u-boot.dtsi +++ b/arch/arm/dts/dra76-evm-u-boot.dtsi @@ -24,3 +24,20 @@ &mmc2_iodelay_hs200_conf { u-boot,dm-spl; }; + +&omap_dwc3_1 { + u-boot,dm-spl; +}; + +&usb1 { + u-boot,dm-spl; + dr_mode = "peripheral"; +}; + +&usb2_phy1 { + u-boot,dm-spl; +}; + +&usb3_phy1 { + u-boot,dm-spl; +}; diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5-u-boot.dtsi index 1b1d765fae..39071e223d 100644 --- a/arch/arm/dts/omap5-u-boot.dtsi +++ b/arch/arm/dts/omap5-u-boot.dtsi @@ -22,6 +22,7 @@ ocp2scp@4a080000 { compatible = "ti,omap-ocp2scp", "simple-bus"; + u-boot,dm-spl; }; ocp2scp@4a090000 {