Which chip? Flash memory / ROM or you meant something like FPGA here?OK, thanks a lot.By replacing it with device_get_match_data() and creating a software.device_get_match_data
graph that mimics the OF graph, everything else works fine, except that
there isn't an out-of-box replacement for the of_device_get_match_data()
function. Because the software node backend of the fwnode framework lacks
an implementation for the device_get_match_data callback.
Implement device_get_match_data fwnode callback fwnode callback to fill.device_get_match_data
It can be inside the chip, there is no clear cut.\this gap. Device drivers or platform setup codes are expected to provideWhy do you need to implement the graph in the board file?
a "compatible" string property. The value of this string property is used
to match against the compatible entries in the of_device_id table. Which
is consistent with the original usage style.
For the latter there is another discussion on how to use DT overlays
in ACPI-enabled environments for the FPGA configurations.