aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-2.6.21/pxa-regs-additions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/linux-2.6.21/pxa-regs-additions.patch')
-rw-r--r--recipes/linux/linux-2.6.21/pxa-regs-additions.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.21/pxa-regs-additions.patch b/recipes/linux/linux-2.6.21/pxa-regs-additions.patch
new file mode 100644
index 0000000000..3d32a188bb
--- /dev/null
+++ b/recipes/linux/linux-2.6.21/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)