mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 10:30:32 +00:00
ab9d07b181
Kernel dts import now provides bootph-all and bootph-pre-ram properties for the properties we have been overriding so far. Drop the same. Reviewed-by: Dhruva Gole <d-gole@ti.com> Tested-by: Dhruva Gole <d-gole@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
215 lines
4.1 KiB
Text
215 lines
4.1 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* https://beagleboard.org/play
|
|
*
|
|
* Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
|
|
* Copyright (C) 2022-2023 Robert Nelson, BeagleBoard.org Foundation
|
|
*/
|
|
|
|
#include "k3-binman.dtsi"
|
|
|
|
/ {
|
|
chosen {
|
|
tick-timer = &main_timer0;
|
|
};
|
|
|
|
/* Keep the LEDs on by default to indicate life */
|
|
leds {
|
|
led-0 {
|
|
default-state = "on";
|
|
};
|
|
|
|
led-1 {
|
|
default-state = "on";
|
|
};
|
|
|
|
led-2 {
|
|
default-state = "on";
|
|
};
|
|
|
|
led-3 {
|
|
default-state = "on";
|
|
};
|
|
|
|
led-4 {
|
|
default-state = "on";
|
|
};
|
|
};
|
|
};
|
|
|
|
&main_timer0 {
|
|
clock-frequency = <25000000>;
|
|
};
|
|
|
|
&dmsc {
|
|
k3_sysreset: sysreset-controller {
|
|
compatible = "ti,sci-sysreset";
|
|
bootph-all;
|
|
};
|
|
};
|
|
|
|
&sd_pins_default {
|
|
/* Force to use SDCD card detect pin */
|
|
pinctrl-single,pins = <
|
|
AM62X_IOPAD(0x023c, PIN_INPUT, 0) /* (A21) MMC1_CMD */
|
|
AM62X_IOPAD(0x0234, PIN_INPUT, 0) /* (B22) MMC1_CLK */
|
|
AM62X_IOPAD(0x0230, PIN_INPUT, 0) /* (A22) MMC1_DAT0 */
|
|
AM62X_IOPAD(0x022c, PIN_INPUT, 0) /* (B21) MMC1_DAT1 */
|
|
AM62X_IOPAD(0x0228, PIN_INPUT, 0) /* (C21) MMC1_DAT2 */
|
|
AM62X_IOPAD(0x0224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */
|
|
AM62X_IOPAD(0x0240, PIN_INPUT, 0) /* (D17) MMC1_SDCD.MMC1_SDCD */
|
|
>;
|
|
};
|
|
|
|
#ifdef CONFIG_TARGET_AM625_A53_BEAGLEPLAY
|
|
|
|
#define SPL_NODTB "spl/u-boot-spl-nodtb.bin"
|
|
#define SPL_AM625_BEAGLEPLAY_DTB "spl/dts/k3-am625-beagleplay.dtb"
|
|
#define UBOOT_NODTB "u-boot-nodtb.bin"
|
|
#define AM625_BEAGLEPLAY_DTB "arch/arm/dts/k3-am625-beagleplay.dtb"
|
|
|
|
&binman {
|
|
ti-dm {
|
|
filename = "ti-dm.bin";
|
|
blob-ext {
|
|
filename = "ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f";
|
|
};
|
|
};
|
|
|
|
ti-spl_unsigned {
|
|
filename = "tispl.bin_unsigned";
|
|
pad-byte = <0xff>;
|
|
|
|
fit {
|
|
description = "Configuration to load ATF and SPL";
|
|
#address-cells = <1>;
|
|
|
|
images {
|
|
|
|
atf {
|
|
description = "ARM Trusted Firmware";
|
|
type = "firmware";
|
|
arch = "arm64";
|
|
compression = "none";
|
|
os = "arm-trusted-firmware";
|
|
load = <CONFIG_K3_ATF_LOAD_ADDR>;
|
|
entry = <CONFIG_K3_ATF_LOAD_ADDR>;
|
|
atf-bl31 {
|
|
filename = "bl31.bin";
|
|
};
|
|
};
|
|
|
|
tee {
|
|
description = "OP-TEE";
|
|
type = "tee";
|
|
arch = "arm64";
|
|
compression = "none";
|
|
os = "tee";
|
|
load = <0x9e800000>;
|
|
entry = <0x9e800000>;
|
|
tee-os {
|
|
filename = "tee-raw.bin";
|
|
};
|
|
};
|
|
|
|
dm {
|
|
description = "DM binary";
|
|
type = "firmware";
|
|
arch = "arm32";
|
|
compression = "none";
|
|
os = "DM";
|
|
load = <0x89000000>;
|
|
entry = <0x89000000>;
|
|
blob-ext {
|
|
filename = "ti-dm.bin";
|
|
};
|
|
};
|
|
|
|
spl {
|
|
description = "SPL (64-bit)";
|
|
type = "standalone";
|
|
os = "U-Boot";
|
|
arch = "arm64";
|
|
compression = "none";
|
|
load = <CONFIG_SPL_TEXT_BASE>;
|
|
entry = <CONFIG_SPL_TEXT_BASE>;
|
|
blob {
|
|
filename = "spl/u-boot-spl-nodtb.bin";
|
|
};
|
|
};
|
|
|
|
fdt-0 {
|
|
description = "k3-am625-beagleplay";
|
|
type = "flat_dt";
|
|
arch = "arm";
|
|
compression = "none";
|
|
spl_am625_bp_dtb_unsigned: blob {
|
|
filename = SPL_AM625_BEAGLEPLAY_DTB;
|
|
};
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "conf-0";
|
|
|
|
conf-0 {
|
|
description = "k3-am625-beagleplay";
|
|
firmware = "atf";
|
|
loadables = "tee", "dm", "spl";
|
|
fdt = "fdt-0";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
u-boot_unsigned {
|
|
filename = "u-boot.img_unsigned";
|
|
pad-byte = <0xff>;
|
|
|
|
fit {
|
|
description = "FIT image with multiple configurations";
|
|
|
|
images {
|
|
uboot {
|
|
description = "U-Boot for AM625 board";
|
|
type = "firmware";
|
|
os = "u-boot";
|
|
arch = "arm";
|
|
compression = "none";
|
|
load = <CONFIG_TEXT_BASE>;
|
|
blob {
|
|
filename = UBOOT_NODTB;
|
|
};
|
|
hash {
|
|
algo = "crc32";
|
|
};
|
|
};
|
|
|
|
fdt-0 {
|
|
description = "k3-am625-beagleplay";
|
|
type = "flat_dt";
|
|
arch = "arm";
|
|
compression = "none";
|
|
am625_bp_dtb_unsigned: blob {
|
|
filename = AM625_BEAGLEPLAY_DTB;
|
|
};
|
|
hash {
|
|
algo = "crc32";
|
|
};
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "conf-0";
|
|
|
|
conf-0 {
|
|
description = "k3-am625-beagleplay";
|
|
firmware = "uboot";
|
|
loadables = "uboot";
|
|
fdt = "fdt-0";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
#endif
|