You don't directly program the DDR2 mode registers. Writing to the SDRAM_CONFIG register of the AM335x will trigger an initialization sequence to the DDR2. If you compare the fields you would program in the DDR2 with the SDRAM_CONFIG register you'll notice that all the important ones are part of the SDRAM_CONFIG register.
↧