Re: [PATCH] riscv: Fix SiFive E CLINT clock frequency

2023-11-20 Thread Alistair Francis
On Fri, Nov 17, 2023 at 6:31 PM Román Cárdenas wrote: > > If you check the manual of SiFive E310 > (https://cdn.sparkfun.com/assets/7/f/0/2/7/fe310-g002-manual-v19p05.pdf), > you can see in Figure 1 that the CLINT is connected to the real time clock, > which also feeds the AON peripheral (they s

Re: [PATCH] riscv: Fix SiFive E CLINT clock frequency

2023-11-20 Thread Alistair Francis
On Fri, Nov 17, 2023 at 6:31 PM Román Cárdenas wrote: > > If you check the manual of SiFive E310 > (https://cdn.sparkfun.com/assets/7/f/0/2/7/fe310-g002-manual-v19p05.pdf), > you can see in Figure 1 that the CLINT is connected to the real time clock, > which also feeds the AON peripheral (they s

Re: [PATCH] riscv: Fix SiFive E CLINT clock frequency

2023-11-17 Thread Daniel Henrique Barboza
On 11/17/23 05:28, Román Cárdenas wrote: If you check the manual of SiFive E310 (https://cdn.sparkfun.com/assets/7/f/0/2/7/fe310-g002-manual-v19p05.pdf), you can see in Figure 1 that the CLINT is connected to the real time clock, which also feeds the AON peripheral (they share the same clock

[PATCH] riscv: Fix SiFive E CLINT clock frequency

2023-11-17 Thread Román Cárdenas
If you check the manual of SiFive E310 (https://cdn.sparkfun.com/assets/7/f/0/2/7/fe310-g002-manual-v19p05.pdf), you can see in Figure 1 that the CLINT is connected to the real time clock, which also feeds the AON peripheral (they share the same clock). In page 43, the docs also say that the time