diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-03-25 20:39:49 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-03-30 18:39:51 -0400 |
commit | 1c58b0b1a1412ceb6b25dad81bc537bf0fe6ad46 (patch) | |
tree | 8ce3e19a311d8eb9c6e2830d557f8aa3d59b6ed8 /arch/sh/include | |
parent | f36b59d1a4fa1e29be606d0513b5f7fa6e720f79 (diff) |
sh: Tidy up sh7786 pinmux table.
Formatting and typo fix.
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/cpu-sh4/cpu/sh7786.h | 214 |
1 files changed, 79 insertions, 135 deletions
diff --git a/arch/sh/include/cpu-sh4/cpu/sh7786.h b/arch/sh/include/cpu-sh4/cpu/sh7786.h index 48688adc0c84..977862f9072a 100644 --- a/arch/sh/include/cpu-sh4/cpu/sh7786.h +++ b/arch/sh/include/cpu-sh4/cpu/sh7786.h | |||
@@ -51,142 +51,86 @@ enum { | |||
51 | GPIO_PJ7, GPIO_PJ6, GPIO_PJ5, GPIO_PJ4, | 51 | GPIO_PJ7, GPIO_PJ6, GPIO_PJ5, GPIO_PJ4, |
52 | GPIO_PJ3, GPIO_PJ2, GPIO_PJ1, GPIO_PJ0, | 52 | GPIO_PJ3, GPIO_PJ2, GPIO_PJ1, GPIO_PJ0, |
53 | 53 | ||
54 | GPIO_FN_CDE, | 54 | /* DU */ |
55 | GPIO_FN_ETH_MAGIC, | 55 | GPIO_FN_DCLKIN, GPIO_FN_DCLKOUT, GPIO_FN_ODDF, |
56 | GPIO_FN_DISP, | 56 | GPIO_FN_VSYNC, GPIO_FN_HSYNC, GPIO_FN_CDE, GPIO_FN_DISP, |
57 | GPIO_FN_ETH_LINK, | 57 | GPIO_FN_DR0, GPIO_FN_DG0, GPIO_FN_DB0, |
58 | GPIO_FN_DR5, | 58 | GPIO_FN_DR1, GPIO_FN_DG1, GPIO_FN_DB1, |
59 | GPIO_FN_ETH_TX_ER, | 59 | GPIO_FN_DR2, GPIO_FN_DG2, GPIO_FN_DB2, |
60 | GPIO_FN_DR4, | 60 | GPIO_FN_DR3, GPIO_FN_DG3, GPIO_FN_DB3, |
61 | GPIO_FN_ETH_TX_EN, | 61 | GPIO_FN_DR4, GPIO_FN_DG4, GPIO_FN_DB4, |
62 | GPIO_FN_DR3, | 62 | GPIO_FN_DR5, GPIO_FN_DG5, GPIO_FN_DB5, |
63 | GPIO_FN_ETH_TXD3, | 63 | |
64 | GPIO_FN_DR2, | 64 | /* Eth */ |
65 | GPIO_FN_ETH_TXD2, | 65 | GPIO_FN_ETH_MAGIC, GPIO_FN_ETH_LINK, GPIO_FN_ETH_TX_ER, |
66 | GPIO_FN_DR1, | 66 | GPIO_FN_ETH_TX_EN, GPIO_FN_ETH_MDIO, GPIO_FN_ETH_RX_CLK, |
67 | GPIO_FN_ETH_TXD1, | 67 | GPIO_FN_ETH_MDC, GPIO_FN_ETH_COL, GPIO_FN_ETH_TX_CLK, |
68 | GPIO_FN_DR0, | 68 | GPIO_FN_ETH_CRS, GPIO_FN_ETH_RX_DV, GPIO_FN_ETH_RX_ER, |
69 | GPIO_FN_ETH_TXD0, | 69 | GPIO_FN_ETH_TXD3, GPIO_FN_ETH_TXD2, GPIO_FN_ETH_TXD1, GPIO_FN_ETH_TXD0, |
70 | GPIO_FN_VSYNC, | 70 | GPIO_FN_ETH_RXD3, GPIO_FN_ETH_RXD2, GPIO_FN_ETH_RXD1, GPIO_FN_ETH_RXD0, |
71 | GPIO_FN_HSPI_CLK, | 71 | |
72 | GPIO_FN_ODDF, | 72 | /* HSPI */ |
73 | GPIO_FN_HSPI_CS, | 73 | GPIO_FN_HSPI_CLK, GPIO_FN_HSPI_CS, GPIO_FN_HSPI_RX, GPIO_FN_HSPI_TX, |
74 | GPIO_FN_DG5, | 74 | |
75 | GPIO_FN_ETH_MDIO, | 75 | /* SCIF0 */ |
76 | GPIO_FN_DG4, | 76 | GPIO_FN_SCIF0_CTS, GPIO_FN_SCIF0_RTS, GPIO_FN_SCIF0_SCK, |
77 | GPIO_FN_ETH_RX_CLK, | 77 | GPIO_FN_SCIF0_RXD, GPIO_FN_SCIF0_TXD, |
78 | GPIO_FN_DG3, | 78 | |
79 | GPIO_FN_ETH_MDC, | 79 | /* SCIF1 */ |
80 | GPIO_FN_DG2, | 80 | GPIO_FN_SCIF1_SCK, GPIO_FN_SCIF1_RXD, GPIO_FN_SCIF1_TXD, |
81 | GPIO_FN_ETH_COL, | 81 | |
82 | GPIO_FN_DG1, | 82 | /* SCIF3 */ |
83 | GPIO_FN_ETH_TX_CLK, | 83 | GPIO_FN_SCIF3_SCK, GPIO_FN_SCIF3_RXD, GPIO_FN_SCIF3_TXD, |
84 | GPIO_FN_DG0, | 84 | |
85 | GPIO_FN_ETH_CRS, | 85 | /* SCIF4 */ |
86 | GPIO_FN_DCLKIN, | 86 | GPIO_FN_SCIF4_SCK, GPIO_FN_SCIF4_RXD, GPIO_FN_SCIF4_TXD, |
87 | GPIO_FN_HSPI_RX, | 87 | |
88 | GPIO_FN_HSYNC, | 88 | /* SCIF5 */ |
89 | GPIO_FN_HSPI_TX, | 89 | GPIO_FN_SCIF5_SCK, GPIO_FN_SCIF5_RXD, GPIO_FN_SCIF5_TXD, |
90 | GPIO_FN_DB5, | 90 | |
91 | GPIO_FN_ETH_RXD3, | 91 | /* LBSC */ |
92 | GPIO_FN_DB4, | 92 | GPIO_FN_BREQ, GPIO_FN_IOIS16, GPIO_FN_CE2B, GPIO_FN_CE2A, GPIO_FN_BACK, |
93 | GPIO_FN_ETH_RXD2, | 93 | |
94 | GPIO_FN_DB3, | 94 | /* FLCTL */ |
95 | GPIO_FN_ETH_RXD1, | 95 | GPIO_FN_FALE, GPIO_FN_FRB, GPIO_FN_FSTATUS, |
96 | GPIO_FN_DB2, | 96 | GPIO_FN_FSE, GPIO_FN_FCLE, |
97 | GPIO_FN_ETH_RXD0, | 97 | |
98 | GPIO_FN_DB1, | 98 | /* DMAC */ |
99 | GPIO_FN_ETH_RX_DV, | 99 | GPIO_FN_DACK0, GPIO_FN_DREQ0, GPIO_FN_DRAK0, |
100 | GPIO_FN_DB0, | 100 | GPIO_FN_DACK1, GPIO_FN_DREQ1, GPIO_FN_DRAK1, |
101 | GPIO_FN_ETH_RX_ER, | 101 | GPIO_FN_DACK2, GPIO_FN_DREQ2, GPIO_FN_DRAK2, |
102 | GPIO_FN_DCLKOUT, | 102 | GPIO_FN_DACK3, GPIO_FN_DREQ3, GPIO_FN_DRAK3, |
103 | GPIO_FN_SCIF1_SLK, | 103 | |
104 | GPIO_FN_SCIF1_RXD, | 104 | /* USB */ |
105 | GPIO_FN_SCIF1_TXD, | 105 | GPIO_FN_USB_OVC0, GPIO_FN_USB_PENC0, |
106 | GPIO_FN_DACK1, | 106 | GPIO_FN_USB_OVC1, GPIO_FN_USB_PENC1, |
107 | GPIO_FN_BACK, | 107 | |
108 | GPIO_FN_FALE, | 108 | /* HAC */ |
109 | GPIO_FN_DACK0, | ||
110 | GPIO_FN_FCLE, | ||
111 | GPIO_FN_DREQ1, | ||
112 | GPIO_FN_BREQ, | ||
113 | GPIO_FN_USB_OVC1, | ||
114 | GPIO_FN_DREQ0, | ||
115 | GPIO_FN_USB_OVC0, | ||
116 | GPIO_FN_USB_PENC1, | ||
117 | GPIO_FN_USB_PENC0, | ||
118 | GPIO_FN_HAC1_SDOUT, | ||
119 | GPIO_FN_SSI1_SDATA, | ||
120 | GPIO_FN_SDIF1CMD, | ||
121 | GPIO_FN_HAC1_SDIN, | ||
122 | GPIO_FN_SSI1_SCK, | ||
123 | GPIO_FN_SDIF1CD, | ||
124 | GPIO_FN_HAC1_SYNC, | ||
125 | GPIO_FN_SSI1_WS, | ||
126 | GPIO_FN_SDIF1WP, | ||
127 | GPIO_FN_HAC1_BITCLK, | ||
128 | GPIO_FN_SSI1_CLK, | ||
129 | GPIO_FN_SDIF1CLK, | ||
130 | GPIO_FN_HAC0_SDOUT, | ||
131 | GPIO_FN_SSI0_SDATA, | ||
132 | GPIO_FN_SDIF1D3, | ||
133 | GPIO_FN_HAC0_SDIN, | ||
134 | GPIO_FN_SSI0_SCK, | ||
135 | GPIO_FN_SDIF1D2, | ||
136 | GPIO_FN_HAC0_SYNC, | ||
137 | GPIO_FN_SSI0_WS, | ||
138 | GPIO_FN_SDIF1D1, | ||
139 | GPIO_FN_HAC0_BITCLK, | ||
140 | GPIO_FN_SSI0_CLK, | ||
141 | GPIO_FN_SDIF1D0, | ||
142 | GPIO_FN_SCIF3_SCK, | ||
143 | GPIO_FN_SSI2_SDATA, | ||
144 | GPIO_FN_SCIF3_RXD, | ||
145 | GPIO_FN_TCLK, | ||
146 | GPIO_FN_SSI2_SCK, | ||
147 | GPIO_FN_SCIF3_TXD, | ||
148 | GPIO_FN_HAC_RES, | 109 | GPIO_FN_HAC_RES, |
149 | GPIO_FN_SSI2_WS, | 110 | GPIO_FN_HAC0_SDOUT, GPIO_FN_HAC0_SDIN, |
150 | GPIO_FN_DACK3, | 111 | GPIO_FN_HAC0_SYNC, GPIO_FN_HAC0_BITCLK, |
151 | GPIO_FN_SDIF0CMD, | 112 | GPIO_FN_HAC1_SDOUT, GPIO_FN_HAC1_SDIN, |
152 | GPIO_FN_DACK2, | 113 | GPIO_FN_HAC1_SYNC, GPIO_FN_HAC1_BITCLK, |
153 | GPIO_FN_SDIF0CD, | 114 | |
154 | GPIO_FN_DREQ3, | 115 | /* SSI */ |
155 | GPIO_FN_SDIF0WP, | 116 | GPIO_FN_SSI0_SDATA, GPIO_FN_SSI0_SCK, GPIO_FN_SSI0_WS, GPIO_FN_SSI0_CLK, |
156 | GPIO_FN_SCIF0_CTS, | 117 | GPIO_FN_SSI1_SDATA, GPIO_FN_SSI1_SCK, GPIO_FN_SSI1_WS, GPIO_FN_SSI1_CLK, |
157 | GPIO_FN_DREQ2, | 118 | GPIO_FN_SSI2_SDATA, GPIO_FN_SSI2_SCK, GPIO_FN_SSI2_WS, |
158 | GPIO_FN_SDIF0CLK, | 119 | GPIO_FN_SSI3_SDATA, GPIO_FN_SSI3_SCK, GPIO_FN_SSI3_WS, |
159 | GPIO_FN_SCIF0_RTS, | 120 | |
160 | GPIO_FN_IRL7, | 121 | /* SDIF1 */ |
161 | GPIO_FN_SDIF0D3, | 122 | GPIO_FN_SDIF1CMD, GPIO_FN_SDIF1CD, GPIO_FN_SDIF1WP, GPIO_FN_SDIF1CLK, |
162 | GPIO_FN_SCIF0_SCK, | 123 | GPIO_FN_SDIF1D3, GPIO_FN_SDIF1D2, GPIO_FN_SDIF1D1, GPIO_FN_SDIF1D0, |
163 | GPIO_FN_IRL6, | 124 | |
164 | GPIO_FN_SDIF0D2, | 125 | /* SDIF0 */ |
165 | GPIO_FN_SCIF0_RXD, | 126 | GPIO_FN_SDIF0CMD, GPIO_FN_SDIF0CD, GPIO_FN_SDIF0WP, GPIO_FN_SDIF0CLK, |
166 | GPIO_FN_IRL5, | 127 | GPIO_FN_SDIF0D3, GPIO_FN_SDIF0D2, GPIO_FN_SDIF0D1, GPIO_FN_SDIF0D0, |
167 | GPIO_FN_SDIF0D1, | 128 | |
168 | GPIO_FN_SCIF0_TXD, | 129 | /* TMU */ |
169 | GPIO_FN_IRL4, | 130 | GPIO_FN_TCLK, |
170 | GPIO_FN_SDIF0D0, | 131 | |
171 | GPIO_FN_SCIF5_SCK, | 132 | /* INTC */ |
172 | GPIO_FN_FRB, | 133 | GPIO_FN_IRL7, GPIO_FN_IRL6, GPIO_FN_IRL5, GPIO_FN_IRL4, |
173 | GPIO_FN_SCIF5_RXD, | ||
174 | GPIO_FN_IOIS16, | ||
175 | GPIO_FN_SCIF5_TXD, | ||
176 | GPIO_FN_CE2B, | ||
177 | GPIO_FN_DRAK3, | ||
178 | GPIO_FN_CE2A, | ||
179 | GPIO_FN_SCIF4_SCK, | ||
180 | GPIO_FN_DRAK2, | ||
181 | GPIO_FN_SSI3_WS, | ||
182 | GPIO_FN_SCIF4_RXD, | ||
183 | GPIO_FN_DRAK1, | ||
184 | GPIO_FN_SSI3_SDATA, | ||
185 | GPIO_FN_FSTATUS, | ||
186 | GPIO_FN_SCIF4_TXD, | ||
187 | GPIO_FN_DRAK0, | ||
188 | GPIO_FN_SSI3_SCK, | ||
189 | GPIO_FN_FSE, | ||
190 | }; | 134 | }; |
191 | 135 | ||
192 | #endif /* __CPU_SH7786_H__ */ | 136 | #endif /* __CPU_SH7786_H__ */ |