Perfect that you found a workaround. The question about M4 will be treated in the other thread.
Best regards,
Jaski
No, this is not the correct path. You need to define and build your device-tree as explained here. You might also look here for an example.
Best regards,
Jaski