dts: v2m_beetle: Generate Uart base addr
This patch enables the generation of the ARM CMSDK UART base address from the device tree. Signed-off-by: Vincenzo Frascino <vincenzo.frascino@linaro.org>
This commit is contained in:
parent
9208d9f8db
commit
603c826fa4
4 changed files with 5 additions and 12 deletions
|
@ -113,10 +113,6 @@
|
|||
/* CMSDK APB Dual Timer */
|
||||
#define CMSDK_APB_DTIMER _BEETLE_DTIMER_BASE
|
||||
|
||||
/* CMSDK APB Universal Asynchronous Receiver-Transmitter (UART) */
|
||||
#define CMSDK_APB_UART0 _BEETLE_UART0_BASE
|
||||
#define CMSDK_APB_UART1 _BEETLE_UART1_BASE
|
||||
|
||||
/* CMSDK APB Watchdog */
|
||||
#define CMSDK_APB_WDOG _BEETLE_WDOG_BASE
|
||||
|
||||
|
|
|
@ -57,12 +57,6 @@
|
|||
#define IRQ_PORT3_ALL 43 /* GPIO Port 3 combined Interrupt */
|
||||
#define IRQ_TRNG 44 /* Random number generator Interrupt */
|
||||
|
||||
#ifndef CONFIG_HAS_DTS
|
||||
/* CMSDK APB Universal Asynchronous Receiver-Transmitter (UART) */
|
||||
#define CMSDK_APB_UART_0_IRQ IRQ_UART0
|
||||
#define CMSDK_APB_UART_1_IRQ IRQ_UART1
|
||||
#endif
|
||||
|
||||
/* CMSDK APB Timers */
|
||||
#define CMSDK_APB_TIMER_0_IRQ IRQ_TIMER0
|
||||
#define CMSDK_APB_TIMER_1_IRQ IRQ_TIMER1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue