serial: dcc: Move driver to DM
authorMichal Simek <michal.simek@xilinx.com>
Tue, 23 Feb 2016 09:02:28 +0000 (10:02 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 26 Feb 2016 00:06:37 +0000 (19:06 -0500)
commit966bfa7347ba2d1bc938988abca8ed3f65f8e57a
tree9bd0e42bc6e791bfb1b6bbaea06440796659c96e
parent05195b2cbe5e8bd6df164503a4da9c84a7fe066f
serial: dcc: Move driver to DM

Enabling this driver requires some DT changes.
Adding DCC to root or main bus:
dcc: dcc {
compatible = "arm,dcc";
u-boot,dm-pre-reloc;
};

Extend alias list to link DCC:
serial0 = &uart0;
serial1 = &uart1;
serial2 = &dcc;

Change stdout-path to point to dcc port.
stdout-path = "serial2:115200n8";

Also add support for debug uart to help with early debug.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/Kconfig
drivers/serial/arm_dcc.c