HomeFreeBSD

riscv: enable allwinner RTC

Description

riscv: enable allwinner RTC

(Second attempt.)

For the Allwinner D1 (Nehza) SBC.

This RTC driver is also a clock provider, which registers two fixed
clocks. In all the devices we currently support, the names of the clocks
are present in the "clock-output-names" property of the device tree.
This is not the case for the D1 DTS, as this property does not appear in
upstream. Therefore the clock definitions are statically assigned a
name, which is overridden when specified.

The driver also supports the older A10/A20 models, which don't export
any clocks. Ensure this case is handled properly.

Reviewed by: mmel
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D50369

Details

Provenance
mhorneAuthored on Jul 4 2025, 3:54 PM
Reviewer
mmel
Differential Revision
D50369: riscv: enable allwinner RTC
Parents
rG2f60984053e5: namei dotdot tracker: take mnt_renamelock shared to prevent parallel renames
Branches
Unknown
Tags
Unknown