1 /* This file is part of the coreboot project. */
2 /* SPDX-License-Identifier: GPL-2.0-only */
4 #include <device/device.h>
8 static struct usb_board_data usb1_board_data
= {
9 .pll_bias_control_2
= 0x28,
14 static void setup_usb(void)
17 * Primary USB is used only for DP functionality on cheza platform.
18 * Hence Setting up only Secondary USB DWC3 controller.
20 setup_usb_host1(&usb1_board_data
);
22 gpio_output(GPIO(120), 1); /* Deassert HUB_RST_L to enable hub. */
25 static void mainboard_init(struct device
*dev
)
30 static void mainboard_enable(struct device
*dev
)
32 dev
->ops
->init
= &mainboard_init
;
35 struct chip_operations mainboard_ops
= {
36 .name
= CONFIG_MAINBOARD_PART_NUMBER
,
37 .enable_dev
= mainboard_enable
,