* Enable USB OTG in the Yellow device tree * Enable U-Boot USB mass storage command * Enable UMS mode when blue button is pressed
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
From f1553f413c8f53694d2f27db5b5c43d19cf1ff4f Mon Sep 17 00:00:00 2001
|
|
Message-Id: <f1553f413c8f53694d2f27db5b5c43d19cf1ff4f.1658843713.git.stefan@agner.ch>
|
|
In-Reply-To: <2d3d8c091bc692999a1c519c1dc1570cc8be2358.1658843713.git.stefan@agner.ch>
|
|
References: <2d3d8c091bc692999a1c519c1dc1570cc8be2358.1658843713.git.stefan@agner.ch>
|
|
From: Stefan Agner <stefan@agner.ch>
|
|
Date: Fri, 7 Jan 2022 17:10:00 +0100
|
|
Subject: [PATCH 09/11] ARM: dts: bcm2711: yellow: enable USB host mode by
|
|
default
|
|
|
|
The DWC2 controller is disable by default. Enable it since Home
|
|
Assistant Yellow has a USB hub and USB ports connected to it.
|
|
|
|
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
|
---
|
|
arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts
|
|
index f78428ea64f3..711a09441ad0 100644
|
|
--- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts
|
|
+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts
|
|
@@ -599,6 +599,15 @@ &sdhost {
|
|
status = "disabled";
|
|
};
|
|
|
|
+&usb {
|
|
+ compatible = "brcm,bcm2835-usb";
|
|
+ dr_mode = "host";
|
|
+ g-np-tx-fifo-size = <32>;
|
|
+ g-rx-fifo-size = <558>;
|
|
+ g-tx-fifo-size = <512 512 512 512 512 256 256>;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&phy1 {
|
|
led-modes = <0x00 0x08>; /* link/activity link */
|
|
};
|
|
--
|
|
2.37.1
|
|
|