mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
403e9cbcd5
This adds a DRAM controller driver for the RK3368 and places it in drivers/ram/rockchip (where the other DM-enabled DRAM controller drivers for rockchip devices should also be moved eventually). At this stage, only the following feature-set is supported: - DDR3 - 32-bit configuration (i.e. fully populated) - dual-rank (i.e. no auto-detection of ranks) - DDR3-1600K speed-bin This driver expects to run from a TPL stage that will later return to the RK3368 BROM. It communicates with later stages through the os_reg2 in the pmugrf (i.e. using the same mechanism as Rockchip's DDR init code). Unlike other DMC drivers for RK32xx and RK33xx parts, the required timings are calculated within the driver based on a target frequency and a DDR3 speed-bin (only the DDR3-1600K speed-bin is support at this time). The RK3368 also has the DDRC0_CON0 (DDR ch. 0, control-register 0) register for controlling the operation of its (single-channel) DRAM controller in the GRF block. This provides for selecting DDR3, mobile DDR modes, and control low-power operation. As part of this change, DDRC0_CON0 is also added to the GRF structure definition (at offset 0x600). Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
adc | ||
ata | ||
clock | ||
cpu | ||
exynos | ||
firmware | ||
gpio | ||
gpu | ||
i2c | ||
input | ||
leds | ||
mailbox | ||
misc | ||
mmc | ||
mtd | ||
nand | ||
net | ||
pci | ||
pinctrl | ||
pmic | ||
power | ||
pwm | ||
ram | ||
regulator | ||
remoteproc | ||
reset | ||
serial | ||
spi | ||
spmi | ||
thermal | ||
timer | ||
usb | ||
video | ||
chosen.txt | ||
config.txt | ||
README | ||
root.txt |
Device Tree Bindings Staging Area ================================= This directory contains device tree bindings for U-Boot. These follow along with Linux kernel bindings, with a few additions. By adding the files here, U-Boot patches can clearly show thees additions. This makes it easier for device tree people to review these additions in patches sent to the U-Boot mailing list. The intent IS to commit these files to U-Boot. Hopefully at some point the files will be stored in another repo (shared with Linux) which is brought in as needed. Changes here are intended to mirror changes in the Linux Documentation/devicetree/bindings/ directory. sjg@chromium.org 17-Jan-12