phodevi: Improved SoC detection