diff mbox series

[v5,3/6] board/raspberrypicm4io-64: enable RTC and USB overlays

Message ID 20210921202137.7092-3-ps.report@gmx.net
State Accepted
Headers show
Series [v5,1/6] package/rpi-firmware: rework boot/config file handling | expand

Commit Message

Peter Seiderer Sept. 21, 2021, 8:21 p.m. UTC
- add RTC and USB dtoverlay entries to config_cm4io_64bit.txt

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
Changes v4 -> v5:
  - new patch
---
 board/raspberrypi/config_cm4io_64bit.txt | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Thomas Petazzoni Jan. 13, 2022, 10:13 p.m. UTC | #1
On Tue, 21 Sep 2021 22:21:34 +0200
Peter Seiderer <ps.report@gmx.net> wrote:

> - add RTC and USB dtoverlay entries to config_cm4io_64bit.txt
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>

I have applied to master, after extending the commit log with more
details that explain the change. Thanks!

Thomas
diff mbox series

Patch

diff --git a/board/raspberrypi/config_cm4io_64bit.txt b/board/raspberrypi/config_cm4io_64bit.txt
index 6cd8a729cd..813f6eba7b 100644
--- a/board/raspberrypi/config_cm4io_64bit.txt
+++ b/board/raspberrypi/config_cm4io_64bit.txt
@@ -25,6 +25,13 @@  gpu_mem_1024=100
 # fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
 dtoverlay=miniuart-bt
 
+# enable RTC
+dtparam=i2c_vc=on
+dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi
+
+# enable dwc2 USB controller (USB 2.0)
+dtoverlay=dwc2,dr_mode=host
+
 # enable 64bits support
 arm_64bit=1