This revision adds the following parts:
- mtk_machdep.c - machine dependent low level init code
- mtk_soc.[ch] - SoC clocks detection and some utility functions
- mtk_sysctl.[ch] - Common interface to read/write/modify SoC system control registers, used by some of the other drivers and utility functions
- fdt_reset.[ch] and fdt_reset_if.m - simple FDT resets support, based on the fdt_clock implementation already in the tree. For the moment resets and clocks are managet using these implementations. I am planning to port those to the new extres framework in the future, but currently I simply don't have time to do this part too.
Add a note saying that the spec requires the upper byte of the device_id be 0x22, but that most vendors don't honor that, so that's why we're not checking for it. That makes the 0x22 in the generic case a bit less magic.