Hi Prabin,
I am also facing issue with RGMII interface on LS1021AIOT (Rev 1) reference board. (Yocto SDK v1.8, board schematic REV B3).
The reference SDK is downloaded from Freescale/NXP portal for this reference board, and by default the the Realtek switch should work with this image. But it doesn't.
The eth2 connected switch is configured in RGMII mode in hardware, and in RCW, device tree also. The management bus is SPI, not MDIO unlike eth0 and eth1 (In eth0 and eth1 management bus is MDIO, and data bus is SGMII configuration). But on 'ethtool eth2' command, in fsl-image-rds image it shows interface supported is MII. I dont know whats the issue..