[Buildroot] [PATCH v5 2/6] board/raspberrypicm4io: enable RTC and USB overlays

Yann E. MORIN yann.morin.1998 at free.fr
Sun Oct 17 20:27:17 UTC 2021


Peter, All,

On 2021-09-21 22:21 +0200, Peter Seiderer spake thusly:
> - add RTC and USB dtoverlay entries to config_cm4io.txt

Why specifically the RTC and USB? And why only on the CM, and not the
other boards?

IIRC, dwc2 is an OTG chip, too, and it is also wired on the rpi0. Well,
by experience, I know that the rpi0 *can* do USB slave/OTG.

Regards,
Yann E. MORIN.

> Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> ---
> Changes v4 -> v5:
>   - new patch
> ---
>  board/raspberrypi/config_cm4io.txt | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/board/raspberrypi/config_cm4io.txt b/board/raspberrypi/config_cm4io.txt
> index 01f60395b3..cf7e6df1a1 100644
> --- a/board/raspberrypi/config_cm4io.txt
> +++ b/board/raspberrypi/config_cm4io.txt
> @@ -24,3 +24,10 @@ 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
> -- 
> 2.33.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at lists.buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list