summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStefan Riedmueller <s.riedmueller@phytec.de>2018-12-05 16:40:35 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-12-06 09:07:02 +0100
commit6304b2bcc84380ebbceaa95525d915106635b789 (patch)
tree92aa2a756ff5ee7a54d2805151b6857bf6101d08 /arch
parent0ef04e7b0a92ba4ee237c7868f62775fb89e7390 (diff)
downloadbarebox-6304b2bcc84380ebbceaa95525d915106635b789.tar.gz
barebox-6304b2bcc84380ebbceaa95525d915106635b789.tar.xz
ARM: dts: phyCORE-i.MX 6UL: Enable USB host port
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> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/imx6ul-phytec-phycore-som.dts4
-rw-r--r--arch/arm/dts/imx6ul-phytec-phycore-som.dtsi6
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6ul-phytec-phycore-som.dts b/arch/arm/dts/imx6ul-phytec-phycore-som.dts
index 73f7dbe9a6..5094243470 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 2504c9729d..05bf18d6f1 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>;