mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
731fd50e27
The AV96 board does exist in multiple variants. To cater for all of them, implement board code handling. There are two GPIOs which code the type of the board, read them out and use the value to pick the correct device tree from an fitImage. Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by: Marek Vasut <marex@denx.de> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Cc: Patrick Delaunay <patrick.delaunay@st.com> Cc: Patrice Chotard <patrice.chotard@st.com> Change-Id: Iddb330b9a66500495885457cbe17edc0eacaaf43
39 lines
707 B
Text
39 lines
707 B
Text
/dts-v1/;
|
|
|
|
/ {
|
|
description = "U-Boot mainline";
|
|
#address-cells = <1>;
|
|
|
|
images {
|
|
uboot {
|
|
description = "U-Boot (32-bit)";
|
|
data = /incbin/("u-boot-nodtb.bin");
|
|
type = "standalone";
|
|
os = "U-Boot";
|
|
arch = "arm";
|
|
compression = "none";
|
|
load = <0xc0100000>;
|
|
entry = <0xc0100000>;
|
|
};
|
|
|
|
fdt-1 {
|
|
description = ".dtb";
|
|
data = /incbin/("arch/arm/dts/stm32mp15xx-dhcor-avenger96.dtb");
|
|
type = "flat_dt";
|
|
arch = "arm";
|
|
compression = "none";
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "config-1";
|
|
|
|
config-1 {
|
|
description = "somrev0_boardrev1"; /* SoM+board model */
|
|
loadables = "uboot";
|
|
fdt = "fdt-1";
|
|
};
|
|
|
|
/* Add 586-200..586-400 with fdt-2..fdt-4 here */
|
|
};
|
|
};
|