summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-09-20 23:47:44 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2016-09-20 23:47:44 -0500
commit5656756a8fa9fd083f6f54e12cd0bb5e7a6b6d38 (patch)
treef286d42df6c0b72c8f5c9cac1ca1dbb9914318ff
parent6c7223dcfc699e4f55d439c0da4d2ae691140bef (diff)
downloadFreeBSD-src-5656756a8fa9fd083f6f54e12cd0bb5e7a6b6d38.zip
FreeBSD-src-5656756a8fa9fd083f6f54e12cd0bb5e7a6b6d38.tar.gz
Set the both USB ports as host in uFW and uBMC.
-rw-r--r--sys/arm/conf/uFW4
-rw-r--r--sys/boot/fdt/dts/arm/ubmc.dtsi2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/arm/conf/uFW b/sys/arm/conf/uFW
index 359f445..fd2da27 100644
--- a/sys/arm/conf/uFW
+++ b/sys/arm/conf/uFW
@@ -108,8 +108,8 @@ device bpf
#device netmap # netmap(4) support
# Device mode support and USFS template
-device usb_template # Control of the gadget
-device usfs
+#device usb_template # Control of the gadget
+#device usfs
# Pinmux
device fdt_pinctrl
diff --git a/sys/boot/fdt/dts/arm/ubmc.dtsi b/sys/boot/fdt/dts/arm/ubmc.dtsi
index e5b0d20..278cbb5 100644
--- a/sys/boot/fdt/dts/arm/ubmc.dtsi
+++ b/sys/boot/fdt/dts/arm/ubmc.dtsi
@@ -238,7 +238,7 @@
&usb1 {
status = "okay";
- dr_mode = "peripheral";
+ dr_mode = "host";
};
&cppi41dma {
OpenPOWER on IntegriCloud