From aba4e29eadfb82ef7f52f85cdb4cd10a4abad622 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 31 Jul 2017 21:03:37 +0200 Subject: brcm63xx: register serial through device tree Register serial consoles through device tree instead of through board data. Signed-off-by: Jonas Gorski --- target/linux/brcm63xx/dts/r1000h.dts | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'target/linux/brcm63xx/dts/r1000h.dts') diff --git a/target/linux/brcm63xx/dts/r1000h.dts b/target/linux/brcm63xx/dts/r1000h.dts index 37cfa15dad..299b520a67 100644 --- a/target/linux/brcm63xx/dts/r1000h.dts +++ b/target/linux/brcm63xx/dts/r1000h.dts @@ -10,6 +10,7 @@ chosen { bootargs = "root=/dev/mtdblock2 rootfstype=squashfs noinitrd console=ttyS0,115200"; + stdout-path = "serial0:115200n8"; }; gpio-keys-polled { @@ -91,3 +92,11 @@ reg = <0x1fe0000 0x20000>; }; }; + +&uart0 { + status = "ok"; +}; + +&uart1 { + status = "ok"; +}; -- cgit v1.2.3