serial: sh-sci: Move SCSCR_INIT in to platform data.
[firefly-linux-kernel-4.4.55.git] / arch / sh / kernel / cpu / sh2a / setup-sh7206.c
index 3e6f3d7a58be990cbaa06b5022ab1624be92b8fb..5a47987f3902a7952c7ff8fbf938d4aa3a701db7 100644 (file)
@@ -137,21 +137,25 @@ static struct plat_sci_port sci_platform_data[] = {
        {
                .mapbase        = 0xfffe8000,
                .flags          = UPF_BOOT_AUTOCONF,
+               .scscr          = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
                .type           = PORT_SCIF,
                .irqs           = { 240, 240, 240, 240 },
        }, {
                .mapbase        = 0xfffe8800,
                .flags          = UPF_BOOT_AUTOCONF,
+               .scscr          = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
                .type           = PORT_SCIF,
                .irqs           = { 244, 244, 244, 244 },
        }, {
                .mapbase        = 0xfffe9000,
                .flags          = UPF_BOOT_AUTOCONF,
+               .scscr          = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
                .type           = PORT_SCIF,
                .irqs           = { 248, 248, 248, 248 },
        }, {
                .mapbase        = 0xfffe9800,
                .flags          = UPF_BOOT_AUTOCONF,
+               .scscr          = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
                .type           = PORT_SCIF,
                .irqs           = { 252, 252, 252, 252 },
        }, {