rockchip: rk3128: Add DRAM driver
- based on sdram_rk322x.c
- phy is different
- replaced magic numbers
- removed DM/DT to fit in SRAM
- supports LPDDR2/DDR3 (all types as per DS)
- addtionally set trfc/trefi based on detected cap
- use sdram_common
- set axi priorities as vendor blob does
- provide serveral dram timings to make it "future proof"
(hopefully nobody will have fiddle to make it still fit in SRAM
when adding a new board)
Signed-off-by: Alex Bee <knaerzche@gmail.com>
authored by