git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
include
/
asm-arm
/
arch-ixp2000
/
ixdp2x01.h
diff --git
a/include/asm-arm/arch-ixp2000/ixdp2x01.h
b/include/asm-arm/arch-ixp2000/ixdp2x01.h
index
626ed6b
..
c6d5142
100644
(file)
--- a/
include/asm-arm/arch-ixp2000/ixdp2x01.h
+++ b/
include/asm-arm/arch-ixp2000/ixdp2x01.h
@@
-1,5
+1,5
@@
/*
/*
- * include/asm
/arch
/ixdp2x01.h
+ * include/asm
-arm/arch-ixp2000
/ixdp2x01.h
*
* Platform definitions for IXDP2X01 && IXDP2801 systems
*
*
* Platform definitions for IXDP2X01 && IXDP2801 systems
*
@@
-18,11
+18,11
@@
#define __IXDP2X01_H__
#define IXDP2X01_PHYS_CPLD_BASE 0xc6024000
#define __IXDP2X01_H__
#define IXDP2X01_PHYS_CPLD_BASE 0xc6024000
-#define IXDP2X01_VIRT_CPLD_BASE 0xfe
fdd
000
-#define IXDP2X01_CPLD_REGION_SIZE 0x
1
000
+#define IXDP2X01_VIRT_CPLD_BASE 0xfe
000
000
+#define IXDP2X01_CPLD_REGION_SIZE 0x
00100
000
-#define IXDP2X01_CPLD_VIRT_REG(reg) (volatile u
32
*)(IXDP2X01_VIRT_CPLD_BASE | reg)
-#define IXDP2X01_CPLD_PHYS_REG(reg) (
volatile u32*)(
IXDP2X01_PHYS_CPLD_BASE | reg)
+#define IXDP2X01_CPLD_VIRT_REG(reg) (volatile u
nsigned long
*)(IXDP2X01_VIRT_CPLD_BASE | reg)
+#define IXDP2X01_CPLD_PHYS_REG(reg) (IXDP2X01_PHYS_CPLD_BASE | reg)
#define IXDP2X01_UART1_VIRT_BASE IXDP2X01_CPLD_VIRT_REG(0x40)
#define IXDP2X01_UART1_PHYS_BASE IXDP2X01_CPLD_PHYS_REG(0x40)
#define IXDP2X01_UART1_VIRT_BASE IXDP2X01_CPLD_VIRT_REG(0x40)
#define IXDP2X01_UART1_PHYS_BASE IXDP2X01_CPLD_PHYS_REG(0x40)
@@
-50,4
+50,8
@@
#define IXDP2X01_UART_CLK 1843200
#define IXDP2X01_UART_CLK 1843200
+#define IXDP2X01_GPIO_I2C_ENABLE 0x02
+#define IXDP2X01_GPIO_SCL 0x07
+#define IXDP2X01_GPIO_SDA 0x06
+
#endif /* __IXDP2x01_H__ */
#endif /* __IXDP2x01_H__ */