brcm63xx: register serial through device tree

Register serial consoles through device tree instead of through board
data.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
This commit is contained in:
Jonas Gorski
2017-07-31 21:03:37 +02:00
parent a3384088a2
commit aba4e29ead
167 changed files with 1147 additions and 366 deletions

View File

@@ -10,6 +10,7 @@
chosen {
bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
stdout-path = "serial0:115200n8";
};
gpio-keys-polled {
@@ -53,3 +54,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
};
&uart0 {
status = "ok";
};