Add a peripheral clock node and use it for UART.
This is needed for Linux.
Details
Details
- Reviewers
jrtc27 markj - Group Reviewers
bhyve - Commits
- rG95b8b67f3c4b: bhyve/riscv: add clock-frequency property to DTS.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
It doesn't need clocks, it needs one of clocks or clock-frequency. QEMU's virt board lists the latter, which is far simpler and preferable in a virtualisation setting. It also uses 3686400 as the frequency, which I believe lets the guest go up to 230400 baud. We should align with QEMU where possible in order to avoid surprises.