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/spw500v.dts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target/linux/brcm63xx/dts/spw500v.dts') diff --git a/target/linux/brcm63xx/dts/spw500v.dts b/target/linux/brcm63xx/dts/spw500v.dts index a9603b3889..c7a4c7dfd2 100644 --- a/target/linux/brcm63xx/dts/spw500v.dts +++ b/target/linux/brcm63xx/dts/spw500v.dts @@ -10,6 +10,7 @@ chosen { bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; + stdout-path = "serial0:115200n8"; }; gpio-keys-polled { @@ -79,3 +80,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pci>; }; + +&uart0 { + status = "ok"; +}; -- cgit v1.2.3