]>
Commit | Line | Data |
---|---|---|
16c8d5e7 WD |
1 | /* |
2 | * Copyright (C) 2006 CodeHermit. | |
3 | * Bryan O'Donoghue <[email protected]> | |
4 | * | |
5 | * Provides support for USB console on the Analogue & Micro Adder87x | |
386eda02 | 6 | * |
3765b3e7 | 7 | * SPDX-License-Identifier: GPL-2.0+ |
16c8d5e7 WD |
8 | */ |
9 | ||
10 | #ifndef __ADDERUSB__ | |
11 | #define __ADDERUSB__ | |
12 | ||
13 | /* Include the board port */ | |
14 | #include "Adder.h" | |
15 | ||
16 | #define CONFIG_USB_DEVICE /* Include UDC driver */ | |
17 | #define CONFIG_USB_TTY /* Bind the TTY driver to UDC */ | |
6d0f6bcf JCPV |
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 */ | |
16c8d5e7 WD |
21 | |
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 | |
386eda02 | 24 | * usbd_vendor_info.h |
16c8d5e7 WD |
25 | */ |
26 | ||
386eda02 | 27 | /* |
16c8d5e7 WD |
28 | #define CONFIG_USBD_MANUFACTURER "CodeHermit.ie" |
29 | #define CONFIG_USBD_PRODUCT_NAME "Das U-Boot" | |
386eda02 | 30 | #define CONFIG_USBD_VENDORID 0xFFFF |
16c8d5e7 WD |
31 | #define CONFIG_USBD_PRODUCTID_GSERIAL 0xFFFF |
32 | #define CONFIG_USBD_PRODUCTID_CDCACM 0xFFFE | |
33 | */ | |
34 | ||
35 | #endif /* __ADDERUSB_H__ */ |