mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 23:05:23 +07:00
49c9e60eaa
imx6q gets 5 uart ports in total. Different board design may choose different port as debug uart. For example, imx6q-sabresd uses UART1, imx6q-sabrelite uses UART2 and imx6q-arm2 uses UART4. Rather than bloating DEBUG_LL choice list with all these uart ports, the patch introduces DEBUG_IMX6Q_UART_PORT for users to input uart port number when DEBUG_IMX6Q_UART is selected inside DEBUG_LL choice. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
32 lines
940 B
C
32 lines
940 B
C
/*
|
|
* Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved.
|
|
* Copyright 2011 Linaro Ltd.
|
|
*
|
|
* The code contained herein is licensed under the GNU General Public
|
|
* License. You may obtain a copy of the GNU General Public License
|
|
* Version 2 or later at the following locations:
|
|
*
|
|
* http://www.opensource.org/licenses/gpl-license.html
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
*/
|
|
|
|
#ifndef __MACH_MX6Q_H__
|
|
#define __MACH_MX6Q_H__
|
|
|
|
#define MX6Q_IO_P2V(x) IMX_IO_P2V(x)
|
|
#define MX6Q_IO_ADDRESS(x) IOMEM(MX6Q_IO_P2V(x))
|
|
|
|
/*
|
|
* The following are the blocks that need to be statically mapped.
|
|
* For other blocks, the base address really should be retrieved from
|
|
* device tree.
|
|
*/
|
|
#define MX6Q_SCU_BASE_ADDR 0x00a00000
|
|
#define MX6Q_SCU_SIZE 0x1000
|
|
#define MX6Q_CCM_BASE_ADDR 0x020c4000
|
|
#define MX6Q_CCM_SIZE 0x4000
|
|
#define MX6Q_ANATOP_BASE_ADDR 0x020c8000
|
|
#define MX6Q_ANATOP_SIZE 0x1000
|
|
|
|
#endif /* __MACH_MX6Q_H__ */
|