3 * Texas Instruments Incorporated, <www.ti.com>
4 * Aneesh V <aneesh@ti.com>
5 * Steve Sakoman <steve@sakoman.com>
7 * SPDX-License-Identifier: GPL-2.0+
11 #include <asm/arch/sys_proto.h>
12 #include <asm/arch/mmc_host_def.h>
17 DECLARE_GLOBAL_DATA_PTR;
19 const struct omap_sysinfo sysinfo = {
20 "Board: OMAP5430 EVM\n"
24 * @brief tca642x_init - uEVM default values for the GPIO expander
25 * input reg, output reg, polarity reg, configuration reg
27 struct tca642x_bank_info tca642x_init[] = {
31 .configuration_reg = 0x80 },
35 .configuration_reg = 0xff },
39 .configuration_reg = 0x40 },
50 gd->bd->bi_arch_number = MACH_TYPE_OMAP5_SEVM;
51 gd->bd->bi_boot_params = (0x80000000 + 0x100); /* boot param addr */
53 tca642x_set_inital_state(CONFIG_SYS_I2C_TCA642X_ADDR, tca642x_init);
58 int board_eth_init(bd_t *bis)
64 * @brief misc_init_r - Configure EVM board specific configurations
65 * such as power configurations, ethernet initialization as phase2 of
72 #ifdef CONFIG_PALMAS_POWER
73 palmas_init_settings();
78 void set_muxconf_regs_essential(void)
80 do_set_mux((*ctrl)->control_padconf_core_base,
81 core_padconf_array_essential,
82 sizeof(core_padconf_array_essential) /
83 sizeof(struct pad_conf_entry));
85 do_set_mux((*ctrl)->control_padconf_wkup_base,
86 wkup_padconf_array_essential,
87 sizeof(wkup_padconf_array_essential) /
88 sizeof(struct pad_conf_entry));
91 void set_muxconf_regs_non_essential(void)
93 do_set_mux((*ctrl)->control_padconf_core_base,
94 core_padconf_array_non_essential,
95 sizeof(core_padconf_array_non_essential) /
96 sizeof(struct pad_conf_entry));
98 do_set_mux((*ctrl)->control_padconf_wkup_base,
99 wkup_padconf_array_non_essential,
100 sizeof(wkup_padconf_array_non_essential) /
101 sizeof(struct pad_conf_entry));
104 #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_GENERIC_MMC)
105 int board_mmc_init(bd_t *bis)
107 omap_mmc_init(0, 0, 0, -1, -1);
108 omap_mmc_init(1, 0, 0, -1, -1);