1/* 2 * Copyright 2019, Data61 3 * Commonwealth Scientific and Industrial Research Organisation (CSIRO) 4 * ABN 41 687 119 230. 5 * 6 * This software may be distributed and modified according to the terms of 7 * the BSD 2-Clause license. Note that NO WARRANTY is provided. 8 * See "LICENSE_BSD2.txt" for details. 9 * 10 * @TAG(DATA61_BSD) 11 */ 12 13#pragma once 14#include <autoconf.h> 15 16/* official device names */ 17enum chardev_id { 18 UART0, 19 UART1, 20 PS_SERIAL_DEFAULT = UART0 21}; 22 23 24#define UART0_PADDR 0x10010000 25#define UART1_PADDR 0x10011000 26#define UART0_IRQ 4 27#define UART1_IRQ 5 28 29#define DEFAULT_SERIAL_PADDR UART0_PADDR 30#define DEFAULT_SERIAL_INTERRUPT UART0_IRQ 31