2 * Copyright (C) 2006 CodeHermit.
3 * Bryan O'Donoghue <bodonoghue@codehermit.ie>
5 * Provides support for USB console on the Analogue & Micro Adder87x
7 * SPDX-License-Identifier: GPL-2.0+
13 /* Include the board port */
16 #define CONFIG_USB_DEVICE /* Include UDC driver */
17 #define CONFIG_USB_TTY /* Bind the TTY driver to UDC */
18 #define CONFIG_SYS_USB_EXTC_CLK 0x02 /* Oscillator on EXTC_CLK 2 */
19 #define CONFIG_SYS_USB_BRG_CLK 0x04 /* or use Baud rate generator 0x04 */
20 #define CONFIG_SYS_CONSOLE_IS_IN_ENV /* Console is in env */
22 /* If you have a USB-IF assigned VendorID then you may wish to define
23 * your own vendor specific values either in BoardName.h or directly in
28 #define CONFIG_USBD_MANUFACTURER "CodeHermit.ie"
29 #define CONFIG_USBD_PRODUCT_NAME "Das U-Boot"
30 #define CONFIG_USBD_VENDORID 0xFFFF
31 #define CONFIG_USBD_PRODUCTID_GSERIAL 0xFFFF
32 #define CONFIG_USBD_PRODUCTID_CDCACM 0xFFFE
35 #endif /* __ADDERUSB_H__ */