i believe there are two different sources of existing-but-not-mainline ipq4019 deco-like boards to base your m9+ openwrt changes on:
either appears to provide a good example of what needs to be done AFAICT.
and remember to specify which hw version you are referring to. i believe @meshing has a v2 and @troed has a v1