| * Copyright (C) 2015 Atmel Corporation |
| * Wenyou Yang <wenyou.yang@atmel.com> |
| * SPDX-License-Identifier: GPL-2.0+ |
| #include <asm/arch/clk.h> |
| #include <asm/arch/sama5d2.h> |
| unsigned int extension_id = get_extension_chip_id(); |
| case ARCH_EXID_SAMA5D21CU: |
| case ARCH_EXID_SAMA5D22CU: |
| case ARCH_EXID_SAMA5D22CN: |
| case ARCH_EXID_SAMA5D23CU: |
| case ARCH_EXID_SAMA5D24CX: |
| case ARCH_EXID_SAMA5D24CU: |
| case ARCH_EXID_SAMA5D26CU: |
| case ARCH_EXID_SAMA5D27CU: |
| case ARCH_EXID_SAMA5D27CN: |
| case ARCH_EXID_SAMA5D28CU: |
| case ARCH_EXID_SAMA5D28CN: |
| return "Unknown CPU type"; |
| #ifdef CONFIG_USB_GADGET_ATMEL_USBA |
| void at91_udp_hw_init(void) |
| at91_periph_clk_enable(ATMEL_ID_UDPHS); |