[PATCH v7 3/4] ARM: dts: dra7*-evm: Enable dual-role for usb1

From: Roger Quadros
Date: Fri Jun 10 2016 - 09:18:01 EST


Now that we have dual-role support working at USB core,
enable dual-role support for usb1 controller.

Signed-off-by: Roger Quadros <rogerq@xxxxxx>
---
arch/arm/boot/dts/dra7-evm.dts | 5 ++++-
arch/arm/boot/dts/dra72-evm-common.dtsi | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index bafcfac..75a4065 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -731,7 +731,10 @@
};

&usb1 {
- dr_mode = "peripheral";
+ dr_mode = "otg";
+ hnp-disable;
+ srp-disable;
+ adp-disable;
pinctrl-names = "default";
pinctrl-0 = <&usb1_pins>;
};
diff --git a/arch/arm/boot/dts/dra72-evm-common.dtsi b/arch/arm/boot/dts/dra72-evm-common.dtsi
index 093538e..24ad2ff 100644
--- a/arch/arm/boot/dts/dra72-evm-common.dtsi
+++ b/arch/arm/boot/dts/dra72-evm-common.dtsi
@@ -571,7 +571,10 @@
};

&usb2 {
- dr_mode = "host";
+ dr_mode = "otg";
+ hnp-disable;
+ srp-disable;
+ adp-disable;
pinctrl-names = "default";
pinctrl-0 = <&usb2_pins>;
};
--
2.7.4