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 15#define UART0_PADDR 0x9000000 16 17#define UART0_IRQ 33 18 19enum chardev_id { 20 PL001_UART0, 21 /* Aliases */ 22 PS_SERIAL0 = PL001_UART0, 23 /* defaults */ 24 PS_SERIAL_DEFAULT = PL001_UART0 25}; 26 27#define DEFAULT_SERIAL_PADDR UART0_PADDR 28#define DEFAULT_SERIAL_INTERRUPT UART0_IRQ 29 30