Skip to content

Commit

Permalink
ARM: kirkwood: convert uart0 to devicetree.
Browse files Browse the repository at this point in the history
This uart is the primary console for the dreamplug.  Removed
kirkwood_uart0_init() call from board-dt.c.

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Jason Cooper authored and Arnd Bergmann committed Feb 27, 2012
1 parent 3d468b6 commit 759a451
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/kirkwood-dreamplug.dts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,11 @@
bootargs = "console=ttyS0,115200n8 earlyprintk";
};

serial@f1012000 {
compatible = "ns16550a";
reg = <0xf1012000 0xff>;
reg-shift = <2>;
interrupts = <33>;
clock-frequency = <200000000>;
};
};
2 changes: 0 additions & 2 deletions arch/arm/mach-kirkwood/board-dt.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ static void __init dreamplug_init(void)
*/
kirkwood_mpp_conf(dreamplug_mpp_config);

kirkwood_uart0_init();

spi_register_board_info(dreamplug_spi_slave_info,
ARRAY_SIZE(dreamplug_spi_slave_info));
kirkwood_spi_init();
Expand Down

0 comments on commit 759a451

Please sign in to comment.