HomeFreeBSD

MFC r346092, r346271-r346272

Description

MFC r346092, r346271-r346272

r346092:
Import DTS files from Linux 5.0

r346271:
aw_rtc: Register the clocks

Since latest DTS update the rtc is supposed to register two clocks :

  • osc32k (the 32k oscillator on the board that the RTC uses directly and

that other peripheral can use)

  • iosc (the internal oscillator of the RTC when available which frequency

depend on the SoC revision)

Since we need the RTC before the proper clock control unit (because it uses
those clocks) attach it a BUS_PASS_BUS + MIDDLE and attach the clock control
unit at BUS_PASS_BUS + LAST for the SoC that requires it.

Tested On: A20, H3, A64

r346272:
aw_syscon: Add a new compatible

Since 5.0 DTS the syscon controller have a new compatible as it
exports new subnodes, we currently only use it as a syscon provider
so just add the new compatible.

Tested On: H3

Details

Provenance
manuAuthored on
Parents
rS350596: MFC r345948, r345951
Branches
Unknown
Tags
Unknown