summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-05-09 13:40:35 -0400
committerTom Rini <[email protected]>2022-05-09 13:40:35 -0400
commitf6973cce6af066d28980c9f82c99cb4e10af8a6f (patch)
tree65eab4cf3065f93890d481820118a0a264983787 /board
parentf08ed34371c54244421eac8ffb4c77559c5ea013 (diff)
parent28a4c3113445d4400639f357fae0def007a41093 (diff)
Merge branch '2022-05-09-TI-platform-updates'
- Assorted minor TI platform updates
Diffstat (limited to 'board')
-rw-r--r--board/bosch/guardian/board.c8
-rw-r--r--board/nokia/rx51/rx51.c12
2 files changed, 18 insertions, 2 deletions
diff --git a/board/bosch/guardian/board.c b/board/bosch/guardian/board.c
index 68f2744610b..7d1064a3fc7 100644
--- a/board/bosch/guardian/board.c
+++ b/board/bosch/guardian/board.c
@@ -83,7 +83,8 @@ void am33xx_spl_board_init(void)
/* Get the frequency */
dpll_mpu_opp100.m = am335x_get_efuse_mpu_max_freq(cdev);
- if (i2c_probe(TPS65217_CHIP_PM))
+ /* Initialize for Power Management */
+ if (power_tps65217_init(0))
return;
/*
@@ -142,7 +143,6 @@ void am33xx_spl_board_init(void)
const struct dpll_params *get_dpll_ddr_params(void)
{
enable_i2c0_pin_mux();
- i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
return &dpll_ddr;
}
@@ -335,6 +335,10 @@ int board_late_init(void)
return ret;
}
+ /* Initialize to enable backlight */
+ if (power_tps65217_init(0))
+ return 0;
+
lcdbacklight_en();
if (IS_ENABLED(CONFIG_AM335X_LCD))
splash_screen();
diff --git a/board/nokia/rx51/rx51.c b/board/nokia/rx51/rx51.c
index 621cff09561..460d248eaae 100644
--- a/board/nokia/rx51/rx51.c
+++ b/board/nokia/rx51/rx51.c
@@ -32,6 +32,7 @@
#include <i2c.h>
#include <video.h>
#include <keyboard.h>
+#include <ns16550.h>
#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/setup.h>
@@ -788,3 +789,14 @@ U_BOOT_DRVINFOS(rx51_video) = {
U_BOOT_DRVINFOS(rx51_kp) = {
{ "rx51_kp" },
};
+
+static const struct ns16550_plat rx51_serial = {
+ .base = CONFIG_SYS_NS16550_COM3,
+ .reg_shift = 2,
+ .clock = CONFIG_SYS_NS16550_CLK,
+ .fcr = UART_FCR_DEFVAL,
+};
+
+U_BOOT_DRVINFOS(rx51_uart) = {
+ { "omap_serial", &rx51_serial },
+};