1/* 2 * Copyright 2017, 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 UART1_PADDR 0x4806a000 16#define UART2_PADDR 0x4806c000 17#define UART3_PADDR 0x49020000 18#define UART4_PADDR 0x49042000 19 20#define UART1_IRQ 72 21#define UART2_IRQ 73 22#define UART3_IRQ 74 23#define UART4_IRQ 80 24 25/* official device names */ 26enum chardev_id { 27 OMAP3_UART1, 28 OMAP3_UART2, 29 OMAP3_UART3, 30 OMAP3_UART4, 31 /* Aliases */ 32 PS_SERIAL0 = OMAP3_UART1, 33 PS_SERIAL1 = OMAP3_UART2, 34 PS_SERIAL2 = OMAP3_UART3, 35 PS_SERIAL3 = OMAP3_UART4, 36 /* defaults */ 37 PS_SERIAL_DEFAULT = OMAP3_UART3 38}; 39 40#define DEFAULT_SERIAL_PADDR UART3_PADDR 41#define DEFAULT_SERIAL_INTERRUPT UART3_IRQ 42