m68knommu: make 5407 UART platform addressing consistent
[firefly-linux-kernel-4.4.55.git] / arch / m68k / include / asm / m5407sim.h
index 51e00b00b8a6a93e2e5af1496716d2326523be71..79f58dd6a83da3d532d3687d139144999daf3801 100644 (file)
@@ -85,8 +85,8 @@
 #define MCFTIMER_BASE1         (MCF_MBAR + 0x140)      /* Base of TIMER1 */
 #define MCFTIMER_BASE2         (MCF_MBAR + 0x180)      /* Base of TIMER2 */
 
-#define MCFUART_BASE1          0x1c0           /* Base address of UART1 */
-#define MCFUART_BASE2          0x200           /* Base address of UART2 */
+#define MCFUART_BASE0          (MCF_MBAR + 0x1c0)      /* Base address UART0 */
+#define MCFUART_BASE1          (MCF_MBAR + 0x200)      /* Base address UART1 */
 
 #define        MCFSIM_PADDR            (MCF_MBAR + 0x244)
 #define        MCFSIM_PADAT            (MCF_MBAR + 0x248)
  */
 #define        MCF_IRQ_TIMER           30              /* Timer0, Level 6 */
 #define        MCF_IRQ_PROFILER        31              /* Timer1, Level 7 */
+#define        MCF_IRQ_UART0           73              /* UART0 */
+#define        MCF_IRQ_UART1           74              /* UART1 */
 
 /****************************************************************************/
 #endif /* m5407sim_h */