summaryrefslogtreecommitdiffstats
path: root/firmware/export/s5l8702.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/s5l8702.h')
-rw-r--r--firmware/export/s5l8702.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/firmware/export/s5l8702.h b/firmware/export/s5l8702.h
index 00d92a58b1..59170b04ea 100644
--- a/firmware/export/s5l8702.h
+++ b/firmware/export/s5l8702.h
@@ -711,9 +711,10 @@
/////UART/////
-/* UC8702 uart controller */
-#define S5L8702_UART_BASE 0x3cc00000
-#define S5L8702_UART_PORT_MAX 4
+/* s5l8702 UC870X HW: 1 UARTC, 4 ports */
+#define UARTC_BASE_ADDR 0x3CC00000
+#define UARTC_N_PORTS 4
+#define UARTC_PORT_OFFSET 0x4000
/////CLOCK GATES/////
@@ -737,7 +738,7 @@
#define CLOCKGATE_TIMER 37
#define CLOCKGATE_I2C1 38
#define CLOCKGATE_I2S0 39
-#define CLOCKGATE_UART 41
+#define CLOCKGATE_UARTC 41
#define CLOCKGATE_I2S1 42
#define CLOCKGATE_SPI1 43
#define CLOCKGATE_GPIO 44