aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@googlemail.com>2011-05-08 04:42:19 -0400
committerRalf Baechle <ralf@linux-mips.org>2011-05-19 04:55:46 -0400
commit5d4ddcb4279672e69136e746d6de6f01b501b853 (patch)
treed29580d9f763a85edf148008aa19770c9ab497a6 /arch
parent40d8bc281711d188f35f035f28d94b111b735484 (diff)
MIPS: Alchemy: Cleanup DMA addresses
According to the databooks, the Au1000 DMA engine must be programmed with the physical FIFO addresses. This patch does that; furthermore this opened the possibility to get rid of a lot of now unnecessary address defines. Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com> To: Linux-MIPS <linux-mips@linux-mips.org> Cc: Florian Fainelli <florian@openwrt.org> Cc: Wolfgang Grandegger <wg@grandegger.com> Patchwork: https://patchwork.linux-mips.org/patch/2348/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/alchemy/common/dma.c46
-rw-r--r--arch/mips/alchemy/common/platform.c8
-rw-r--r--arch/mips/include/asm/mach-au1x00/au1000.h62
-rw-r--r--arch/mips/include/asm/mach-au1x00/au1000_dma.h4
4 files changed, 35 insertions, 85 deletions
diff --git a/arch/mips/alchemy/common/dma.c b/arch/mips/alchemy/common/dma.c
index d5278877891..347980e79a8 100644
--- a/arch/mips/alchemy/common/dma.c
+++ b/arch/mips/alchemy/common/dma.c
@@ -58,6 +58,9 @@
58 * returned from request_dma. 58 * returned from request_dma.
59 */ 59 */
60 60
61/* DMA Channel register block spacing */
62#define DMA_CHANNEL_LEN 0x00000100
63
61DEFINE_SPINLOCK(au1000_dma_spin_lock); 64DEFINE_SPINLOCK(au1000_dma_spin_lock);
62 65
63struct dma_chan au1000_dma_table[NUM_AU1000_DMA_CHANNELS] = { 66struct dma_chan au1000_dma_table[NUM_AU1000_DMA_CHANNELS] = {
@@ -77,22 +80,23 @@ static const struct dma_dev {
77 unsigned int fifo_addr; 80 unsigned int fifo_addr;
78 unsigned int dma_mode; 81 unsigned int dma_mode;
79} dma_dev_table[DMA_NUM_DEV] = { 82} dma_dev_table[DMA_NUM_DEV] = {
80 {UART0_ADDR + UART_TX, 0}, 83 { AU1000_UART0_PHYS_ADDR + 0x04, DMA_DW8 }, /* UART0_TX */
81 {UART0_ADDR + UART_RX, 0}, 84 { AU1000_UART0_PHYS_ADDR + 0x00, DMA_DW8 | DMA_DR }, /* UART0_RX */
82 {0, 0}, 85 { 0, 0 }, /* DMA_REQ0 */
83 {0, 0}, 86 { 0, 0 }, /* DMA_REQ1 */
84 {AC97C_DATA, DMA_DW16 }, /* coherent */ 87 { AU1000_AC97_PHYS_ADDR + 0x08, DMA_DW16 }, /* AC97 TX c */
85 {AC97C_DATA, DMA_DR | DMA_DW16 }, /* coherent */ 88 { AU1000_AC97_PHYS_ADDR + 0x08, DMA_DW16 | DMA_DR }, /* AC97 RX c */
86 {UART3_ADDR + UART_TX, DMA_DW8 | DMA_NC}, 89 { AU1000_UART3_PHYS_ADDR + 0x04, DMA_DW8 | DMA_NC }, /* UART3_TX */
87 {UART3_ADDR + UART_RX, DMA_DR | DMA_DW8 | DMA_NC}, 90 { AU1000_UART3_PHYS_ADDR + 0x00, DMA_DW8 | DMA_NC | DMA_DR }, /* UART3_RX */
88 {USBD_EP0RD, DMA_DR | DMA_DW8 | DMA_NC}, 91 { AU1000_USBD_PHYS_ADDR + 0x00, DMA_DW8 | DMA_NC | DMA_DR }, /* EP0RD */
89 {USBD_EP0WR, DMA_DW8 | DMA_NC}, 92 { AU1000_USBD_PHYS_ADDR + 0x04, DMA_DW8 | DMA_NC }, /* EP0WR */
90 {USBD_EP2WR, DMA_DW8 | DMA_NC}, 93 { AU1000_USBD_PHYS_ADDR + 0x08, DMA_DW8 | DMA_NC }, /* EP2WR */
91 {USBD_EP3WR, DMA_DW8 | DMA_NC}, 94 { AU1000_USBD_PHYS_ADDR + 0x0c, DMA_DW8 | DMA_NC }, /* EP3WR */
92 {USBD_EP4RD, DMA_DR | DMA_DW8 | DMA_NC}, 95 { AU1000_USBD_PHYS_ADDR + 0x10, DMA_DW8 | DMA_NC | DMA_DR }, /* EP4RD */
93 {USBD_EP5RD, DMA_DR | DMA_DW8 | DMA_NC}, 96 { AU1000_USBD_PHYS_ADDR + 0x14, DMA_DW8 | DMA_NC | DMA_DR }, /* EP5RD */
94 {I2S_DATA, DMA_DW32 | DMA_NC}, 97 /* on Au1500, these 2 are DMA_REQ2/3 (GPIO208/209) instead! */
95 {I2S_DATA, DMA_DR | DMA_DW32 | DMA_NC} 98 { AU1000_I2S_PHYS_ADDR + 0x00, DMA_DW32 | DMA_NC}, /* I2S TX */
99 { AU1000_I2S_PHYS_ADDR + 0x00, DMA_DW32 | DMA_NC | DMA_DR}, /* I2S RX */
96}; 100};
97 101
98int au1000_dma_read_proc(char *buf, char **start, off_t fpos, 102int au1000_dma_read_proc(char *buf, char **start, off_t fpos,
@@ -123,10 +127,10 @@ int au1000_dma_read_proc(char *buf, char **start, off_t fpos,
123 127
124/* Device FIFO addresses and default DMA modes - 2nd bank */ 128/* Device FIFO addresses and default DMA modes - 2nd bank */
125static const struct dma_dev dma_dev_table_bank2[DMA_NUM_DEV_BANK2] = { 129static const struct dma_dev dma_dev_table_bank2[DMA_NUM_DEV_BANK2] = {
126 { SD0_XMIT_FIFO, DMA_DS | DMA_DW8 }, /* coherent */ 130 { AU1100_SD0_PHYS_ADDR + 0x00, DMA_DS | DMA_DW8 }, /* coherent */
127 { SD0_RECV_FIFO, DMA_DS | DMA_DR | DMA_DW8 }, /* coherent */ 131 { AU1100_SD0_PHYS_ADDR + 0x04, DMA_DS | DMA_DW8 | DMA_DR }, /* coherent */
128 { SD1_XMIT_FIFO, DMA_DS | DMA_DW8 }, /* coherent */ 132 { AU1100_SD1_PHYS_ADDR + 0x00, DMA_DS | DMA_DW8 }, /* coherent */
129 { SD1_RECV_FIFO, DMA_DS | DMA_DR | DMA_DW8 } /* coherent */ 133 { AU1100_SD1_PHYS_ADDR + 0x04, DMA_DS | DMA_DW8 | DMA_DR } /* coherent */
130}; 134};
131 135
132void dump_au1000_dma_channel(unsigned int dmanr) 136void dump_au1000_dma_channel(unsigned int dmanr)
@@ -202,7 +206,7 @@ int request_au1000_dma(int dev_id, const char *dev_str,
202 } 206 }
203 207
204 /* fill it in */ 208 /* fill it in */
205 chan->io = DMA_CHANNEL_BASE + i * DMA_CHANNEL_LEN; 209 chan->io = KSEG1ADDR(AU1000_DMA_PHYS_ADDR) + i * DMA_CHANNEL_LEN;
206 chan->dev_id = dev_id; 210 chan->dev_id = dev_id;
207 chan->dev_str = dev_str; 211 chan->dev_str = dev_str;
208 chan->fifo_addr = dev->fifo_addr; 212 chan->fifo_addr = dev->fifo_addr;
diff --git a/arch/mips/alchemy/common/platform.c b/arch/mips/alchemy/common/platform.c
index 541fff24abe..3b2c18b1434 100644
--- a/arch/mips/alchemy/common/platform.c
+++ b/arch/mips/alchemy/common/platform.c
@@ -283,8 +283,8 @@ extern struct au1xmmc_platform_data au1xmmc_platdata[2];
283 283
284static struct resource au1200_mmc0_resources[] = { 284static struct resource au1200_mmc0_resources[] = {
285 [0] = { 285 [0] = {
286 .start = SD0_PHYS_ADDR, 286 .start = AU1100_SD0_PHYS_ADDR,
287 .end = SD0_PHYS_ADDR + 0x7ffff, 287 .end = AU1100_SD0_PHYS_ADDR + 0xfff,
288 .flags = IORESOURCE_MEM, 288 .flags = IORESOURCE_MEM,
289 }, 289 },
290 [1] = { 290 [1] = {
@@ -319,8 +319,8 @@ static struct platform_device au1200_mmc0_device = {
319#ifndef CONFIG_MIPS_DB1200 319#ifndef CONFIG_MIPS_DB1200
320static struct resource au1200_mmc1_resources[] = { 320static struct resource au1200_mmc1_resources[] = {
321 [0] = { 321 [0] = {
322 .start = SD1_PHYS_ADDR, 322 .start = AU1100_SD1_PHYS_ADDR,
323 .end = SD1_PHYS_ADDR + 0x7ffff, 323 .end = AU1100_SD1_PHYS_ADDR + 0xfff,
324 .flags = IORESOURCE_MEM, 324 .flags = IORESOURCE_MEM,
325 }, 325 },
326 [1] = { 326 [1] = {
diff --git a/arch/mips/include/asm/mach-au1x00/au1000.h b/arch/mips/include/asm/mach-au1x00/au1000.h
index 415d287c272..2dfff4f2651 100644
--- a/arch/mips/include/asm/mach-au1x00/au1000.h
+++ b/arch/mips/include/asm/mach-au1x00/au1000.h
@@ -686,10 +686,15 @@ enum soc_au1200_ints {
686 * 0..au1000 1..au1500 2..au1100 3..au1550 4..au1200 686 * 0..au1000 1..au1500 2..au1100 3..au1550 4..au1200
687 */ 687 */
688 688
689#define AU1000_AC97_PHYS_ADDR 0x10000000 /* 012 */
690#define AU1000_USBD_PHYS_ADDR 0x10200000 /* 0123 */
689#define AU1000_IC0_PHYS_ADDR 0x10400000 /* 01234 */ 691#define AU1000_IC0_PHYS_ADDR 0x10400000 /* 01234 */
690#define AU1000_MAC0_PHYS_ADDR 0x10500000 /* 023 */ 692#define AU1000_MAC0_PHYS_ADDR 0x10500000 /* 023 */
691#define AU1000_MAC1_PHYS_ADDR 0x10510000 /* 023 */ 693#define AU1000_MAC1_PHYS_ADDR 0x10510000 /* 023 */
692#define AU1000_MACEN_PHYS_ADDR 0x10520000 /* 023 */ 694#define AU1000_MACEN_PHYS_ADDR 0x10520000 /* 023 */
695#define AU1100_SD0_PHYS_ADDR 0x10600000 /* 24 */
696#define AU1100_SD1_PHYS_ADDR 0x10680000 /* 24 */
697#define AU1000_I2S_PHYS_ADDR 0x11000000 /* 02 */
693#define AU1500_MAC0_PHYS_ADDR 0x11500000 /* 1 */ 698#define AU1500_MAC0_PHYS_ADDR 0x11500000 /* 1 */
694#define AU1500_MAC1_PHYS_ADDR 0x11510000 /* 1 */ 699#define AU1500_MAC1_PHYS_ADDR 0x11510000 /* 1 */
695#define AU1500_MACEN_PHYS_ADDR 0x11520000 /* 1 */ 700#define AU1500_MACEN_PHYS_ADDR 0x11520000 /* 1 */
@@ -698,6 +703,7 @@ enum soc_au1200_ints {
698#define AU1000_UART2_PHYS_ADDR 0x11300000 /* 0 */ 703#define AU1000_UART2_PHYS_ADDR 0x11300000 /* 0 */
699#define AU1000_UART3_PHYS_ADDR 0x11400000 /* 0123 */ 704#define AU1000_UART3_PHYS_ADDR 0x11400000 /* 0123 */
700#define AU1000_IC1_PHYS_ADDR 0x11800000 /* 01234 */ 705#define AU1000_IC1_PHYS_ADDR 0x11800000 /* 01234 */
706#define AU1000_DMA_PHYS_ADDR 0x14002000 /* 012 */
701#define AU1550_DBDMA_PHYS_ADDR 0x14002000 /* 34 */ 707#define AU1550_DBDMA_PHYS_ADDR 0x14002000 /* 34 */
702#define AU1550_DBDMA_CONF_PHYS_ADDR 0x14003000 /* 34 */ 708#define AU1550_DBDMA_CONF_PHYS_ADDR 0x14003000 /* 34 */
703#define AU1000_MACDMA0_PHYS_ADDR 0x14004000 /* 0123 */ 709#define AU1000_MACDMA0_PHYS_ADDR 0x14004000 /* 0123 */
@@ -707,19 +713,8 @@ enum soc_au1200_ints {
707#ifdef CONFIG_SOC_AU1000 713#ifdef CONFIG_SOC_AU1000
708#define MEM_PHYS_ADDR 0x14000000 714#define MEM_PHYS_ADDR 0x14000000
709#define STATIC_MEM_PHYS_ADDR 0x14001000 715#define STATIC_MEM_PHYS_ADDR 0x14001000
710#define DMA0_PHYS_ADDR 0x14002000
711#define DMA1_PHYS_ADDR 0x14002100
712#define DMA2_PHYS_ADDR 0x14002200
713#define DMA3_PHYS_ADDR 0x14002300
714#define DMA4_PHYS_ADDR 0x14002400
715#define DMA5_PHYS_ADDR 0x14002500
716#define DMA6_PHYS_ADDR 0x14002600
717#define DMA7_PHYS_ADDR 0x14002700
718#define AC97_PHYS_ADDR 0x10000000
719#define USBH_PHYS_ADDR 0x10100000 716#define USBH_PHYS_ADDR 0x10100000
720#define USBD_PHYS_ADDR 0x10200000
721#define IRDA_PHYS_ADDR 0x10300000 717#define IRDA_PHYS_ADDR 0x10300000
722#define I2S_PHYS_ADDR 0x11000000
723#define SSI0_PHYS_ADDR 0x11600000 718#define SSI0_PHYS_ADDR 0x11600000
724#define SSI1_PHYS_ADDR 0x11680000 719#define SSI1_PHYS_ADDR 0x11680000
725#define SYS_PHYS_ADDR 0x11900000 720#define SYS_PHYS_ADDR 0x11900000
@@ -733,19 +728,8 @@ enum soc_au1200_ints {
733#ifdef CONFIG_SOC_AU1500 728#ifdef CONFIG_SOC_AU1500
734#define MEM_PHYS_ADDR 0x14000000 729#define MEM_PHYS_ADDR 0x14000000
735#define STATIC_MEM_PHYS_ADDR 0x14001000 730#define STATIC_MEM_PHYS_ADDR 0x14001000
736#define DMA0_PHYS_ADDR 0x14002000
737#define DMA1_PHYS_ADDR 0x14002100
738#define DMA2_PHYS_ADDR 0x14002200
739#define DMA3_PHYS_ADDR 0x14002300
740#define DMA4_PHYS_ADDR 0x14002400
741#define DMA5_PHYS_ADDR 0x14002500
742#define DMA6_PHYS_ADDR 0x14002600
743#define DMA7_PHYS_ADDR 0x14002700
744#define AC97_PHYS_ADDR 0x10000000
745#define USBH_PHYS_ADDR 0x10100000 731#define USBH_PHYS_ADDR 0x10100000
746#define USBD_PHYS_ADDR 0x10200000
747#define PCI_PHYS_ADDR 0x14005000 732#define PCI_PHYS_ADDR 0x14005000
748#define I2S_PHYS_ADDR 0x11000000
749#define GPIO2_PHYS_ADDR 0x11700000 733#define GPIO2_PHYS_ADDR 0x11700000
750#define SYS_PHYS_ADDR 0x11900000 734#define SYS_PHYS_ADDR 0x11900000
751#define PCI_MEM_PHYS_ADDR 0x400000000ULL 735#define PCI_MEM_PHYS_ADDR 0x400000000ULL
@@ -762,21 +746,8 @@ enum soc_au1200_ints {
762#ifdef CONFIG_SOC_AU1100 746#ifdef CONFIG_SOC_AU1100
763#define MEM_PHYS_ADDR 0x14000000 747#define MEM_PHYS_ADDR 0x14000000
764#define STATIC_MEM_PHYS_ADDR 0x14001000 748#define STATIC_MEM_PHYS_ADDR 0x14001000
765#define DMA0_PHYS_ADDR 0x14002000
766#define DMA1_PHYS_ADDR 0x14002100
767#define DMA2_PHYS_ADDR 0x14002200
768#define DMA3_PHYS_ADDR 0x14002300
769#define DMA4_PHYS_ADDR 0x14002400
770#define DMA5_PHYS_ADDR 0x14002500
771#define DMA6_PHYS_ADDR 0x14002600
772#define DMA7_PHYS_ADDR 0x14002700
773#define SD0_PHYS_ADDR 0x10600000
774#define SD1_PHYS_ADDR 0x10680000
775#define AC97_PHYS_ADDR 0x10000000
776#define USBH_PHYS_ADDR 0x10100000 749#define USBH_PHYS_ADDR 0x10100000
777#define USBD_PHYS_ADDR 0x10200000
778#define IRDA_PHYS_ADDR 0x10300000 750#define IRDA_PHYS_ADDR 0x10300000
779#define I2S_PHYS_ADDR 0x11000000
780#define SSI0_PHYS_ADDR 0x11600000 751#define SSI0_PHYS_ADDR 0x11600000
781#define SSI1_PHYS_ADDR 0x11680000 752#define SSI1_PHYS_ADDR 0x11680000
782#define GPIO2_PHYS_ADDR 0x11700000 753#define GPIO2_PHYS_ADDR 0x11700000
@@ -793,7 +764,6 @@ enum soc_au1200_ints {
793#define MEM_PHYS_ADDR 0x14000000 764#define MEM_PHYS_ADDR 0x14000000
794#define STATIC_MEM_PHYS_ADDR 0x14001000 765#define STATIC_MEM_PHYS_ADDR 0x14001000
795#define USBH_PHYS_ADDR 0x14020000 766#define USBH_PHYS_ADDR 0x14020000
796#define USBD_PHYS_ADDR 0x10200000
797#define PCI_PHYS_ADDR 0x14005000 767#define PCI_PHYS_ADDR 0x14005000
798#define GPIO2_PHYS_ADDR 0x11700000 768#define GPIO2_PHYS_ADDR 0x11700000
799#define SYS_PHYS_ADDR 0x11900000 769#define SYS_PHYS_ADDR 0x11900000
@@ -824,8 +794,6 @@ enum soc_au1200_ints {
824#define SYS_PHYS_ADDR 0x11900000 794#define SYS_PHYS_ADDR 0x11900000
825#define PSC0_PHYS_ADDR 0x11A00000 795#define PSC0_PHYS_ADDR 0x11A00000
826#define PSC1_PHYS_ADDR 0x11B00000 796#define PSC1_PHYS_ADDR 0x11B00000
827#define SD0_PHYS_ADDR 0x10600000
828#define SD1_PHYS_ADDR 0x10680000
829#define LCD_PHYS_ADDR 0x15000000 797#define LCD_PHYS_ADDR 0x15000000
830#define SWCNT_PHYS_ADDR 0x1110010C 798#define SWCNT_PHYS_ADDR 0x1110010C
831#define MAEFE_PHYS_ADDR 0x14012000 799#define MAEFE_PHYS_ADDR 0x14012000
@@ -867,9 +835,6 @@ enum soc_au1200_ints {
867/* Au1000 */ 835/* Au1000 */
868#ifdef CONFIG_SOC_AU1000 836#ifdef CONFIG_SOC_AU1000
869 837
870#define UART0_ADDR 0xB1100000
871#define UART3_ADDR 0xB1400000
872
873#define USB_OHCI_BASE 0x10100000 /* phys addr for ioremap */ 838#define USB_OHCI_BASE 0x10100000 /* phys addr for ioremap */
874#define USB_HOST_CONFIG 0xB017FFFC 839#define USB_HOST_CONFIG 0xB017FFFC
875#define FOR_PLATFORM_C_USB_HOST_INT AU1000_USB_HOST_INT 840#define FOR_PLATFORM_C_USB_HOST_INT AU1000_USB_HOST_INT
@@ -878,9 +843,6 @@ enum soc_au1200_ints {
878/* Au1500 */ 843/* Au1500 */
879#ifdef CONFIG_SOC_AU1500 844#ifdef CONFIG_SOC_AU1500
880 845
881#define UART0_ADDR 0xB1100000
882#define UART3_ADDR 0xB1400000
883
884#define USB_OHCI_BASE 0x10100000 /* phys addr for ioremap */ 846#define USB_OHCI_BASE 0x10100000 /* phys addr for ioremap */
885#define USB_HOST_CONFIG 0xB017fffc 847#define USB_HOST_CONFIG 0xB017fffc
886#define FOR_PLATFORM_C_USB_HOST_INT AU1500_USB_HOST_INT 848#define FOR_PLATFORM_C_USB_HOST_INT AU1500_USB_HOST_INT
@@ -889,16 +851,12 @@ enum soc_au1200_ints {
889/* Au1100 */ 851/* Au1100 */
890#ifdef CONFIG_SOC_AU1100 852#ifdef CONFIG_SOC_AU1100
891 853
892#define UART0_ADDR 0xB1100000
893#define UART3_ADDR 0xB1400000
894
895#define USB_OHCI_BASE 0x10100000 /* phys addr for ioremap */ 854#define USB_OHCI_BASE 0x10100000 /* phys addr for ioremap */
896#define USB_HOST_CONFIG 0xB017FFFC 855#define USB_HOST_CONFIG 0xB017FFFC
897#define FOR_PLATFORM_C_USB_HOST_INT AU1100_USB_HOST_INT 856#define FOR_PLATFORM_C_USB_HOST_INT AU1100_USB_HOST_INT
898#endif /* CONFIG_SOC_AU1100 */ 857#endif /* CONFIG_SOC_AU1100 */
899 858
900#ifdef CONFIG_SOC_AU1550 859#ifdef CONFIG_SOC_AU1550
901#define UART0_ADDR 0xB1100000
902 860
903#define USB_OHCI_BASE 0x14020000 /* phys addr for ioremap */ 861#define USB_OHCI_BASE 0x14020000 /* phys addr for ioremap */
904#define USB_OHCI_LEN 0x00060000 862#define USB_OHCI_LEN 0x00060000
@@ -909,8 +867,6 @@ enum soc_au1200_ints {
909 867
910#ifdef CONFIG_SOC_AU1200 868#ifdef CONFIG_SOC_AU1200
911 869
912#define UART0_ADDR 0xB1100000
913
914#define USB_UOC_BASE 0x14020020 870#define USB_UOC_BASE 0x14020020
915#define USB_UOC_LEN 0x20 871#define USB_UOC_LEN 0x20
916#define USB_OHCI_BASE 0x14020100 872#define USB_OHCI_BASE 0x14020100
@@ -1534,12 +1490,6 @@ enum soc_au1200_ints {
1534# define AC97C_RS (1 << 1) 1490# define AC97C_RS (1 << 1)
1535# define AC97C_CE (1 << 0) 1491# define AC97C_CE (1 << 0)
1536 1492
1537/* Secure Digital (SD) Controller */
1538#define SD0_XMIT_FIFO 0xB0600000
1539#define SD0_RECV_FIFO 0xB0600004
1540#define SD1_XMIT_FIFO 0xB0680000
1541#define SD1_RECV_FIFO 0xB0680004
1542
1543#if defined(CONFIG_SOC_AU1500) || defined(CONFIG_SOC_AU1550) 1493#if defined(CONFIG_SOC_AU1500) || defined(CONFIG_SOC_AU1550)
1544/* Au1500 PCI Controller */ 1494/* Au1500 PCI Controller */
1545#define Au1500_CFG_BASE 0xB4005000 /* virtual, KSEG1 addr */ 1495#define Au1500_CFG_BASE 0xB4005000 /* virtual, KSEG1 addr */
diff --git a/arch/mips/include/asm/mach-au1x00/au1000_dma.h b/arch/mips/include/asm/mach-au1x00/au1000_dma.h
index c333b4e1cd4..59f5b55b220 100644
--- a/arch/mips/include/asm/mach-au1x00/au1000_dma.h
+++ b/arch/mips/include/asm/mach-au1x00/au1000_dma.h
@@ -37,10 +37,6 @@
37 37
38#define NUM_AU1000_DMA_CHANNELS 8 38#define NUM_AU1000_DMA_CHANNELS 8
39 39
40/* DMA Channel Base Addresses */
41#define DMA_CHANNEL_BASE 0xB4002000
42#define DMA_CHANNEL_LEN 0x00000100
43
44/* DMA Channel Register Offsets */ 40/* DMA Channel Register Offsets */
45#define DMA_MODE_SET 0x00000000 41#define DMA_MODE_SET 0x00000000
46#define DMA_MODE_READ DMA_MODE_SET 42#define DMA_MODE_READ DMA_MODE_SET