[U-Boot] [PATCH v1 6/6] dts: dra7x: enable host on USB2 for all the platforms of the DRA7 family

Jean-Jacques Hiblot jjhiblot at ti.com
Fri Jan 5 13:50:43 UTC 2018


This enables the USB2. USB1 is not enabled because it's managed by platform
code not by DM.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>

---

 arch/arm/dts/dra7-evm-common.dtsi  | 7 +++++++
 arch/arm/dts/dra72-evm-common.dtsi | 4 ++++
 arch/arm/dts/omap5-u-boot.dtsi     | 4 ++++
 3 files changed, 15 insertions(+)

diff --git a/arch/arm/dts/dra7-evm-common.dtsi b/arch/arm/dts/dra7-evm-common.dtsi
index 343e95f..4b11c16 100644
--- a/arch/arm/dts/dra7-evm-common.dtsi
+++ b/arch/arm/dts/dra7-evm-common.dtsi
@@ -191,15 +191,22 @@
 
 &omap_dwc3_1 {
 	extcon = <&extcon_usb1>;
+	status = "disabled";
 };
 
 &usb1 {
 	dr_mode = "otg";
 	extcon = <&extcon_usb1>;
+	status = "disabled";
+};
+
+&omap_dwc3_2 {
+	status = "okay";
 };
 
 &usb2 {
 	dr_mode = "host";
+	status = "okay";
 };
 
 &atl {
diff --git a/arch/arm/dts/dra72-evm-common.dtsi b/arch/arm/dts/dra72-evm-common.dtsi
index 2e485a1..dae3de0 100644
--- a/arch/arm/dts/dra72-evm-common.dtsi
+++ b/arch/arm/dts/dra72-evm-common.dtsi
@@ -386,19 +386,23 @@
 
 &omap_dwc3_1 {
 	extcon = <&extcon_usb1>;
+	status = "disabled";
 };
 
 &omap_dwc3_2 {
 	extcon = <&extcon_usb2>;
+	status = "okay";
 };
 
 &usb1 {
 	dr_mode = "otg";
 	extcon = <&extcon_usb1>;
+	status = "disabled";
 };
 
 &usb2 {
 	dr_mode = "host";
+	status = "okay";
 };
 
 &mmc1 {
diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5-u-boot.dtsi
index bf2684c..a6a7801 100644
--- a/arch/arm/dts/omap5-u-boot.dtsi
+++ b/arch/arm/dts/omap5-u-boot.dtsi
@@ -15,6 +15,10 @@
 	ocp {
 		u-boot,dm-spl;
 
+		ocp2scp at 4a080000 {
+			compatible = "ti,omap-ocp2scp", "simple-bus";
+		};
+
 		ocp2scp at 4a090000 {
 			compatible = "ti,omap-ocp2scp", "simple-bus";
 		};
-- 
1.9.1



More information about the U-Boot mailing list