blob: 5f5c684aa2f351fb4d3d899ff07a0d18d3852bed [file] [log] [blame]
Patrick Georgiac959032020-05-05 22:49:26 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Tristan Corrick921a4cf2018-08-02 19:41:08 +12002
Arthur Heymansfa5d0f82019-11-12 19:11:50 +01003#include <bootblock_common.h>
Tristan Corrick921a4cf2018-08-02 19:41:08 +12004#include <southbridge/intel/bd82x6x/pch.h>
5#include <superio/nuvoton/common/nuvoton.h>
6#include <superio/nuvoton/nct6776/nct6776.h>
7
8#define SERIAL_DEV PNP_DEV(0x2e, NCT6776_SP1)
9
10const struct southbridge_usb_port mainboard_usb_ports[] = {
11 { 1, 0, 0 },
12 { 1, 0, 0 },
13 { 1, 0, 1 },
14 { 1, 0, 1 },
15 { 1, 0, 2 },
16 { 1, 0, 2 },
17 { 1, 0, 3 },
18 { 1, 0, 3 },
19 { 1, 0, 4 },
20 { 1, 0, 4 },
21 { 1, 0, 5 },
22 { 1, 0, 5 },
23 { 1, 0, 6 },
24 { 1, 0, 6 },
25};
26
Arthur Heymansfa5d0f82019-11-12 19:11:50 +010027void bootblock_mainboard_early_init(void)
Tristan Corrick921a4cf2018-08-02 19:41:08 +120028{
29 nuvoton_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
30}