[PATCH 5.19 038/158] net: dsa: microchip: move switch chip_id detection to ksz_common