diff options
| -rw-r--r-- | arch/arm/mach-davinci/include/mach/serial.h | 8 | ||||
| -rw-r--r-- | arch/arm/mach-davinci/include/mach/uncompress.h | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/serial.h b/arch/arm/mach-davinci/include/mach/serial.h index b21ec224b11d..8051110b8ac3 100644 --- a/arch/arm/mach-davinci/include/mach/serial.h +++ b/arch/arm/mach-davinci/include/mach/serial.h | |||
| @@ -32,6 +32,14 @@ | |||
| 32 | #define DA8XX_UART1_BASE (IO_PHYS + 0x10c000) | 32 | #define DA8XX_UART1_BASE (IO_PHYS + 0x10c000) |
| 33 | #define DA8XX_UART2_BASE (IO_PHYS + 0x10d000) | 33 | #define DA8XX_UART2_BASE (IO_PHYS + 0x10d000) |
| 34 | 34 | ||
| 35 | #define TNETV107X_UART0_BASE 0x08108100 | ||
| 36 | #define TNETV107X_UART1_BASE 0x08088400 | ||
| 37 | #define TNETV107X_UART2_BASE 0x08108300 | ||
| 38 | |||
| 39 | #define TNETV107X_UART0_VIRT IOMEM(0xfee08100) | ||
| 40 | #define TNETV107X_UART1_VIRT IOMEM(0xfed88400) | ||
| 41 | #define TNETV107X_UART2_VIRT IOMEM(0xfee08300) | ||
| 42 | |||
| 35 | /* DaVinci UART register offsets */ | 43 | /* DaVinci UART register offsets */ |
| 36 | #define UART_DAVINCI_PWREMU 0x0c | 44 | #define UART_DAVINCI_PWREMU 0x0c |
| 37 | #define UART_DM646X_SCR 0x10 | 45 | #define UART_DM646X_SCR 0x10 |
diff --git a/arch/arm/mach-davinci/include/mach/uncompress.h b/arch/arm/mach-davinci/include/mach/uncompress.h index 20c23a3bc907..15a6192ad6eb 100644 --- a/arch/arm/mach-davinci/include/mach/uncompress.h +++ b/arch/arm/mach-davinci/include/mach/uncompress.h | |||
| @@ -63,6 +63,10 @@ static inline void set_uart_info(u32 phys, void * __iomem virt) | |||
| 63 | _DEBUG_LL_ENTRY(machine, DA8XX_UART##port##_BASE, \ | 63 | _DEBUG_LL_ENTRY(machine, DA8XX_UART##port##_BASE, \ |
| 64 | IO_ADDRESS(DA8XX_UART##port##_BASE)) | 64 | IO_ADDRESS(DA8XX_UART##port##_BASE)) |
| 65 | 65 | ||
| 66 | #define DEBUG_LL_TNETV107X(machine, port) \ | ||
| 67 | _DEBUG_LL_ENTRY(machine, TNETV107X_UART##port##_BASE, \ | ||
| 68 | TNETV107X_UART##port##_VIRT) | ||
| 69 | |||
| 66 | static inline void __arch_decomp_setup(unsigned long arch_id) | 70 | static inline void __arch_decomp_setup(unsigned long arch_id) |
| 67 | { | 71 | { |
| 68 | /* | 72 | /* |
| @@ -84,6 +88,9 @@ static inline void __arch_decomp_setup(unsigned long arch_id) | |||
| 84 | /* DA8xx boards */ | 88 | /* DA8xx boards */ |
| 85 | DEBUG_LL_DA8XX(davinci_da830_evm, 2); | 89 | DEBUG_LL_DA8XX(davinci_da830_evm, 2); |
| 86 | DEBUG_LL_DA8XX(davinci_da850_evm, 2); | 90 | DEBUG_LL_DA8XX(davinci_da850_evm, 2); |
| 91 | |||
| 92 | /* TNETV107x boards */ | ||
| 93 | DEBUG_LL_TNETV107X(tnetv107x, 1); | ||
| 87 | } while (0); | 94 | } while (0); |
| 88 | } | 95 | } |
| 89 | 96 | ||
