HomeFreeBSD

ofw: Add a ofw_firmware driver

Description

ofw: Add a ofw_firmware driver

Some SoCs have an external firmware doing power management, clock
and other stuffs. (Xilinx, ARM Juno etc ...)
The way it is represent in the DTB is usually having a 'firmware' node
under the root node and have some nodes under it with the correct
compatible strings.
The firmware node itself doesn't have any compatible strings.
This driver is simple subclassed from simplebus and attaches at
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE so early drivers (like clock drivers)
can still have a change to attach early.

Reviewed by: andrew
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D37612

Details

Provenance
manuAuthored on Dec 6 2022, 10:57 AM
Reviewer
andrew
Differential Revision
D37612: ofw: Add a ofw_firmware driver
Parents
rG9ade2745db8b: sctp: remove duplicate code
Branches
Unknown
Tags
Unknown