mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: dts: phyCORE-i.MX 6UL: Enable USB host port
@ 2018-12-05 15:40 Stefan Riedmueller
  2018-12-05 15:40 ` [PATCH 2/3] ARM: dts: phyCORE-i.MX 6UL/ULL: Enable USB OTG on port 1 Stefan Riedmueller
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefan Riedmueller @ 2018-12-05 15:40 UTC (permalink / raw)
  To: barebox

The phyBOARD-Segin baseboard of the phyCORE-i.MX 6UL features a USB
type A connector on the second USB OTG port of the i.MX 6UL. So enable this
port as a host port.

Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
---
 arch/arm/dts/imx6ul-phytec-phycore-som.dts  | 4 ++++
 arch/arm/dts/imx6ul-phytec-phycore-som.dtsi | 6 ++++++
 2 files changed, 10 insertions(+)

diff --git a/arch/arm/dts/imx6ul-phytec-phycore-som.dts b/arch/arm/dts/imx6ul-phytec-phycore-som.dts
index 73f7dbe9a6b3..509424347082 100644
--- a/arch/arm/dts/imx6ul-phytec-phycore-som.dts
+++ b/arch/arm/dts/imx6ul-phytec-phycore-som.dts
@@ -39,3 +39,7 @@
 &usdhc1 {
 	status = "okay";
 };
+
+&usbotg2 {
+	status = "okay";
+};
diff --git a/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi b/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi
index 2504c9729dd1..05bf18d6f1b2 100644
--- a/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi
+++ b/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi
@@ -89,6 +89,12 @@
 	status = "disabled";
 };
 
+&usbotg2 {
+	dr_mode = "host";
+	disable-over-current;
+	status = "disabled";
+};
+
 &usdhc1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_usdhc1>;
-- 
2.7.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-06  8:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-05 15:40 [PATCH 1/3] ARM: dts: phyCORE-i.MX 6UL: Enable USB host port Stefan Riedmueller
2018-12-05 15:40 ` [PATCH 2/3] ARM: dts: phyCORE-i.MX 6UL/ULL: Enable USB OTG on port 1 Stefan Riedmueller
2018-12-05 15:40 ` [PATCH 3/3] ARM: phytec-som-imx6: Add full featured phyCORE-i.MX 6ULL Stefan Riedmueller
2018-12-06  8:10 ` [PATCH 1/3] ARM: dts: phyCORE-i.MX 6UL: Enable USB host port Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox