Add two additional compat strings that can be used to identify the PRCI.
With newer device trees the PRCI has two parents, hfclk and rtcclk, so
allow the driver to attach when more than one parent is found.
Differential D23405
prci: fix up compat mhorne on Jan 28 2020, 8:07 PM. Authored by Tags None Referenced Files
Subscribers
Details
Add two additional compat strings that can be used to identify the PRCI. With newer device trees the PRCI has two parents, hfclk and rtcclk, so Driver attaches with newer device tree, aka the one generated by QEMU.
Diff Detail
Event TimelineComment Actions I'm inferring that this driver was written using this device tree, as this is what is passed by the FSBL. If there is a different one that was used please point me to it. Comment Actions Close to that, this is the BBL dump: http://people.freebsd.org/~kp/sifive_fu540.dts It only lists "sifive,aloeprci0" for the PRCI, and only has a single parent clock. |