diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-22 21:37:15 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-23 19:29:07 -0600 |
commit | b3f4ca1135edd66d14254089bbeb8077c6d0bb72 (patch) | |
tree | c4ddf862f38264189353f6f56069fe5294782ec5 /board/overo | |
parent | 1a44cd89faec48bc80543ed4cf2afc614863068b (diff) | |
download | u-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/overo')
-rw-r--r-- | board/overo/overo.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/board/overo/overo.c b/board/overo/overo.c index 13220c56dd..7506820e34 100644 --- a/board/overo/overo.c +++ b/board/overo/overo.c @@ -13,6 +13,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> +#include <dm.h> +#include <ns16550.h> #include <netdev.h> #include <twl4030.h> #include <linux/mtd/nand.h> @@ -73,6 +75,17 @@ static const u32 gpmc_lan_config[] = { /*CONFIG7- computed as params */ }; +static const struct ns16550_platdata overo_serial = { + OMAP34XX_UART3, + 2, + V_NS16550_CLK +}; + +U_BOOT_DEVICE(overo_uart) = { + "serial_omap", + &overo_serial +}; + /* * Routine: board_init * Description: Early hardware init. |