1 /* 2 * Arm SCP/MCP Software 3 * Copyright (c) 2017-2021, Arm Limited and Contributors. All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 #include "mcp_rdn1e1_mmap.h" 9 10 #include <mod_pl011.h> 11 12 #include <fwk_element.h> 13 #include <fwk_id.h> 14 #include <fwk_macros.h> 15 #include <fwk_module.h> 16 17 struct fwk_module_config config_pl011 = { 18 .elements = FWK_MODULE_STATIC_ELEMENTS({ 19 [0] = { 20 .name = "uart0", 21 .data = 22 &(struct mod_pl011_element_cfg){ 23 .reg_base = MCP_UART0_BASE, 24 .baud_rate_bps = 115200, 25 .clock_rate_hz = 24 * FWK_MHZ, 26 .clock_id = FWK_ID_NONE_INIT, 27 }, 28 }, 29 30 [1] = { 0 }, 31 }), 32 }; 33