mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-01-12 03:10:08 +00:00
rpi-config: Add support for CM4 host USB
By default in case of CM4 IO board, the USB ports (header + built-in)
are disabled. In order to enable them the DWC2 mode needs to be set to
host.
Signed-off-by: Aurelian Zanoschi <aurelian17@gmail.com>
(cherry picked from commit 7193857284)
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
This commit is contained in:
committed by
Andrei Gherzan
parent
93120ad0d3
commit
08bf4fddbe
@@ -204,6 +204,12 @@ do_deploy() {
|
||||
echo "dtoverlay=dwc2,dr_mode=peripheral" >> $CONFIG
|
||||
fi
|
||||
|
||||
# DWC2 USB host mode support
|
||||
if [ "${ENABLE_DWC2_HOST}" = "1" ]; then
|
||||
echo "# Enable USB host mode" >> $CONFIG
|
||||
echo "dtoverlay=dwc2,dr_mode=host" >> $CONFIG
|
||||
fi
|
||||
|
||||
# AT86RF23X support
|
||||
if [ "${ENABLE_AT86RF}" = "1" ]; then
|
||||
echo "# Enable AT86RF23X" >>$CONFIG
|
||||
|
||||
Reference in New Issue
Block a user