Use a standard Zynq .dtsi file for Zynq-based boards (currently only zybo and zedboard). Fix problem with Zynq interrupts by using interrupt "triples" in .dtsi file. Fix cgem driver so it pays attention to status property.
Details
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Have you tried using the Linux dts files in sys/gnu/dts/arm? I prefer us moving towards using them over our non-standard entries.
Actually, I did try to make it work by changing/adding the driver compatible names to the ones used in the gnu dts file. But, we don't have the clock infrastructure that Linux has so I have to add clock frequency properties here and there. Is it worth it for me to change compatible and property names to match the gnu file as close as possible?
We now have clock framework in -CURRENT. So it might be worthwhile project to migrate FreeBSD to upstream dts. But I believe this patch should be committed anyways, to fix current breakage, and migrating to gnu/dts should be the next step.
I did not know about the clock framework. I can look into migrating the Zynq stuff to it but I may not get to it in time for 11.0-RELEASE. I'd like to see this committed and treat migrating to the gnu dts as a separate project.