[U-Boot] [PATCH v5 7/9] dts: dra7x: Disable USB1 on all evms
Jean-Jacques Hiblot
jjhiblot at ti.com
Fri May 4 14:34:49 UTC 2018
On all the EVMs featuring a SOC of the DRA7 family, the USB1 port is used
as a device for DFU. This port is managed by the platform code and must not
be advertised to the DWC3 DM driver.
This will be changed when/if support for the device mode is added to the
dwc3-omap driver.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- Instead of disabling USB1 port in dts files, use *-u-boot.dtsi files
arch/arm/dts/dra7-evm-u-boot.dtsi | 8 ++++++++
arch/arm/dts/dra71-evm-u-boot.dtsi | 9 +++++++++
arch/arm/dts/dra72-evm-revc-u-boot.dtsi | 8 ++++++++
arch/arm/dts/dra72-evm-u-boot.dtsi | 22 ++++++++++++++++++++++
arch/arm/dts/dra76-evm-u-boot.dtsi | 9 +++++++++
5 files changed, 56 insertions(+)
create mode 100644 arch/arm/dts/dra72-evm-u-boot.dtsi
diff --git a/arch/arm/dts/dra7-evm-u-boot.dtsi b/arch/arm/dts/dra7-evm-u-boot.dtsi
index 3e7da7c..59b5643 100644
--- a/arch/arm/dts/dra7-evm-u-boot.dtsi
+++ b/arch/arm/dts/dra7-evm-u-boot.dtsi
@@ -33,3 +33,11 @@
&mmc2_iodelay_hs200_rev20_conf {
u-boot,dm-spl;
};
+
+&usb1 {
+ status = "disabled";
+};
+
+&omap_dwc3_1 {
+ status = "disabled";
+};
diff --git a/arch/arm/dts/dra71-evm-u-boot.dtsi b/arch/arm/dts/dra71-evm-u-boot.dtsi
index e2ab0bb..a61fcfb 100644
--- a/arch/arm/dts/dra71-evm-u-boot.dtsi
+++ b/arch/arm/dts/dra71-evm-u-boot.dtsi
@@ -45,3 +45,12 @@
&mmc2_iodelay_hs200_rev20_conf {
u-boot,dm-spl;
};
+
+&usb1 {
+ status = "disabled";
+};
+
+&omap_dwc3_1 {
+ status = "disabled";
+};
+
diff --git a/arch/arm/dts/dra72-evm-revc-u-boot.dtsi b/arch/arm/dts/dra72-evm-revc-u-boot.dtsi
index e2ab0bb..aeca9b2 100644
--- a/arch/arm/dts/dra72-evm-revc-u-boot.dtsi
+++ b/arch/arm/dts/dra72-evm-revc-u-boot.dtsi
@@ -45,3 +45,11 @@
&mmc2_iodelay_hs200_rev20_conf {
u-boot,dm-spl;
};
+
+&usb1 {
+ status = "disabled";
+};
+
+&omap_dwc3_1 {
+ status = "disabled";
+};
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 0000000..3d1dd6a
--- /dev/null
+++ b/arch/arm/dts/dra72-evm-u-boot.dtsi
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include "omap5-u-boot.dtsi"
+
+&pcf_gpio_21{
+ u-boot,i2c-offset-len = <0>;
+};
+
+&pcf_hdmi{
+ u-boot,i2c-offset-len = <0>;
+};
+
+&usb1 {
+ status = "disabled";
+};
+
+&omap_dwc3_1 {
+ status = "disabled";
+};
diff --git a/arch/arm/dts/dra76-evm-u-boot.dtsi b/arch/arm/dts/dra76-evm-u-boot.dtsi
index a5a0694..c719421 100644
--- a/arch/arm/dts/dra76-evm-u-boot.dtsi
+++ b/arch/arm/dts/dra76-evm-u-boot.dtsi
@@ -25,3 +25,12 @@
&mmc2_iodelay_hs200_conf {
u-boot,dm-spl;
};
+
+&usb1 {
+ status = "disabled";
+};
+
+&omap_dwc3_1 {
+ status = "disabled";
+};
+
--
2.7.4
More information about the U-Boot
mailing list