summaryrefslogtreecommitdiffstats
path: root/target/linux/pxa/patches-2.6.21/001-pxa-regs-additions.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-04-27 16:56:19 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-04-27 16:56:19 +0000
commitc886d2690dae0258d64fef02d8a24c901f7c2d6b (patch)
treedbcd5d214918a932007299fa02556ce313a194be /target/linux/pxa/patches-2.6.21/001-pxa-regs-additions.patch
parent1984be21949bc400d17272b33d7482f0902eec76 (diff)
incomplete Gumstix support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10955 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/pxa/patches-2.6.21/001-pxa-regs-additions.patch')
-rw-r--r--target/linux/pxa/patches-2.6.21/001-pxa-regs-additions.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/pxa/patches-2.6.21/001-pxa-regs-additions.patch b/target/linux/pxa/patches-2.6.21/001-pxa-regs-additions.patch
new file mode 100644
index 000000000..3d32a188b
--- /dev/null
+++ b/target/linux/pxa/patches-2.6.21/001-pxa-regs-additions.patch
@@ -0,0 +1,28 @@
+Index: linux-2.6.21gum/include/asm-arm/arch-pxa/pxa-regs.h
+===================================================================
+--- linux-2.6.21gum.orig/include/asm-arm/arch-pxa/pxa-regs.h
++++ linux-2.6.21gum/include/asm-arm/arch-pxa/pxa-regs.h
+@@ -1316,6 +1316,7 @@
+ #define GPIO77_LCD_ACBIAS 77 /* LCD AC Bias */
+ #define GPIO78_nCS_2 78 /* chip select 2 */
+ #define GPIO79_nCS_3 79 /* chip select 3 */
++#define GPIO79_pSKTSEL 79 /* Socket Select for Card Space (PXA27x) */
+ #define GPIO80_nCS_4 80 /* chip select 4 */
+ #define GPIO81_NSCLK 81 /* NSSP clock */
+ #define GPIO82_NSFRM 82 /* NSSP Frame */
+@@ -1324,6 +1325,7 @@
+ #define GPIO85_nPCE_1 85 /* Card Enable for Card Space (PXA27x) */
+ #define GPIO92_MMCDAT0 92 /* MMC DAT0 (PXA27x) */
+ #define GPIO102_nPCE_1 102 /* PCMCIA (PXA27x) */
++#define GPIO105_nPCE_2 105 /* Card Enable for Card Space (PXA27x) */
+ #define GPIO109_MMCDAT1 109 /* MMC DAT1 (PXA27x) */
+ #define GPIO110_MMCDAT2 110 /* MMC DAT2 (PXA27x) */
+ #define GPIO110_MMCCS0 110 /* MMC Chip Select 0 (PXA27x) */
+@@ -1468,6 +1470,7 @@
+ #define GPIO92_MMCDAT0_MD (92 | GPIO_ALT_FN_1_OUT)
+ #define GPIO102_nPCE_1_MD (102 | GPIO_ALT_FN_1_OUT)
+ #define GPIO104_pSKTSEL_MD (104 | GPIO_ALT_FN_1_OUT)
++#define GPIO105_nPCE_2_MD (105 | GPIO_ALT_FN_1_OUT)
+ #define GPIO109_MMCDAT1_MD (109 | GPIO_ALT_FN_1_OUT)
+ #define GPIO110_MMCDAT2_MD (110 | GPIO_ALT_FN_1_OUT)
+ #define GPIO110_MMCCS0_MD (110 | GPIO_ALT_FN_1_OUT)