summaryrefslogtreecommitdiff
path: root/board/ti/am57xx/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/am57xx/board.c')
-rw-r--r--board/ti/am57xx/board.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index fc0d87daae4..4091601d4f2 100644
--- a/board/ti/am57xx/board.c
+++ b/board/ti/am57xx/board.c
@@ -42,6 +42,7 @@
#include "../common/board_detect.h"
#include "../common/cape_detect.h"
+#include "../common/fdt_ops.h"
#include "mux_data.h"
#ifdef CONFIG_SUPPORT_EMMC_BOOT
@@ -577,6 +578,18 @@ void do_board_detect(void)
"Board: %s REV %s\n", bname, board_ti_get_rev());
}
+static struct ti_fdt_map ti_omap_am57_evm_fdt_map[] = {
+ {"beagle_x15", "ti/omap/am57xx-beagle-x15.dtb"},
+ {"beagle_x15_revb1", "ti/omap/am57xx-beagle-x15-revb1.dtb"},
+ {"beagle_x15_revc", "ti/omap/am57xx-beagle-x15-revc.dtb"},
+ {"am5729_beagleboneai", "ti/omap/am5729-beagleboneai.dtb"},
+ {"am572x_idk", "ti/omap/am572x-idk.dtb"},
+ {"am574x_idk", "ti/omap/am574x-idk.dtb"},
+ {"am57xx_evm", "ti/omap/am57xx-beagle-x15.dtb"},
+ {"am57xx_evm_reva3", "ti/omap/am57xx-beagle-x15.dtb"},
+ {"am571x_idk", "ti/omap/am571x-idk.dtb"},
+};
+
static void setup_board_eeprom_env(void)
{
char *name = "beagle_x15";
@@ -614,6 +627,7 @@ static void setup_board_eeprom_env(void)
invalid_eeprom:
set_board_info_env(name);
+ ti_set_fdt_env(name, ti_omap_am57_evm_fdt_map);
}
#endif /* CONFIG_XPL_BUILD */