Skip to content

Commit

Permalink
RPi CM5: Enable DWC2 host mode support by default
Browse files Browse the repository at this point in the history
This makes USB work in host mode by default on more boards. It is already the default on RPi OS: RPi-Distro/pi-gen@ca5eb62
  • Loading branch information
AaronDewes authored and igorpecovnik committed Jan 7, 2025
1 parent e97ed01 commit 5b293b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/sources/families/bcm2711.conf
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,9 @@ function pre_umount_final_image__write_raspi_config() {
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[cm5]
dtoverlay=dwc2,dr_mode=host

[all]
kernel=vmlinuz
initramfs initrd.img followkernel
Expand Down

0 comments on commit 5b293b8

Please sign in to comment.