mirror of https://gitee.com/openkylin/linux.git
ARM: kirkwood: convert uart0 to devicetree.
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>
This commit is contained in:
parent
3d468b6d60
commit
759a45185a
|
@ -15,4 +15,11 @@ chosen {
|
||||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
serial@f1012000 {
|
||||||
|
compatible = "ns16550a";
|
||||||
|
reg = <0xf1012000 0xff>;
|
||||||
|
reg-shift = <2>;
|
||||||
|
interrupts = <33>;
|
||||||
|
clock-frequency = <200000000>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -140,8 +140,6 @@ static void __init dreamplug_init(void)
|
||||||
*/
|
*/
|
||||||
kirkwood_mpp_conf(dreamplug_mpp_config);
|
kirkwood_mpp_conf(dreamplug_mpp_config);
|
||||||
|
|
||||||
kirkwood_uart0_init();
|
|
||||||
|
|
||||||
spi_register_board_info(dreamplug_spi_slave_info,
|
spi_register_board_info(dreamplug_spi_slave_info,
|
||||||
ARRAY_SIZE(dreamplug_spi_slave_info));
|
ARRAY_SIZE(dreamplug_spi_slave_info));
|
||||||
kirkwood_spi_init();
|
kirkwood_spi_init();
|
||||||
|
|
Loading…
Reference in New Issue