1/* 2 * Copyright 2017, DornerWorks 3 * Copyright 2017, Data61 4 * Commonwealth Scientific and Industrial Research Organisation (CSIRO) 5 * ABN 41 687 119 230. 6 * 7 * This software may be distributed and modified according to the terms of 8 * the BSD 2-Clause license. Note that NO WARRANTY is provided. 9 * See "LICENSE_BSD2.txt" for details. 10 * 11 * @TAG(DATA61_DORNERWORKS_BSD) 12 */ 13/* 14 * This data was produced by DornerWorks, Ltd. of Grand Rapids, MI, USA under 15 * a DARPA SBIR, Contract Number D16PC00107. 16 * 17 * Approved for Public Release, Distribution Unlimited. 18 */ 19 20#pragma once 21 22#define UART0_PADDR 0xFF000000 23#define UART1_PADDR 0xFF010000 24 25#define UART0_IRQ 53 26#define UART1_IRQ 54 27 28enum chardev_id { 29 ZYNQ_UART0, 30 ZYNQ_UART1, 31 /* Aliases */ 32 PS_SERIAL0 = ZYNQ_UART0, 33 PS_SERIAL1 = ZYNQ_UART1, 34 /* defaults */ 35 PS_SERIAL_DEFAULT = ZYNQ_UART0 36}; 37 38#define DEFAULT_SERIAL_PADDR UART0_PADDR 39#define DEFAULT_SERIAL_INTERRUPT UART0_IRQ 40