Hello Haochengdong Haochengdong,
A 2-rank system is implemented on the EVK and recommended as it may provide better performance and it allows to use the T topology to mirror the chips and make it easier to design, although a single rank design is also possible, as Mrudang mentions.
However, in general terms I would recommend that you follow the recommendations for DDR design on the i.MX8QM Hardware Design Guide (link below, please note that you may need to login to download this document) unless you are very confident in DDR4 design as routing DDR4 memories can be challenging.
https://www.nxp.com/webapp/Download?colCode=IMX8MDQLQHDG
I hope this helps!
Regards,