u-boot/doc/device-tree-bindings
Philipp Tomsich d02d11f8ae rockchip: rk3399: spl: make SPL boot-order configurable via /chosen
The RK3399 does not have any boot selection pins and the BootROM probes
the boot interfaces using the following boot-order:
    1. SPI
    2. eMMC (sdhci in DTS)
    3. SD card (sdmmc in DTS)
    4. USB loader
For ease of deployment, the SPL stage should mirror the boot order of
the ROM and use the same probing order (assuming that valid images can
be detected by SPL) unless instructed otherwise.  The boot-order can
then be configured via the 'u-boot,spl-boot-order' property in the
chosen-node of the DTS.

While this approach is easily extensible to other boards, it is only
implemented for the RK3399 for now, as the large SRAM on the RK3399
makes this easy to fit the needed infrastructure into SPL and our
production setup already runs with DM, OF_CONTROL and BLK in SPL.

The new boot-order property is expected to be used in conjunction with
FIT images (and all legacy image formats disabled via Kconfig).

A boot-sequence with probing and fallthroughs from SPI via eMMC to SD
card (i.e. &spiflash, &sdhci, &sdmmc) has been validated on the RK3399-Q7.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Tested-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Simon Glass <sjg@chromium.org>
2017-04-04 20:01:57 -06:00
..
adc dm: adc: add simple ADC uclass implementation 2015-11-02 10:38:00 +09:00
ata x86: ivybridge: Add SATA init 2014-11-25 06:34:01 -07:00
clock Merge git://git.denx.de/u-boot-rockchip 2017-03-17 14:15:17 -04:00
cpu nios2: convert nios2 cpu to driver model 2015-10-23 07:37:03 +08:00
exynos s5p: cpu_info: print "cpu-model" if exists in dts 2015-11-02 10:37:59 +09:00
firmware dt-bindings: allow child nodes inside the Tegra BPMP 2016-08-04 13:36:59 -07:00
gpio gpio: bcm2835: add device tree support 2016-11-28 20:09:45 -05:00
gpu tegra124: dts: Add host1x node to provide display information 2015-05-13 09:24:08 -07:00
i2c i2c: atmel: DT binding for i2c driver 2016-08-15 22:12:00 +02:00
input x86: Add an i8042 device for boards that have it 2015-11-19 20:13:41 -07:00
leds dm: led: Add a driver for GPIO-controlled LEDs 2015-07-21 17:39:24 -06:00
mailbox ARM: tegra: adapt to latest HSP DT binding 2016-08-04 13:36:58 -07:00
misc x86: irq: Enable SCI on IRQ9 2016-05-23 15:18:00 +08:00
mmc mmc: Add support for Qualcomm SDHCI controller 2016-04-01 17:18:08 -04:00
mtd sf: Rename sf_params.c to spi_flash_ids.c 2016-11-18 13:04:54 +05:30
nand tegra: fdt: Add NAND controller binding and definitions 2012-09-07 13:54:30 -07:00
net drivers/net/phy: add fixed-phy / fixed-link support 2017-03-26 09:58:26 -05:00
pci mvebu: pcie: Add support for GPIO reset for PCIe device 2017-03-23 08:45:25 +01:00
pinctrl PINCTRL: stm32f7: add pin control driver 2017-03-17 14:15:14 -04:00
pmic power: pmic: add Ricoh RN5T567 PMIC support 2016-10-07 12:26:15 +02:00
power power: Add support for TPS65090 PMU chip. 2014-05-28 10:58:19 +09:00
pwm tegra: fdt: Add pwm binding and node 2012-11-19 08:15:35 -07:00
regulator regulator: fixed: Add support to handle enable-active-high DT property 2016-12-27 08:22:57 -05:00
remoteproc drivers: Introduce a simplified remoteproc framework 2015-10-22 14:18:38 -04:00
reset Add a reset driver framework/uclass 2016-06-19 17:05:55 -06:00
serial serial: pl01x: expose skip_init platdata option in DT 2016-11-28 20:09:47 -05:00
spi ARM: DTS: stm32: add stm32f746-disco device tree files 2017-01-28 14:04:42 -05:00
spmi drivers: spmi: Add support for Qualcomm SPMI bus driver 2016-04-01 17:18:12 -04:00
thermal rockchip: Bring in RK3288 device tree file includes and bindings 2015-09-02 21:28:23 -06:00
timer drivers: timer: Introduce ARC timer driver 2017-03-24 14:20:55 +03:00
usb mvebu: usb: xhci: Add VBUS regulator supply to the host driver 2017-03-23 08:45:25 +01:00
video doc: dt-bindings: Describe rockchip LVDS interface 2016-03-14 22:24:44 +01:00
chosen.txt rockchip: rk3399: spl: make SPL boot-order configurable via /chosen 2017-04-04 20:01:57 -06:00
config.txt part_efi: document device-tree binding for part_efi configuration 2017-03-20 18:04:40 -04:00
README fdt: Add staging area for device tree binding documentation 2012-03-29 08:12:47 +02:00
root.txt fdt: Pass the device serial number through devicetree 2015-06-05 08:32:07 -06:00

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