[PATCH] Backport "ARM: dts: am335x-bone*: usb0 is hardwired for peripheral" from linux

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Sat Feb 17 10:31:46 PST 2018


This is a backport of the following commit:
  commit 67fd14b3eca63b14429350e9eadc5fab709a8821
  Author: Robert Nelson <robertcnelson at gmail.com>
  Date:   Tue Feb 24 10:10:43 2015 -0600

      ARM: dts: am335x-bone*: usb0 is hardwired for peripheral

      Fixes: http://bugs.elinux.org/issues/127

      the bb.org community was seeing random reboots before this change.

      Signed-off-by: Robert Nelson <robertcnelson at gmail.com>
      Reviewed-by: Felipe Balbi <balbi at ti.com>
      Acked-by: Felipe Balbi <balbi at ti.com>
      Signed-off-by: Tony Lindgren <tony at atomide.com>

This patch makes the USB peripheral work on the BeagleBone Green.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
 arch/arm/dts/am335x-bone-common.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/am335x-bone-common.dtsi b/arch/arm/dts/am335x-bone-common.dtsi
index ef97d9066..0413724e0 100644
--- a/arch/arm/dts/am335x-bone-common.dtsi
+++ b/arch/arm/dts/am335x-bone-common.dtsi
@@ -194,6 +194,7 @@
 
 &usb0 {
 	status = "okay";
+	dr_mode = "peripheral";
 };
 
 &usb1 {
-- 
2.16.1




More information about the barebox mailing list