]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/include/asm/ppc440ep_gr.h
ppc4xx: Use common NS16550 driver for PPC4xx UART
[karo-tx-uboot.git] / arch / powerpc / include / asm / ppc440ep_gr.h
index 0fd40196335943697414de4dd7306c17b174ce5a..dfd1532b0e782c0682940e8f44c64d32be852350 100644 (file)
 /*
  * Some SoC specific registers (not common for all 440 SoC's)
  */
-#define GPIO0_BASE     (CONFIG_SYS_PERIPHERAL_BASE + 0x00000B00)
-#define GPIO1_BASE     (CONFIG_SYS_PERIPHERAL_BASE + 0x00000C00)
 
+/* Memory mapped registers */
+#define CONFIG_SYS_PERIPHERAL_BASE     0xef600000 /* Internal Peripherals */
+
+#define CONFIG_SYS_NS16550_COM1        (CONFIG_SYS_PERIPHERAL_BASE + 0x0300)
+#define CONFIG_SYS_NS16550_COM2        (CONFIG_SYS_PERIPHERAL_BASE + 0x0400)
+#define CONFIG_SYS_NS16550_COM3        (CONFIG_SYS_PERIPHERAL_BASE + 0x0500)
+#define CONFIG_SYS_NS16550_COM4        (CONFIG_SYS_PERIPHERAL_BASE + 0x0600)
+
+#define GPIO0_BASE             (CONFIG_SYS_PERIPHERAL_BASE + 0x0b00)
+#define GPIO1_BASE             (CONFIG_SYS_PERIPHERAL_BASE + 0x0c00)
+
+/* SDR's */
 #define SDR0_PCI0      0x0300
 #define SDR0_SDSTP2    0x4001
 #define SDR0_SDSTP3    0x4003