summaryrefslogtreecommitdiff
path: root/board/isee
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-22 21:37:15 -0600
committerSimon Glass <sjg@chromium.org>2014-10-23 19:29:07 -0600
commitb3f4ca1135edd66d14254089bbeb8077c6d0bb72 (patch)
treec4ddf862f38264189353f6f56069fe5294782ec5 /board/isee
parent1a44cd89faec48bc80543ed4cf2afc614863068b (diff)
downloadu-boot-b3f4ca1135edd66d14254089bbeb8077c6d0bb72.tar.gz
dm: omap3: Move to driver model for GPIO and serial
Adjust the configuration for the am33xx boards, including beagleboard, to use driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/isee')
-rw-r--r--board/isee/igep00x0/igep00x0.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c
index 3b2b1f15b8..7b87cc27c4 100644
--- a/board/isee/igep00x0/igep00x0.c
+++ b/board/isee/igep00x0/igep00x0.c
@@ -5,6 +5,8 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
+#include <dm.h>
+#include <ns16550.h>
#include <twl4030.h>
#include <netdev.h>
#include <asm/gpio.h>
@@ -30,6 +32,17 @@ static const u32 gpmc_lan_config[] = {
};
#endif
+static const struct ns16550_platdata igep_serial = {
+ OMAP34XX_UART3,
+ 2,
+ V_NS16550_CLK
+};
+
+U_BOOT_DEVICE(igep_uart) = {
+ "serial_omap",
+ &igep_serial
+};
+
/*
* Routine: board_init
* Description: Early hardware init.