This "problem" must be solved in hardware, not software. All software solutions, even the one from Felix, are just a workarounds and won't help in extreme situation (like reset caused by watchdog). I suggest you to contact with the manufacturer which made the hardware you are using and tell them about the mistake they made (and are still making in new designs).
And please, read carefully this comment: https://github.com/lede-project/source/pull/620#issuecomment-295401936