Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5260

Troubleshooting • Re: BCM2711 change UART clock

$
0
0
When I search for BCM2835_CLOCK_UART I just found a reference in /dt-bindings/clock/bcm2835.h but the clock is not set here.

So if anyone could point me in the right direction, that would be highly appreciated.

Code:

[clever@amd-nixos:~/apps/linux]$ git grep BCM2835_CLOCK_UARTdrivers/clk/bcm/clk-bcm2835.c:  [BCM2835_CLOCK_UART]    = REGISTER_PER_CLK(
the next step is over here, this is the clock driver, where the divisor and parent for the clock are configured

but i suspect you can use the assigned-clock-rates from the thread you linked, to change its clock on boot, i'm just a bit fuzzy on how the overlay would work
and my pi4 isnt setup currently, so i cant easily test things

Statistics: Posted by cleverca22 — Wed Nov 20, 2024 10:29 am



Viewing all articles
Browse latest Browse all 5260

Trending Articles