diff options
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/common.h | 5 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/entry-macro-gic.S | 89 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/entry-macro-intc.S | 39 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/entry-macro.S | 30 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/irqs.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/sh73a0.h | 446 |
6 files changed, 588 insertions, 24 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h index efeef778a875..d8f91a5f692f 100644 --- a/arch/arm/mach-shmobile/include/mach/common.h +++ b/arch/arm/mach-shmobile/include/mach/common.h | |||
@@ -30,4 +30,9 @@ extern void sh7372_pinmux_init(void); | |||
30 | extern struct clk sh7372_extal1_clk; | 30 | extern struct clk sh7372_extal1_clk; |
31 | extern struct clk sh7372_extal2_clk; | 31 | extern struct clk sh7372_extal2_clk; |
32 | 32 | ||
33 | extern void sh73a0_add_early_devices(void); | ||
34 | extern void sh73a0_add_standard_devices(void); | ||
35 | extern void sh73a0_clock_init(void); | ||
36 | extern void sh73a0_pinmux_init(void); | ||
37 | |||
33 | #endif /* __ARCH_MACH_COMMON_H */ | 38 | #endif /* __ARCH_MACH_COMMON_H */ |
diff --git a/arch/arm/mach-shmobile/include/mach/entry-macro-gic.S b/arch/arm/mach-shmobile/include/mach/entry-macro-gic.S new file mode 100644 index 000000000000..50b1f16d54a2 --- /dev/null +++ b/arch/arm/mach-shmobile/include/mach/entry-macro-gic.S | |||
@@ -0,0 +1,89 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2010 Renesas Solutions Corp. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; version 2 of the License. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program; if not, write to the Free Software | ||
15 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
16 | */ | ||
17 | #include <mach/hardware.h> | ||
18 | #include <asm/hardware/gic.h> | ||
19 | |||
20 | .macro disable_fiq | ||
21 | .endm | ||
22 | |||
23 | .macro get_irqnr_preamble, base, tmp | ||
24 | ldr \base, =(0xf0000100) | ||
25 | .endm | ||
26 | |||
27 | .macro arch_ret_to_user, tmp1, tmp2 | ||
28 | .endm | ||
29 | |||
30 | /* | ||
31 | * The interrupt numbering scheme is defined in the | ||
32 | * interrupt controller spec. To wit: | ||
33 | * | ||
34 | * Interrupts 0-15 are IPI | ||
35 | * 16-28 are reserved | ||
36 | * 29-31 are local. We allow 30 to be used for the watchdog. | ||
37 | * 32-1020 are global | ||
38 | * 1021-1022 are reserved | ||
39 | * 1023 is "spurious" (no interrupt) | ||
40 | * | ||
41 | * For now, we ignore all local interrupts so only return an | ||
42 | * interrupt if it's between 30 and 1020. The test_for_ipi | ||
43 | * routine below will pick up on IPIs. | ||
44 | * | ||
45 | * A simple read from the controller will tell us the number of | ||
46 | * the highest priority enabled interrupt. We then just need to | ||
47 | * check whether it is in the valid range for an IRQ (30-1020 | ||
48 | * inclusive). | ||
49 | */ | ||
50 | |||
51 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp | ||
52 | |||
53 | ldr \irqstat, [\base, #GIC_CPU_INTACK] | ||
54 | /* bits 12-10 = src CPU, 9-0 = int # */ | ||
55 | |||
56 | ldr \tmp, =1021 | ||
57 | bic \irqnr, \irqstat, #0x1c00 | ||
58 | cmp \irqnr, #29 | ||
59 | cmpcc \irqnr, \irqnr | ||
60 | cmpne \irqnr, \tmp | ||
61 | cmpcs \irqnr, \irqnr | ||
62 | |||
63 | .endm | ||
64 | |||
65 | /* | ||
66 | * We assume that irqstat (the raw value of the IRQ acknowledge | ||
67 | * register) is preserved from the macro above. | ||
68 | * If there is an IPI, we immediately signal end of interrupt on the | ||
69 | * controller, since this requires the original irqstat value which | ||
70 | * we won't easily be able to recreate later. | ||
71 | */ | ||
72 | |||
73 | .macro test_for_ipi, irqnr, irqstat, base, tmp | ||
74 | bic \irqnr, \irqstat, #0x1c00 | ||
75 | cmp \irqnr, #16 | ||
76 | strcc \irqstat, [\base, #GIC_CPU_EOI] | ||
77 | cmpcs \irqnr, \irqnr | ||
78 | .endm | ||
79 | |||
80 | /* As above, this assumes that irqstat and base are preserved.. */ | ||
81 | |||
82 | .macro test_for_ltirq, irqnr, irqstat, base, tmp | ||
83 | bic \irqnr, \irqstat, #0x1c00 | ||
84 | mov \tmp, #0 | ||
85 | cmp \irqnr, #29 | ||
86 | moveq \tmp, #1 | ||
87 | streq \irqstat, [\base, #GIC_CPU_EOI] | ||
88 | cmp \tmp, #0 | ||
89 | .endm | ||
diff --git a/arch/arm/mach-shmobile/include/mach/entry-macro-intc.S b/arch/arm/mach-shmobile/include/mach/entry-macro-intc.S new file mode 100644 index 000000000000..a285d13c7416 --- /dev/null +++ b/arch/arm/mach-shmobile/include/mach/entry-macro-intc.S | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2008 Renesas Solutions Corp. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; version 2 of the License. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program; if not, write to the Free Software | ||
15 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
16 | */ | ||
17 | #include <mach/hardware.h> | ||
18 | #include <mach/irqs.h> | ||
19 | |||
20 | .macro disable_fiq | ||
21 | .endm | ||
22 | |||
23 | .macro get_irqnr_preamble, base, tmp | ||
24 | ldr \base, =INTFLGA | ||
25 | .endm | ||
26 | |||
27 | .macro arch_ret_to_user, tmp1, tmp2 | ||
28 | .endm | ||
29 | |||
30 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp | ||
31 | ldr \irqnr, [\base] | ||
32 | cmp \irqnr, #0 | ||
33 | beq 1000f | ||
34 | /* intevt to irq number */ | ||
35 | lsr \irqnr, \irqnr, #0x5 | ||
36 | subs \irqnr, \irqnr, #16 | ||
37 | |||
38 | 1000: | ||
39 | .endm | ||
diff --git a/arch/arm/mach-shmobile/include/mach/entry-macro.S b/arch/arm/mach-shmobile/include/mach/entry-macro.S index a285d13c7416..26e401167605 100644 --- a/arch/arm/mach-shmobile/include/mach/entry-macro.S +++ b/arch/arm/mach-shmobile/include/mach/entry-macro.S | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2008 Renesas Solutions Corp. | 2 | * Copyright (C) 2010 Paul Mundt |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify | 4 | * This program is free software; you can redistribute it and/or modify |
5 | * it under the terms of the GNU General Public License as published by | 5 | * it under the terms of the GNU General Public License as published by |
@@ -14,26 +14,8 @@ | |||
14 | * along with this program; if not, write to the Free Software | 14 | * along with this program; if not, write to the Free Software |
15 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 15 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
16 | */ | 16 | */ |
17 | #include <mach/hardware.h> | 17 | #if defined(CONFIG_ARM_GIC) |
18 | #include <mach/irqs.h> | 18 | #include <mach/entry-macro-gic.S> |
19 | 19 | #else | |
20 | .macro disable_fiq | 20 | #include <mach/entry-macro-intc.S> |
21 | .endm | 21 | #endif |
22 | |||
23 | .macro get_irqnr_preamble, base, tmp | ||
24 | ldr \base, =INTFLGA | ||
25 | .endm | ||
26 | |||
27 | .macro arch_ret_to_user, tmp1, tmp2 | ||
28 | .endm | ||
29 | |||
30 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp | ||
31 | ldr \irqnr, [\base] | ||
32 | cmp \irqnr, #0 | ||
33 | beq 1000f | ||
34 | /* intevt to irq number */ | ||
35 | lsr \irqnr, \irqnr, #0x5 | ||
36 | subs \irqnr, \irqnr, #16 | ||
37 | |||
38 | 1000: | ||
39 | .endm | ||
diff --git a/arch/arm/mach-shmobile/include/mach/irqs.h b/arch/arm/mach-shmobile/include/mach/irqs.h index fa15b5f8a001..09e0ab7d343e 100644 --- a/arch/arm/mach-shmobile/include/mach/irqs.h +++ b/arch/arm/mach-shmobile/include/mach/irqs.h | |||
@@ -3,6 +3,9 @@ | |||
3 | 3 | ||
4 | #define NR_IRQS 512 | 4 | #define NR_IRQS 512 |
5 | 5 | ||
6 | /* GIC */ | ||
7 | #define gic_spi(nr) ((nr) + 32) | ||
8 | |||
6 | /* INTCA */ | 9 | /* INTCA */ |
7 | #define evt2irq(evt) (((evt) >> 5) - 16) | 10 | #define evt2irq(evt) (((evt) >> 5) - 16) |
8 | #define irq2evt(irq) (((irq) + 16) << 5) | 11 | #define irq2evt(irq) (((irq) + 16) << 5) |
diff --git a/arch/arm/mach-shmobile/include/mach/sh73a0.h b/arch/arm/mach-shmobile/include/mach/sh73a0.h new file mode 100644 index 000000000000..8a6593964402 --- /dev/null +++ b/arch/arm/mach-shmobile/include/mach/sh73a0.h | |||
@@ -0,0 +1,446 @@ | |||
1 | #ifndef __ASM_SH73A0_H__ | ||
2 | #define __ASM_SH73A0_H__ | ||
3 | |||
4 | /* Pin Function Controller: | ||
5 | * GPIO_FN_xx - GPIO used to select pin function and MSEL switch | ||
6 | * GPIO_PORTxx - GPIO mapped to real I/O pin on CPU | ||
7 | */ | ||
8 | enum { | ||
9 | /* Hardware manual Table 25-1 (GPIO) */ | ||
10 | GPIO_PORT0, GPIO_PORT1, GPIO_PORT2, GPIO_PORT3, GPIO_PORT4, | ||
11 | GPIO_PORT5, GPIO_PORT6, GPIO_PORT7, GPIO_PORT8, GPIO_PORT9, | ||
12 | |||
13 | GPIO_PORT10, GPIO_PORT11, GPIO_PORT12, GPIO_PORT13, GPIO_PORT14, | ||
14 | GPIO_PORT15, GPIO_PORT16, GPIO_PORT17, GPIO_PORT18, GPIO_PORT19, | ||
15 | |||
16 | GPIO_PORT20, GPIO_PORT21, GPIO_PORT22, GPIO_PORT23, GPIO_PORT24, | ||
17 | GPIO_PORT25, GPIO_PORT26, GPIO_PORT27, GPIO_PORT28, GPIO_PORT29, | ||
18 | |||
19 | GPIO_PORT30, GPIO_PORT31, GPIO_PORT32, GPIO_PORT33, GPIO_PORT34, | ||
20 | GPIO_PORT35, GPIO_PORT36, GPIO_PORT37, GPIO_PORT38, GPIO_PORT39, | ||
21 | |||
22 | GPIO_PORT40, GPIO_PORT41, GPIO_PORT42, GPIO_PORT43, GPIO_PORT44, | ||
23 | GPIO_PORT45, GPIO_PORT46, GPIO_PORT47, GPIO_PORT48, GPIO_PORT49, | ||
24 | |||
25 | GPIO_PORT50, GPIO_PORT51, GPIO_PORT52, GPIO_PORT53, GPIO_PORT54, | ||
26 | GPIO_PORT55, GPIO_PORT56, GPIO_PORT57, GPIO_PORT58, GPIO_PORT59, | ||
27 | |||
28 | GPIO_PORT60, GPIO_PORT61, GPIO_PORT62, GPIO_PORT63, GPIO_PORT64, | ||
29 | GPIO_PORT65, GPIO_PORT66, GPIO_PORT67, GPIO_PORT68, GPIO_PORT69, | ||
30 | |||
31 | GPIO_PORT70, GPIO_PORT71, GPIO_PORT72, GPIO_PORT73, GPIO_PORT74, | ||
32 | GPIO_PORT75, GPIO_PORT76, GPIO_PORT77, GPIO_PORT78, GPIO_PORT79, | ||
33 | |||
34 | GPIO_PORT80, GPIO_PORT81, GPIO_PORT82, GPIO_PORT83, GPIO_PORT84, | ||
35 | GPIO_PORT85, GPIO_PORT86, GPIO_PORT87, GPIO_PORT88, GPIO_PORT89, | ||
36 | |||
37 | GPIO_PORT90, GPIO_PORT91, GPIO_PORT92, GPIO_PORT93, GPIO_PORT94, | ||
38 | GPIO_PORT95, GPIO_PORT96, GPIO_PORT97, GPIO_PORT98, GPIO_PORT99, | ||
39 | |||
40 | GPIO_PORT100, GPIO_PORT101, GPIO_PORT102, GPIO_PORT103, GPIO_PORT104, | ||
41 | GPIO_PORT105, GPIO_PORT106, GPIO_PORT107, GPIO_PORT108, GPIO_PORT109, | ||
42 | |||
43 | GPIO_PORT110, GPIO_PORT111, GPIO_PORT112, GPIO_PORT113, GPIO_PORT114, | ||
44 | GPIO_PORT115, GPIO_PORT116, GPIO_PORT117, GPIO_PORT118, | ||
45 | |||
46 | GPIO_PORT128, GPIO_PORT129, | ||
47 | |||
48 | GPIO_PORT130, GPIO_PORT131, GPIO_PORT132, GPIO_PORT133, GPIO_PORT134, | ||
49 | GPIO_PORT135, GPIO_PORT136, GPIO_PORT137, GPIO_PORT138, GPIO_PORT139, | ||
50 | |||
51 | GPIO_PORT140, GPIO_PORT141, GPIO_PORT142, GPIO_PORT143, GPIO_PORT144, | ||
52 | GPIO_PORT145, GPIO_PORT146, GPIO_PORT147, GPIO_PORT148, GPIO_PORT149, | ||
53 | |||
54 | GPIO_PORT150, GPIO_PORT151, GPIO_PORT152, GPIO_PORT153, GPIO_PORT154, | ||
55 | GPIO_PORT155, GPIO_PORT156, GPIO_PORT157, GPIO_PORT158, GPIO_PORT159, | ||
56 | |||
57 | GPIO_PORT160, GPIO_PORT161, GPIO_PORT162, GPIO_PORT163, GPIO_PORT164, | ||
58 | |||
59 | GPIO_PORT192, GPIO_PORT193, GPIO_PORT194, | ||
60 | GPIO_PORT195, GPIO_PORT196, GPIO_PORT197, GPIO_PORT198, GPIO_PORT199, | ||
61 | |||
62 | GPIO_PORT200, GPIO_PORT201, GPIO_PORT202, GPIO_PORT203, GPIO_PORT204, | ||
63 | GPIO_PORT205, GPIO_PORT206, GPIO_PORT207, GPIO_PORT208, GPIO_PORT209, | ||
64 | |||
65 | GPIO_PORT210, GPIO_PORT211, GPIO_PORT212, GPIO_PORT213, GPIO_PORT214, | ||
66 | GPIO_PORT215, GPIO_PORT216, GPIO_PORT217, GPIO_PORT218, GPIO_PORT219, | ||
67 | |||
68 | GPIO_PORT220, GPIO_PORT221, GPIO_PORT222, GPIO_PORT223, GPIO_PORT224, | ||
69 | GPIO_PORT225, GPIO_PORT226, GPIO_PORT227, GPIO_PORT228, GPIO_PORT229, | ||
70 | |||
71 | GPIO_PORT230, GPIO_PORT231, GPIO_PORT232, GPIO_PORT233, GPIO_PORT234, | ||
72 | GPIO_PORT235, GPIO_PORT236, GPIO_PORT237, GPIO_PORT238, GPIO_PORT239, | ||
73 | |||
74 | GPIO_PORT240, GPIO_PORT241, GPIO_PORT242, GPIO_PORT243, GPIO_PORT244, | ||
75 | GPIO_PORT245, GPIO_PORT246, GPIO_PORT247, GPIO_PORT248, GPIO_PORT249, | ||
76 | |||
77 | GPIO_PORT250, GPIO_PORT251, GPIO_PORT252, GPIO_PORT253, GPIO_PORT254, | ||
78 | GPIO_PORT255, GPIO_PORT256, GPIO_PORT257, GPIO_PORT258, GPIO_PORT259, | ||
79 | |||
80 | GPIO_PORT260, GPIO_PORT261, GPIO_PORT262, GPIO_PORT263, GPIO_PORT264, | ||
81 | GPIO_PORT265, GPIO_PORT266, GPIO_PORT267, GPIO_PORT268, GPIO_PORT269, | ||
82 | |||
83 | GPIO_PORT270, GPIO_PORT271, GPIO_PORT272, GPIO_PORT273, GPIO_PORT274, | ||
84 | GPIO_PORT275, GPIO_PORT276, GPIO_PORT277, GPIO_PORT278, GPIO_PORT279, | ||
85 | |||
86 | GPIO_PORT280, GPIO_PORT281, GPIO_PORT282, | ||
87 | |||
88 | GPIO_PORT288, GPIO_PORT289, | ||
89 | |||
90 | GPIO_PORT290, GPIO_PORT291, GPIO_PORT292, GPIO_PORT293, GPIO_PORT294, | ||
91 | GPIO_PORT295, GPIO_PORT296, GPIO_PORT297, GPIO_PORT298, GPIO_PORT299, | ||
92 | |||
93 | GPIO_PORT300, GPIO_PORT301, GPIO_PORT302, GPIO_PORT303, GPIO_PORT304, | ||
94 | GPIO_PORT305, GPIO_PORT306, GPIO_PORT307, GPIO_PORT308, GPIO_PORT309, | ||
95 | |||
96 | /* Table 25-1 (Function 0-7) */ | ||
97 | GPIO_FN_VBUS_0, | ||
98 | GPIO_FN_GPI0, | ||
99 | GPIO_FN_GPI1, | ||
100 | GPIO_FN_GPI2, | ||
101 | GPIO_FN_GPI3, | ||
102 | GPIO_FN_GPI4, | ||
103 | GPIO_FN_GPI5, | ||
104 | GPIO_FN_GPI6, | ||
105 | GPIO_FN_GPI7, | ||
106 | GPIO_FN_SCIFA7_RXD, | ||
107 | GPIO_FN_SCIFA7_CTS_, | ||
108 | GPIO_FN_GPO7, GPIO_FN_MFG0_OUT2, | ||
109 | GPIO_FN_GPO6, GPIO_FN_MFG1_OUT2, | ||
110 | GPIO_FN_GPO5, GPIO_FN_SCIFA0_SCK, GPIO_FN_FSICOSLDT3, \ | ||
111 | GPIO_FN_PORT16_VIO_CKOR, | ||
112 | GPIO_FN_SCIFA0_TXD, | ||
113 | GPIO_FN_SCIFA7_TXD, | ||
114 | GPIO_FN_SCIFA7_RTS_, GPIO_FN_PORT19_VIO_CKO2, | ||
115 | GPIO_FN_GPO0, | ||
116 | GPIO_FN_GPO1, | ||
117 | GPIO_FN_GPO2, GPIO_FN_STATUS0, | ||
118 | GPIO_FN_GPO3, GPIO_FN_STATUS1, | ||
119 | GPIO_FN_GPO4, GPIO_FN_STATUS2, | ||
120 | GPIO_FN_VINT, | ||
121 | GPIO_FN_TCKON, | ||
122 | GPIO_FN_XDVFS1, GPIO_FN_PORT27_I2C_SCL2, GPIO_FN_PORT27_I2C_SCL3, \ | ||
123 | GPIO_FN_MFG0_OUT1, GPIO_FN_PORT27_IROUT, | ||
124 | GPIO_FN_XDVFS2, GPIO_FN_PORT28_I2C_SDA2, GPIO_FN_PORT28_I2C_SDA3, \ | ||
125 | GPIO_FN_PORT28_TPU1TO1, | ||
126 | GPIO_FN_SIM_RST, GPIO_FN_PORT29_TPU1TO1, | ||
127 | GPIO_FN_SIM_CLK, GPIO_FN_PORT30_VIO_CKOR, | ||
128 | GPIO_FN_SIM_D, GPIO_FN_PORT31_IROUT, | ||
129 | GPIO_FN_SCIFA4_TXD, | ||
130 | GPIO_FN_SCIFA4_RXD, GPIO_FN_XWUP, | ||
131 | GPIO_FN_SCIFA4_RTS_, | ||
132 | GPIO_FN_SCIFA4_CTS_, | ||
133 | GPIO_FN_FSIBOBT, GPIO_FN_FSIBIBT, | ||
134 | GPIO_FN_FSIBOLR, GPIO_FN_FSIBILR, | ||
135 | GPIO_FN_FSIBOSLD, | ||
136 | GPIO_FN_FSIBISLD, | ||
137 | GPIO_FN_VACK, | ||
138 | GPIO_FN_XTAL1L, | ||
139 | GPIO_FN_SCIFA0_RTS_, GPIO_FN_FSICOSLDT2, | ||
140 | GPIO_FN_SCIFA0_RXD, | ||
141 | GPIO_FN_SCIFA0_CTS_, GPIO_FN_FSICOSLDT1, | ||
142 | GPIO_FN_FSICOBT, GPIO_FN_FSICIBT, GPIO_FN_FSIDOBT, GPIO_FN_FSIDIBT, | ||
143 | GPIO_FN_FSICOLR, GPIO_FN_FSICILR, GPIO_FN_FSIDOLR, GPIO_FN_FSIDILR, | ||
144 | GPIO_FN_FSICOSLD, GPIO_FN_PORT47_FSICSPDIF, | ||
145 | GPIO_FN_FSICISLD, GPIO_FN_FSIDISLD, | ||
146 | GPIO_FN_FSIACK, GPIO_FN_PORT49_IRDA_OUT, GPIO_FN_PORT49_IROUT, \ | ||
147 | GPIO_FN_FSIAOMC, | ||
148 | GPIO_FN_FSIAOLR, GPIO_FN_BBIF2_TSYNC2, GPIO_FN_TPU2TO2, GPIO_FN_FSIAILR, | ||
149 | |||
150 | GPIO_FN_FSIAOBT, GPIO_FN_BBIF2_TSCK2, GPIO_FN_TPU2TO3, GPIO_FN_FSIAIBT, | ||
151 | GPIO_FN_FSIAOSLD, GPIO_FN_BBIF2_TXD2, | ||
152 | GPIO_FN_FSIASPDIF, GPIO_FN_PORT53_IRDA_IN, GPIO_FN_TPU3TO3, \ | ||
153 | GPIO_FN_FSIBSPDIF, GPIO_FN_PORT53_FSICSPDIF, | ||
154 | GPIO_FN_FSIBCK, GPIO_FN_PORT54_IRDA_FIRSEL, GPIO_FN_TPU3TO2, \ | ||
155 | GPIO_FN_FSIBOMC, GPIO_FN_FSICCK, GPIO_FN_FSICOMC, | ||
156 | GPIO_FN_FSIAISLD, GPIO_FN_TPU0TO0, | ||
157 | GPIO_FN_A0, GPIO_FN_BS_, | ||
158 | GPIO_FN_A12, GPIO_FN_PORT58_KEYOUT7, GPIO_FN_TPU4TO2, | ||
159 | GPIO_FN_A13, GPIO_FN_PORT59_KEYOUT6, GPIO_FN_TPU0TO1, | ||
160 | GPIO_FN_A14, GPIO_FN_KEYOUT5, | ||
161 | GPIO_FN_A15, GPIO_FN_KEYOUT4, | ||
162 | GPIO_FN_A16, GPIO_FN_KEYOUT3, GPIO_FN_MSIOF0_SS1, | ||
163 | GPIO_FN_A17, GPIO_FN_KEYOUT2, GPIO_FN_MSIOF0_TSYNC, | ||
164 | GPIO_FN_A18, GPIO_FN_KEYOUT1, GPIO_FN_MSIOF0_TSCK, | ||
165 | GPIO_FN_A19, GPIO_FN_KEYOUT0, GPIO_FN_MSIOF0_TXD, | ||
166 | GPIO_FN_A20, GPIO_FN_KEYIN0, GPIO_FN_MSIOF0_RSCK, | ||
167 | GPIO_FN_A21, GPIO_FN_KEYIN1, GPIO_FN_MSIOF0_RSYNC, | ||
168 | GPIO_FN_A22, GPIO_FN_KEYIN2, GPIO_FN_MSIOF0_MCK0, | ||
169 | GPIO_FN_A23, GPIO_FN_KEYIN3, GPIO_FN_MSIOF0_MCK1, | ||
170 | GPIO_FN_A24, GPIO_FN_KEYIN4, GPIO_FN_MSIOF0_RXD, | ||
171 | GPIO_FN_A25, GPIO_FN_KEYIN5, GPIO_FN_MSIOF0_SS2, | ||
172 | GPIO_FN_A26, GPIO_FN_KEYIN6, | ||
173 | GPIO_FN_KEYIN7, | ||
174 | GPIO_FN_D0_NAF0, | ||
175 | GPIO_FN_D1_NAF1, | ||
176 | GPIO_FN_D2_NAF2, | ||
177 | GPIO_FN_D3_NAF3, | ||
178 | GPIO_FN_D4_NAF4, | ||
179 | GPIO_FN_D5_NAF5, | ||
180 | GPIO_FN_D6_NAF6, | ||
181 | GPIO_FN_D7_NAF7, | ||
182 | GPIO_FN_D8_NAF8, | ||
183 | GPIO_FN_D9_NAF9, | ||
184 | GPIO_FN_D10_NAF10, | ||
185 | GPIO_FN_D11_NAF11, | ||
186 | GPIO_FN_D12_NAF12, | ||
187 | GPIO_FN_D13_NAF13, | ||
188 | GPIO_FN_D14_NAF14, | ||
189 | GPIO_FN_D15_NAF15, | ||
190 | GPIO_FN_CS4_, | ||
191 | GPIO_FN_CS5A_, GPIO_FN_PORT91_RDWR, | ||
192 | GPIO_FN_CS5B_, GPIO_FN_FCE1_, | ||
193 | GPIO_FN_CS6B_, GPIO_FN_DACK0, | ||
194 | GPIO_FN_FCE0_, GPIO_FN_CS6A_, | ||
195 | GPIO_FN_WAIT_, GPIO_FN_DREQ0, | ||
196 | GPIO_FN_RD__FSC, | ||
197 | GPIO_FN_WE0__FWE, GPIO_FN_RDWR_FWE, | ||
198 | GPIO_FN_WE1_, | ||
199 | GPIO_FN_FRB, | ||
200 | GPIO_FN_CKO, | ||
201 | GPIO_FN_NBRSTOUT_, | ||
202 | GPIO_FN_NBRST_, | ||
203 | GPIO_FN_BBIF2_TXD, | ||
204 | GPIO_FN_BBIF2_RXD, | ||
205 | GPIO_FN_BBIF2_SYNC, | ||
206 | GPIO_FN_BBIF2_SCK, | ||
207 | GPIO_FN_SCIFA3_CTS_, GPIO_FN_MFG3_IN2, | ||
208 | GPIO_FN_SCIFA3_RXD, GPIO_FN_MFG3_IN1, | ||
209 | GPIO_FN_BBIF1_SS2, GPIO_FN_SCIFA3_RTS_, GPIO_FN_MFG3_OUT1, | ||
210 | GPIO_FN_SCIFA3_TXD, | ||
211 | GPIO_FN_HSI_RX_DATA, GPIO_FN_BBIF1_RXD, | ||
212 | GPIO_FN_HSI_TX_WAKE, GPIO_FN_BBIF1_TSCK, | ||
213 | GPIO_FN_HSI_TX_DATA, GPIO_FN_BBIF1_TSYNC, | ||
214 | GPIO_FN_HSI_TX_READY, GPIO_FN_BBIF1_TXD, | ||
215 | GPIO_FN_HSI_RX_READY, GPIO_FN_BBIF1_RSCK, GPIO_FN_PORT115_I2C_SCL2, \ | ||
216 | GPIO_FN_PORT115_I2C_SCL3, | ||
217 | GPIO_FN_HSI_RX_WAKE, GPIO_FN_BBIF1_RSYNC, GPIO_FN_PORT116_I2C_SDA2, \ | ||
218 | GPIO_FN_PORT116_I2C_SDA3, | ||
219 | GPIO_FN_HSI_RX_FLAG, GPIO_FN_BBIF1_SS1, GPIO_FN_BBIF1_FLOW, | ||
220 | GPIO_FN_HSI_TX_FLAG, | ||
221 | GPIO_FN_VIO_VD, GPIO_FN_PORT128_LCD2VSYN, GPIO_FN_VIO2_VD, \ | ||
222 | GPIO_FN_LCD2D0, | ||
223 | |||
224 | GPIO_FN_VIO_HD, GPIO_FN_PORT129_LCD2HSYN, GPIO_FN_PORT129_LCD2CS_, \ | ||
225 | GPIO_FN_VIO2_HD, GPIO_FN_LCD2D1, | ||
226 | GPIO_FN_VIO_D0, GPIO_FN_PORT130_MSIOF2_RXD, GPIO_FN_LCD2D10, | ||
227 | GPIO_FN_VIO_D1, GPIO_FN_PORT131_KEYOUT6, GPIO_FN_PORT131_MSIOF2_SS1, \ | ||
228 | GPIO_FN_PORT131_KEYOUT11, GPIO_FN_LCD2D11, | ||
229 | GPIO_FN_VIO_D2, GPIO_FN_PORT132_KEYOUT7, GPIO_FN_PORT132_MSIOF2_SS2, \ | ||
230 | GPIO_FN_PORT132_KEYOUT10, GPIO_FN_LCD2D12, | ||
231 | GPIO_FN_VIO_D3, GPIO_FN_MSIOF2_TSYNC, GPIO_FN_LCD2D13, | ||
232 | GPIO_FN_VIO_D4, GPIO_FN_MSIOF2_TXD, GPIO_FN_LCD2D14, | ||
233 | GPIO_FN_VIO_D5, GPIO_FN_MSIOF2_TSCK, GPIO_FN_LCD2D15, | ||
234 | GPIO_FN_VIO_D6, GPIO_FN_PORT136_KEYOUT8, GPIO_FN_LCD2D16, | ||
235 | GPIO_FN_VIO_D7, GPIO_FN_PORT137_KEYOUT9, GPIO_FN_LCD2D17, | ||
236 | GPIO_FN_VIO_D8, GPIO_FN_PORT138_KEYOUT8, GPIO_FN_VIO2_D0, \ | ||
237 | GPIO_FN_LCD2D6, | ||
238 | GPIO_FN_VIO_D9, GPIO_FN_PORT139_KEYOUT9, GPIO_FN_VIO2_D1, \ | ||
239 | GPIO_FN_LCD2D7, | ||
240 | GPIO_FN_VIO_D10, GPIO_FN_TPU0TO2, GPIO_FN_VIO2_D2, GPIO_FN_LCD2D8, | ||
241 | GPIO_FN_VIO_D11, GPIO_FN_TPU0TO3, GPIO_FN_VIO2_D3, GPIO_FN_LCD2D9, | ||
242 | GPIO_FN_VIO_D12, GPIO_FN_PORT142_KEYOUT10, GPIO_FN_VIO2_D4, \ | ||
243 | GPIO_FN_LCD2D2, | ||
244 | GPIO_FN_VIO_D13, GPIO_FN_PORT143_KEYOUT11, GPIO_FN_PORT143_KEYOUT6, \ | ||
245 | GPIO_FN_VIO2_D5, GPIO_FN_LCD2D3, | ||
246 | GPIO_FN_VIO_D14, GPIO_FN_PORT144_KEYOUT7, GPIO_FN_VIO2_D6, \ | ||
247 | GPIO_FN_LCD2D4, | ||
248 | GPIO_FN_VIO_D15, GPIO_FN_TPU1TO3, GPIO_FN_PORT145_LCD2DISP, \ | ||
249 | GPIO_FN_PORT145_LCD2RS, GPIO_FN_VIO2_D7, GPIO_FN_LCD2D5, | ||
250 | GPIO_FN_VIO_CLK, GPIO_FN_LCD2DCK, GPIO_FN_PORT146_LCD2WR_, \ | ||
251 | GPIO_FN_VIO2_CLK, GPIO_FN_LCD2D18, | ||
252 | GPIO_FN_VIO_FIELD, GPIO_FN_LCD2RD_, GPIO_FN_VIO2_FIELD, GPIO_FN_LCD2D19, | ||
253 | GPIO_FN_VIO_CKO, | ||
254 | GPIO_FN_A27, GPIO_FN_PORT149_RDWR, GPIO_FN_MFG0_IN1, \ | ||
255 | GPIO_FN_PORT149_KEYOUT9, | ||
256 | GPIO_FN_MFG0_IN2, | ||
257 | GPIO_FN_TS_SPSYNC3, GPIO_FN_MSIOF2_RSCK, | ||
258 | GPIO_FN_TS_SDAT3, GPIO_FN_MSIOF2_RSYNC, | ||
259 | GPIO_FN_TPU1TO2, GPIO_FN_TS_SDEN3, GPIO_FN_PORT153_MSIOF2_SS1, | ||
260 | GPIO_FN_SCIFA2_TXD1, GPIO_FN_MSIOF2_MCK0, | ||
261 | GPIO_FN_SCIFA2_RXD1, GPIO_FN_MSIOF2_MCK1, | ||
262 | GPIO_FN_SCIFA2_RTS1_, GPIO_FN_PORT156_MSIOF2_SS2, | ||
263 | GPIO_FN_SCIFA2_CTS1_, GPIO_FN_PORT157_MSIOF2_RXD, | ||
264 | GPIO_FN_DINT_, GPIO_FN_SCIFA2_SCK1, GPIO_FN_TS_SCK3, | ||
265 | GPIO_FN_PORT159_SCIFB_SCK, GPIO_FN_PORT159_SCIFA5_SCK, GPIO_FN_NMI, | ||
266 | GPIO_FN_PORT160_SCIFB_TXD, GPIO_FN_PORT160_SCIFA5_TXD, | ||
267 | GPIO_FN_PORT161_SCIFB_CTS_, GPIO_FN_PORT161_SCIFA5_CTS_, | ||
268 | GPIO_FN_PORT162_SCIFB_RXD, GPIO_FN_PORT162_SCIFA5_RXD, | ||
269 | GPIO_FN_PORT163_SCIFB_RTS_, GPIO_FN_PORT163_SCIFA5_RTS_, \ | ||
270 | GPIO_FN_TPU3TO0, | ||
271 | GPIO_FN_LCDD0, | ||
272 | GPIO_FN_LCDD1, GPIO_FN_PORT193_SCIFA5_CTS_, GPIO_FN_BBIF2_TSYNC1, | ||
273 | GPIO_FN_LCDD2, GPIO_FN_PORT194_SCIFA5_RTS_, GPIO_FN_BBIF2_TSCK1, | ||
274 | GPIO_FN_LCDD3, GPIO_FN_PORT195_SCIFA5_RXD, GPIO_FN_BBIF2_TXD1, | ||
275 | GPIO_FN_LCDD4, GPIO_FN_PORT196_SCIFA5_TXD, | ||
276 | GPIO_FN_LCDD5, GPIO_FN_PORT197_SCIFA5_SCK, GPIO_FN_MFG2_OUT2, \ | ||
277 | GPIO_FN_TPU2TO1, | ||
278 | GPIO_FN_LCDD6, | ||
279 | GPIO_FN_LCDD7, GPIO_FN_TPU4TO1, GPIO_FN_MFG4_OUT2, | ||
280 | GPIO_FN_LCDD8, GPIO_FN_D16, | ||
281 | GPIO_FN_LCDD9, GPIO_FN_D17, | ||
282 | GPIO_FN_LCDD10, GPIO_FN_D18, | ||
283 | GPIO_FN_LCDD11, GPIO_FN_D19, | ||
284 | GPIO_FN_LCDD12, GPIO_FN_D20, | ||
285 | GPIO_FN_LCDD13, GPIO_FN_D21, | ||
286 | GPIO_FN_LCDD14, GPIO_FN_D22, | ||
287 | GPIO_FN_LCDD15, GPIO_FN_PORT207_MSIOF0L_SS1, GPIO_FN_D23, | ||
288 | GPIO_FN_LCDD16, GPIO_FN_PORT208_MSIOF0L_SS2, GPIO_FN_D24, | ||
289 | GPIO_FN_LCDD17, GPIO_FN_D25, | ||
290 | GPIO_FN_LCDD18, GPIO_FN_DREQ2, GPIO_FN_PORT210_MSIOF0L_SS1, GPIO_FN_D26, | ||
291 | GPIO_FN_LCDD19, GPIO_FN_PORT211_MSIOF0L_SS2, GPIO_FN_D27, | ||
292 | GPIO_FN_LCDD20, GPIO_FN_TS_SPSYNC1, GPIO_FN_MSIOF0L_MCK0, GPIO_FN_D28, | ||
293 | GPIO_FN_LCDD21, GPIO_FN_TS_SDAT1, GPIO_FN_MSIOF0L_MCK1, GPIO_FN_D29, | ||
294 | GPIO_FN_LCDD22, GPIO_FN_TS_SDEN1, GPIO_FN_MSIOF0L_RSCK, GPIO_FN_D30, | ||
295 | GPIO_FN_LCDD23, GPIO_FN_TS_SCK1, GPIO_FN_MSIOF0L_RSYNC, GPIO_FN_D31, | ||
296 | GPIO_FN_LCDDCK, GPIO_FN_LCDWR_, | ||
297 | GPIO_FN_LCDRD_, GPIO_FN_DACK2, GPIO_FN_PORT217_LCD2RS, \ | ||
298 | GPIO_FN_MSIOF0L_TSYNC, GPIO_FN_VIO2_FIELD3, GPIO_FN_PORT217_LCD2DISP, | ||
299 | GPIO_FN_LCDHSYN, GPIO_FN_LCDCS_, GPIO_FN_LCDCS2_, GPIO_FN_DACK3, \ | ||
300 | GPIO_FN_PORT218_VIO_CKOR, | ||
301 | GPIO_FN_LCDDISP, GPIO_FN_LCDRS, GPIO_FN_PORT219_LCD2WR_, \ | ||
302 | GPIO_FN_DREQ3, GPIO_FN_MSIOF0L_TSCK, GPIO_FN_VIO2_CLK3, \ | ||
303 | GPIO_FN_LCD2DCK_2, | ||
304 | GPIO_FN_LCDVSYN, GPIO_FN_LCDVSYN2, | ||
305 | GPIO_FN_LCDLCLK, GPIO_FN_DREQ1, GPIO_FN_PORT221_LCD2CS_, \ | ||
306 | GPIO_FN_PWEN, GPIO_FN_MSIOF0L_RXD, GPIO_FN_VIO2_HD3, \ | ||
307 | GPIO_FN_PORT221_LCD2HSYN, | ||
308 | GPIO_FN_LCDDON, GPIO_FN_LCDDON2, GPIO_FN_DACK1, GPIO_FN_OVCN, \ | ||
309 | GPIO_FN_MSIOF0L_TXD, GPIO_FN_VIO2_VD3, GPIO_FN_PORT222_LCD2VSYN, | ||
310 | |||
311 | GPIO_FN_SCIFA1_TXD, GPIO_FN_OVCN2, | ||
312 | GPIO_FN_EXTLP, GPIO_FN_SCIFA1_SCK, GPIO_FN_PORT226_VIO_CKO2, | ||
313 | GPIO_FN_SCIFA1_RTS_, GPIO_FN_IDIN, | ||
314 | GPIO_FN_SCIFA1_RXD, | ||
315 | GPIO_FN_SCIFA1_CTS_, GPIO_FN_MFG1_IN1, | ||
316 | GPIO_FN_MSIOF1_TXD, GPIO_FN_SCIFA2_TXD2, | ||
317 | GPIO_FN_MSIOF1_TSYNC, GPIO_FN_SCIFA2_CTS2_, | ||
318 | GPIO_FN_MSIOF1_TSCK, GPIO_FN_SCIFA2_SCK2, | ||
319 | GPIO_FN_MSIOF1_RXD, GPIO_FN_SCIFA2_RXD2, | ||
320 | GPIO_FN_MSIOF1_RSCK, GPIO_FN_SCIFA2_RTS2_, GPIO_FN_VIO2_CLK2, \ | ||
321 | GPIO_FN_LCD2D20, | ||
322 | GPIO_FN_MSIOF1_RSYNC, GPIO_FN_MFG1_IN2, GPIO_FN_VIO2_VD2, \ | ||
323 | GPIO_FN_LCD2D21, | ||
324 | GPIO_FN_MSIOF1_MCK0, GPIO_FN_PORT236_I2C_SDA2, | ||
325 | GPIO_FN_MSIOF1_MCK1, GPIO_FN_PORT237_I2C_SCL2, | ||
326 | GPIO_FN_MSIOF1_SS1, GPIO_FN_VIO2_FIELD2, GPIO_FN_LCD2D22, | ||
327 | GPIO_FN_MSIOF1_SS2, GPIO_FN_VIO2_HD2, GPIO_FN_LCD2D23, | ||
328 | GPIO_FN_SCIFA6_TXD, | ||
329 | GPIO_FN_PORT241_IRDA_OUT, GPIO_FN_PORT241_IROUT, GPIO_FN_MFG4_OUT1, \ | ||
330 | GPIO_FN_TPU4TO0, | ||
331 | GPIO_FN_PORT242_IRDA_IN, GPIO_FN_MFG4_IN2, | ||
332 | GPIO_FN_PORT243_IRDA_FIRSEL, GPIO_FN_PORT243_VIO_CKO2, | ||
333 | GPIO_FN_PORT244_SCIFA5_CTS_, GPIO_FN_MFG2_IN1, \ | ||
334 | GPIO_FN_PORT244_SCIFB_CTS_, GPIO_FN_MSIOF2R_RXD, | ||
335 | GPIO_FN_PORT245_SCIFA5_RTS_, GPIO_FN_MFG2_IN2, \ | ||
336 | GPIO_FN_PORT245_SCIFB_RTS_, GPIO_FN_MSIOF2R_TXD, | ||
337 | GPIO_FN_PORT246_SCIFA5_RXD, GPIO_FN_MFG1_OUT1, \ | ||
338 | GPIO_FN_PORT246_SCIFB_RXD, GPIO_FN_TPU1TO0, | ||
339 | GPIO_FN_PORT247_SCIFA5_TXD, GPIO_FN_MFG3_OUT2, \ | ||
340 | GPIO_FN_PORT247_SCIFB_TXD, GPIO_FN_TPU3TO1, | ||
341 | GPIO_FN_PORT248_SCIFA5_SCK, GPIO_FN_MFG2_OUT1, \ | ||
342 | GPIO_FN_PORT248_SCIFB_SCK, GPIO_FN_TPU2TO0, \ | ||
343 | GPIO_FN_PORT248_I2C_SCL3, GPIO_FN_MSIOF2R_TSCK, | ||
344 | GPIO_FN_PORT249_IROUT, GPIO_FN_MFG4_IN1, \ | ||
345 | GPIO_FN_PORT249_I2C_SDA3, GPIO_FN_MSIOF2R_TSYNC, | ||
346 | GPIO_FN_SDHICLK0, | ||
347 | GPIO_FN_SDHICD0, | ||
348 | GPIO_FN_SDHID0_0, | ||
349 | GPIO_FN_SDHID0_1, | ||
350 | GPIO_FN_SDHID0_2, | ||
351 | GPIO_FN_SDHID0_3, | ||
352 | GPIO_FN_SDHICMD0, | ||
353 | GPIO_FN_SDHIWP0, | ||
354 | GPIO_FN_SDHICLK1, | ||
355 | GPIO_FN_SDHID1_0, GPIO_FN_TS_SPSYNC2, | ||
356 | GPIO_FN_SDHID1_1, GPIO_FN_TS_SDAT2, | ||
357 | GPIO_FN_SDHID1_2, GPIO_FN_TS_SDEN2, | ||
358 | GPIO_FN_SDHID1_3, GPIO_FN_TS_SCK2, | ||
359 | GPIO_FN_SDHICMD1, | ||
360 | GPIO_FN_SDHICLK2, | ||
361 | GPIO_FN_SDHID2_0, GPIO_FN_TS_SPSYNC4, | ||
362 | GPIO_FN_SDHID2_1, GPIO_FN_TS_SDAT4, | ||
363 | GPIO_FN_SDHID2_2, GPIO_FN_TS_SDEN4, | ||
364 | GPIO_FN_SDHID2_3, GPIO_FN_TS_SCK4, | ||
365 | GPIO_FN_SDHICMD2, | ||
366 | GPIO_FN_MMCCLK0, | ||
367 | GPIO_FN_MMCD0_0, | ||
368 | GPIO_FN_MMCD0_1, | ||
369 | GPIO_FN_MMCD0_2, | ||
370 | GPIO_FN_MMCD0_3, | ||
371 | GPIO_FN_MMCD0_4, GPIO_FN_TS_SPSYNC5, | ||
372 | GPIO_FN_MMCD0_5, GPIO_FN_TS_SDAT5, | ||
373 | GPIO_FN_MMCD0_6, GPIO_FN_TS_SDEN5, | ||
374 | GPIO_FN_MMCD0_7, GPIO_FN_TS_SCK5, | ||
375 | GPIO_FN_MMCCMD0, | ||
376 | GPIO_FN_RESETOUTS_, GPIO_FN_EXTAL2OUT, | ||
377 | GPIO_FN_MCP_WAIT__MCP_FRB, | ||
378 | GPIO_FN_MCP_CKO, GPIO_FN_MMCCLK1, | ||
379 | GPIO_FN_MCP_D15_MCP_NAF15, | ||
380 | GPIO_FN_MCP_D14_MCP_NAF14, | ||
381 | GPIO_FN_MCP_D13_MCP_NAF13, | ||
382 | GPIO_FN_MCP_D12_MCP_NAF12, | ||
383 | GPIO_FN_MCP_D11_MCP_NAF11, | ||
384 | GPIO_FN_MCP_D10_MCP_NAF10, | ||
385 | GPIO_FN_MCP_D9_MCP_NAF9, | ||
386 | GPIO_FN_MCP_D8_MCP_NAF8, GPIO_FN_MMCCMD1, | ||
387 | GPIO_FN_MCP_D7_MCP_NAF7, GPIO_FN_MMCD1_7, | ||
388 | |||
389 | GPIO_FN_MCP_D6_MCP_NAF6, GPIO_FN_MMCD1_6, | ||
390 | GPIO_FN_MCP_D5_MCP_NAF5, GPIO_FN_MMCD1_5, | ||
391 | GPIO_FN_MCP_D4_MCP_NAF4, GPIO_FN_MMCD1_4, | ||
392 | GPIO_FN_MCP_D3_MCP_NAF3, GPIO_FN_MMCD1_3, | ||
393 | GPIO_FN_MCP_D2_MCP_NAF2, GPIO_FN_MMCD1_2, | ||
394 | GPIO_FN_MCP_D1_MCP_NAF1, GPIO_FN_MMCD1_1, | ||
395 | GPIO_FN_MCP_D0_MCP_NAF0, GPIO_FN_MMCD1_0, | ||
396 | GPIO_FN_MCP_NBRSTOUT_, | ||
397 | GPIO_FN_MCP_WE0__MCP_FWE, GPIO_FN_MCP_RDWR_MCP_FWE, | ||
398 | |||
399 | /* MSEL2 special case */ | ||
400 | GPIO_FN_TSIF2_TS_XX1, | ||
401 | GPIO_FN_TSIF2_TS_XX2, | ||
402 | GPIO_FN_TSIF2_TS_XX3, | ||
403 | GPIO_FN_TSIF2_TS_XX4, | ||
404 | GPIO_FN_TSIF2_TS_XX5, | ||
405 | GPIO_FN_TSIF1_TS_XX1, | ||
406 | GPIO_FN_TSIF1_TS_XX2, | ||
407 | GPIO_FN_TSIF1_TS_XX3, | ||
408 | GPIO_FN_TSIF1_TS_XX4, | ||
409 | GPIO_FN_TSIF1_TS_XX5, | ||
410 | GPIO_FN_TSIF0_TS_XX1, | ||
411 | GPIO_FN_TSIF0_TS_XX2, | ||
412 | GPIO_FN_TSIF0_TS_XX3, | ||
413 | GPIO_FN_TSIF0_TS_XX4, | ||
414 | GPIO_FN_TSIF0_TS_XX5, | ||
415 | GPIO_FN_MST1_TS_XX1, | ||
416 | GPIO_FN_MST1_TS_XX2, | ||
417 | GPIO_FN_MST1_TS_XX3, | ||
418 | GPIO_FN_MST1_TS_XX4, | ||
419 | GPIO_FN_MST1_TS_XX5, | ||
420 | GPIO_FN_MST0_TS_XX1, | ||
421 | GPIO_FN_MST0_TS_XX2, | ||
422 | GPIO_FN_MST0_TS_XX3, | ||
423 | GPIO_FN_MST0_TS_XX4, | ||
424 | GPIO_FN_MST0_TS_XX5, | ||
425 | |||
426 | /* MSEL3 special cases */ | ||
427 | GPIO_FN_SDHI0_VCCQ_MC0_ON, | ||
428 | GPIO_FN_SDHI0_VCCQ_MC0_OFF, | ||
429 | GPIO_FN_DEBUG_MON_VIO, | ||
430 | GPIO_FN_DEBUG_MON_LCDD, | ||
431 | GPIO_FN_LCDC_LCDC0, | ||
432 | GPIO_FN_LCDC_LCDC1, | ||
433 | |||
434 | /* MSEL4 special cases */ | ||
435 | GPIO_FN_IRQ9_MEM_INT, | ||
436 | GPIO_FN_IRQ9_MCP_INT, | ||
437 | GPIO_FN_A11, | ||
438 | GPIO_FN_KEYOUT8, | ||
439 | GPIO_FN_TPU4TO3, | ||
440 | GPIO_FN_RESETA_N_PU_ON, | ||
441 | GPIO_FN_RESETA_N_PU_OFF, | ||
442 | GPIO_FN_EDBGREQ_PD, | ||
443 | GPIO_FN_EDBGREQ_PU, | ||
444 | }; | ||
445 | |||
446 | #endif /* __ASM_SH73A0_H__ */ | ||