Lennert Buytenhek | c852ac8 | 2006-09-18 23:26:25 +0100 | [diff] [blame] | 1 | /* |
| 2 | * include/asm-arm/arch-iop32x/iop32x.h |
| 3 | * |
| 4 | * Intel IOP32X Chip definitions |
| 5 | * |
| 6 | * Author: Rory Bolt <rorybolt@pacbell.net> |
| 7 | * Copyright (C) 2002 Rory Bolt |
| 8 | * Copyright (C) 2004 Intel Corp. |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License version 2 as |
| 12 | * published by the Free Software Foundation. |
| 13 | */ |
| 14 | |
| 15 | #ifndef __IOP32X_H |
| 16 | #define __IOP32X_H |
| 17 | |
| 18 | /* |
| 19 | * Peripherals that are shared between the iop32x and iop33x but |
| 20 | * located at different addresses. |
| 21 | */ |
Dan Williams | 4ac941d | 2007-01-04 02:14:49 +0100 | [diff] [blame] | 22 | #define IOP3XX_GPIO_REG(reg) (IOP3XX_PERIPHERAL_VIRT_BASE + 0x07c4 + (reg)) |
Lennert Buytenhek | c852ac8 | 2006-09-18 23:26:25 +0100 | [diff] [blame] | 23 | #define IOP3XX_TIMER_REG(reg) (IOP3XX_PERIPHERAL_VIRT_BASE + 0x07e0 + (reg)) |
| 24 | |
| 25 | #include <asm/hardware/iop3xx.h> |
| 26 | |
Dan Williams | e90ddd8 | 2007-05-02 17:59:44 +0100 | [diff] [blame] | 27 | /* ATU Parameters |
| 28 | * set up a 1:1 bus to physical ram relationship |
| 29 | * w/ physical ram on top of pci in the memory map |
| 30 | */ |
| 31 | #define IOP32X_MAX_RAM_SIZE 0x40000000UL |
| 32 | #define IOP3XX_MAX_RAM_SIZE IOP32X_MAX_RAM_SIZE |
| 33 | #define IOP3XX_PCI_LOWER_MEM_BA 0x80000000 |
| 34 | #define IOP32X_PCI_MEM_WINDOW_SIZE 0x04000000 |
| 35 | #define IOP3XX_PCI_MEM_WINDOW_SIZE IOP32X_PCI_MEM_WINDOW_SIZE |
Lennert Buytenhek | c852ac8 | 2006-09-18 23:26:25 +0100 | [diff] [blame] | 36 | |
| 37 | #endif |