Please follow LS1021ARM page 791 16.5.1.1 Supported DDR SDRAM Organizations get the 512 Mbits x 16 and double check if the parameters is suitable for your design(please find the components datasheet to get the memory type). All parameters of DDR parameter and validation can follow QCVS_DDR_User_Guide.
Commands related to LSDK please follow LSDKUG_Rev21.08.