]> git.ipfire.org Git - u-boot.git/blobdiff - board/timll/devkit8000/devkit8000.c
arm: omap3: devkit8000: inherit from ti_omap3_common.h
[u-boot.git] / board / timll / devkit8000 / devkit8000.c
index b97804413101f54c64a8009607eaa00b8b629231..4d073134328195101e2455065b76ab32717b8c39 100644 (file)
@@ -17,6 +17,8 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
+#include <dm.h>
+#include <ns16550.h>
 #include <twl4030.h>
 #include <asm/io.h>
 #include <asm/arch/mmc_host_def.h>
@@ -43,6 +45,17 @@ static u32 gpmc_net_config[GPMC_MAX_REG] = {
        0
 };
 
+static const struct ns16550_platdata devkit8000_serial = {
+       OMAP34XX_UART3,
+       2,
+       V_NS16550_CLK
+};
+
+U_BOOT_DEVICE(devkit8000_uart) = {
+       "serial_omap",
+       &devkit8000_serial
+};
+
 /*
  * Routine: board_init
  * Description: Early hardware init.