diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-08-13 10:47:58 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-09-03 07:21:37 -0400 |
commit | d5fff72db1d7cf1161deed54f6be6d2c96f2ad80 (patch) | |
tree | c514e1d86efdbff0e8755c01c75f4d18f8e01604 | |
parent | b9aa8f13eaaf65f6939c67920d2cda4399be1e2a (diff) |
pinctrl: imx5: start numbering pad from 0
Unlike imx6q pinctrl driver that starts nubmering pad from 0, imx5
pinctrl drivers number pad from 1. It causes problem/confusion when
driver accesses imx51_pinctrl_pads array using pin ID as the index.
Change imx51_pads and imx53_pads numbering start from 0.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/pinctrl-imx51.c | 490 | ||||
-rw-r--r-- | drivers/pinctrl/pinctrl-imx53.c | 402 |
2 files changed, 446 insertions, 446 deletions
diff --git a/drivers/pinctrl/pinctrl-imx51.c b/drivers/pinctrl/pinctrl-imx51.c index 9fd02162a3c2..fb8468966779 100644 --- a/drivers/pinctrl/pinctrl-imx51.c +++ b/drivers/pinctrl/pinctrl-imx51.c | |||
@@ -23,251 +23,251 @@ | |||
23 | #include "pinctrl-imx.h" | 23 | #include "pinctrl-imx.h" |
24 | 24 | ||
25 | enum imx51_pads { | 25 | enum imx51_pads { |
26 | MX51_PAD_EIM_D16 = 1, | 26 | MX51_PAD_EIM_D16 = 0, |
27 | MX51_PAD_EIM_D17 = 2, | 27 | MX51_PAD_EIM_D17 = 1, |
28 | MX51_PAD_EIM_D18 = 3, | 28 | MX51_PAD_EIM_D18 = 2, |
29 | MX51_PAD_EIM_D19 = 4, | 29 | MX51_PAD_EIM_D19 = 3, |
30 | MX51_PAD_EIM_D20 = 5, | 30 | MX51_PAD_EIM_D20 = 4, |
31 | MX51_PAD_EIM_D21 = 6, | 31 | MX51_PAD_EIM_D21 = 5, |
32 | MX51_PAD_EIM_D22 = 7, | 32 | MX51_PAD_EIM_D22 = 6, |
33 | MX51_PAD_EIM_D23 = 8, | 33 | MX51_PAD_EIM_D23 = 7, |
34 | MX51_PAD_EIM_D24 = 9, | 34 | MX51_PAD_EIM_D24 = 8, |
35 | MX51_PAD_EIM_D25 = 10, | 35 | MX51_PAD_EIM_D25 = 9, |
36 | MX51_PAD_EIM_D26 = 11, | 36 | MX51_PAD_EIM_D26 = 10, |
37 | MX51_PAD_EIM_D27 = 12, | 37 | MX51_PAD_EIM_D27 = 11, |
38 | MX51_PAD_EIM_D28 = 13, | 38 | MX51_PAD_EIM_D28 = 12, |
39 | MX51_PAD_EIM_D29 = 14, | 39 | MX51_PAD_EIM_D29 = 13, |
40 | MX51_PAD_EIM_D30 = 15, | 40 | MX51_PAD_EIM_D30 = 14, |
41 | MX51_PAD_EIM_D31 = 16, | 41 | MX51_PAD_EIM_D31 = 15, |
42 | MX51_PAD_EIM_A16 = 17, | 42 | MX51_PAD_EIM_A16 = 16, |
43 | MX51_PAD_EIM_A17 = 18, | 43 | MX51_PAD_EIM_A17 = 17, |
44 | MX51_PAD_EIM_A18 = 19, | 44 | MX51_PAD_EIM_A18 = 18, |
45 | MX51_PAD_EIM_A19 = 20, | 45 | MX51_PAD_EIM_A19 = 19, |
46 | MX51_PAD_EIM_A20 = 21, | 46 | MX51_PAD_EIM_A20 = 20, |
47 | MX51_PAD_EIM_A21 = 22, | 47 | MX51_PAD_EIM_A21 = 21, |
48 | MX51_PAD_EIM_A22 = 23, | 48 | MX51_PAD_EIM_A22 = 22, |
49 | MX51_PAD_EIM_A23 = 24, | 49 | MX51_PAD_EIM_A23 = 23, |
50 | MX51_PAD_EIM_A24 = 25, | 50 | MX51_PAD_EIM_A24 = 24, |
51 | MX51_PAD_EIM_A25 = 26, | 51 | MX51_PAD_EIM_A25 = 25, |
52 | MX51_PAD_EIM_A26 = 27, | 52 | MX51_PAD_EIM_A26 = 26, |
53 | MX51_PAD_EIM_A27 = 28, | 53 | MX51_PAD_EIM_A27 = 27, |
54 | MX51_PAD_EIM_EB0 = 29, | 54 | MX51_PAD_EIM_EB0 = 28, |
55 | MX51_PAD_EIM_EB1 = 30, | 55 | MX51_PAD_EIM_EB1 = 29, |
56 | MX51_PAD_EIM_EB2 = 31, | 56 | MX51_PAD_EIM_EB2 = 30, |
57 | MX51_PAD_EIM_EB3 = 32, | 57 | MX51_PAD_EIM_EB3 = 31, |
58 | MX51_PAD_EIM_OE = 33, | 58 | MX51_PAD_EIM_OE = 32, |
59 | MX51_PAD_EIM_CS0 = 34, | 59 | MX51_PAD_EIM_CS0 = 33, |
60 | MX51_PAD_EIM_CS1 = 35, | 60 | MX51_PAD_EIM_CS1 = 34, |
61 | MX51_PAD_EIM_CS2 = 36, | 61 | MX51_PAD_EIM_CS2 = 35, |
62 | MX51_PAD_EIM_CS3 = 37, | 62 | MX51_PAD_EIM_CS3 = 36, |
63 | MX51_PAD_EIM_CS4 = 38, | 63 | MX51_PAD_EIM_CS4 = 37, |
64 | MX51_PAD_EIM_CS5 = 39, | 64 | MX51_PAD_EIM_CS5 = 38, |
65 | MX51_PAD_EIM_DTACK = 40, | 65 | MX51_PAD_EIM_DTACK = 39, |
66 | MX51_PAD_EIM_LBA = 41, | 66 | MX51_PAD_EIM_LBA = 40, |
67 | MX51_PAD_EIM_CRE = 42, | 67 | MX51_PAD_EIM_CRE = 41, |
68 | MX51_PAD_DRAM_CS1 = 43, | 68 | MX51_PAD_DRAM_CS1 = 42, |
69 | MX51_PAD_NANDF_WE_B = 44, | 69 | MX51_PAD_NANDF_WE_B = 43, |
70 | MX51_PAD_NANDF_RE_B = 45, | 70 | MX51_PAD_NANDF_RE_B = 44, |
71 | MX51_PAD_NANDF_ALE = 46, | 71 | MX51_PAD_NANDF_ALE = 45, |
72 | MX51_PAD_NANDF_CLE = 47, | 72 | MX51_PAD_NANDF_CLE = 46, |
73 | MX51_PAD_NANDF_WP_B = 48, | 73 | MX51_PAD_NANDF_WP_B = 47, |
74 | MX51_PAD_NANDF_RB0 = 49, | 74 | MX51_PAD_NANDF_RB0 = 48, |
75 | MX51_PAD_NANDF_RB1 = 50, | 75 | MX51_PAD_NANDF_RB1 = 49, |
76 | MX51_PAD_NANDF_RB2 = 51, | 76 | MX51_PAD_NANDF_RB2 = 50, |
77 | MX51_PAD_NANDF_RB3 = 52, | 77 | MX51_PAD_NANDF_RB3 = 51, |
78 | MX51_PAD_GPIO_NAND = 53, | 78 | MX51_PAD_GPIO_NAND = 52, |
79 | MX51_PAD_NANDF_CS0 = 54, | 79 | MX51_PAD_NANDF_CS0 = 53, |
80 | MX51_PAD_NANDF_CS1 = 55, | 80 | MX51_PAD_NANDF_CS1 = 54, |
81 | MX51_PAD_NANDF_CS2 = 56, | 81 | MX51_PAD_NANDF_CS2 = 55, |
82 | MX51_PAD_NANDF_CS3 = 57, | 82 | MX51_PAD_NANDF_CS3 = 56, |
83 | MX51_PAD_NANDF_CS4 = 58, | 83 | MX51_PAD_NANDF_CS4 = 57, |
84 | MX51_PAD_NANDF_CS5 = 59, | 84 | MX51_PAD_NANDF_CS5 = 58, |
85 | MX51_PAD_NANDF_CS6 = 60, | 85 | MX51_PAD_NANDF_CS6 = 59, |
86 | MX51_PAD_NANDF_CS7 = 61, | 86 | MX51_PAD_NANDF_CS7 = 60, |
87 | MX51_PAD_NANDF_RDY_INT = 62, | 87 | MX51_PAD_NANDF_RDY_INT = 61, |
88 | MX51_PAD_NANDF_D15 = 63, | 88 | MX51_PAD_NANDF_D15 = 62, |
89 | MX51_PAD_NANDF_D14 = 64, | 89 | MX51_PAD_NANDF_D14 = 63, |
90 | MX51_PAD_NANDF_D13 = 65, | 90 | MX51_PAD_NANDF_D13 = 64, |
91 | MX51_PAD_NANDF_D12 = 66, | 91 | MX51_PAD_NANDF_D12 = 65, |
92 | MX51_PAD_NANDF_D11 = 67, | 92 | MX51_PAD_NANDF_D11 = 66, |
93 | MX51_PAD_NANDF_D10 = 68, | 93 | MX51_PAD_NANDF_D10 = 67, |
94 | MX51_PAD_NANDF_D9 = 69, | 94 | MX51_PAD_NANDF_D9 = 68, |
95 | MX51_PAD_NANDF_D8 = 70, | 95 | MX51_PAD_NANDF_D8 = 69, |
96 | MX51_PAD_NANDF_D7 = 71, | 96 | MX51_PAD_NANDF_D7 = 70, |
97 | MX51_PAD_NANDF_D6 = 72, | 97 | MX51_PAD_NANDF_D6 = 71, |
98 | MX51_PAD_NANDF_D5 = 73, | 98 | MX51_PAD_NANDF_D5 = 72, |
99 | MX51_PAD_NANDF_D4 = 74, | 99 | MX51_PAD_NANDF_D4 = 73, |
100 | MX51_PAD_NANDF_D3 = 75, | 100 | MX51_PAD_NANDF_D3 = 74, |
101 | MX51_PAD_NANDF_D2 = 76, | 101 | MX51_PAD_NANDF_D2 = 75, |
102 | MX51_PAD_NANDF_D1 = 77, | 102 | MX51_PAD_NANDF_D1 = 76, |
103 | MX51_PAD_NANDF_D0 = 78, | 103 | MX51_PAD_NANDF_D0 = 77, |
104 | MX51_PAD_CSI1_D8 = 79, | 104 | MX51_PAD_CSI1_D8 = 78, |
105 | MX51_PAD_CSI1_D9 = 80, | 105 | MX51_PAD_CSI1_D9 = 79, |
106 | MX51_PAD_CSI1_D10 = 81, | 106 | MX51_PAD_CSI1_D10 = 80, |
107 | MX51_PAD_CSI1_D11 = 82, | 107 | MX51_PAD_CSI1_D11 = 81, |
108 | MX51_PAD_CSI1_D12 = 83, | 108 | MX51_PAD_CSI1_D12 = 82, |
109 | MX51_PAD_CSI1_D13 = 84, | 109 | MX51_PAD_CSI1_D13 = 83, |
110 | MX51_PAD_CSI1_D14 = 85, | 110 | MX51_PAD_CSI1_D14 = 84, |
111 | MX51_PAD_CSI1_D15 = 86, | 111 | MX51_PAD_CSI1_D15 = 85, |
112 | MX51_PAD_CSI1_D16 = 87, | 112 | MX51_PAD_CSI1_D16 = 86, |
113 | MX51_PAD_CSI1_D17 = 88, | 113 | MX51_PAD_CSI1_D17 = 87, |
114 | MX51_PAD_CSI1_D18 = 89, | 114 | MX51_PAD_CSI1_D18 = 88, |
115 | MX51_PAD_CSI1_D19 = 90, | 115 | MX51_PAD_CSI1_D19 = 89, |
116 | MX51_PAD_CSI1_VSYNC = 91, | 116 | MX51_PAD_CSI1_VSYNC = 90, |
117 | MX51_PAD_CSI1_HSYNC = 92, | 117 | MX51_PAD_CSI1_HSYNC = 91, |
118 | MX51_PAD_CSI1_PIXCLK = 93, | 118 | MX51_PAD_CSI1_PIXCLK = 92, |
119 | MX51_PAD_CSI1_MCLK = 94, | 119 | MX51_PAD_CSI1_MCLK = 93, |
120 | MX51_PAD_CSI2_D12 = 95, | 120 | MX51_PAD_CSI2_D12 = 94, |
121 | MX51_PAD_CSI2_D13 = 96, | 121 | MX51_PAD_CSI2_D13 = 95, |
122 | MX51_PAD_CSI2_D14 = 97, | 122 | MX51_PAD_CSI2_D14 = 96, |
123 | MX51_PAD_CSI2_D15 = 98, | 123 | MX51_PAD_CSI2_D15 = 97, |
124 | MX51_PAD_CSI2_D16 = 99, | 124 | MX51_PAD_CSI2_D16 = 98, |
125 | MX51_PAD_CSI2_D17 = 100, | 125 | MX51_PAD_CSI2_D17 = 99, |
126 | MX51_PAD_CSI2_D18 = 101, | 126 | MX51_PAD_CSI2_D18 = 100, |
127 | MX51_PAD_CSI2_D19 = 102, | 127 | MX51_PAD_CSI2_D19 = 101, |
128 | MX51_PAD_CSI2_VSYNC = 103, | 128 | MX51_PAD_CSI2_VSYNC = 102, |
129 | MX51_PAD_CSI2_HSYNC = 104, | 129 | MX51_PAD_CSI2_HSYNC = 103, |
130 | MX51_PAD_CSI2_PIXCLK = 105, | 130 | MX51_PAD_CSI2_PIXCLK = 104, |
131 | MX51_PAD_I2C1_CLK = 106, | 131 | MX51_PAD_I2C1_CLK = 105, |
132 | MX51_PAD_I2C1_DAT = 107, | 132 | MX51_PAD_I2C1_DAT = 106, |
133 | MX51_PAD_AUD3_BB_TXD = 108, | 133 | MX51_PAD_AUD3_BB_TXD = 107, |
134 | MX51_PAD_AUD3_BB_RXD = 109, | 134 | MX51_PAD_AUD3_BB_RXD = 108, |
135 | MX51_PAD_AUD3_BB_CK = 110, | 135 | MX51_PAD_AUD3_BB_CK = 109, |
136 | MX51_PAD_AUD3_BB_FS = 111, | 136 | MX51_PAD_AUD3_BB_FS = 110, |
137 | MX51_PAD_CSPI1_MOSI = 112, | 137 | MX51_PAD_CSPI1_MOSI = 111, |
138 | MX51_PAD_CSPI1_MISO = 113, | 138 | MX51_PAD_CSPI1_MISO = 112, |
139 | MX51_PAD_CSPI1_SS0 = 114, | 139 | MX51_PAD_CSPI1_SS0 = 113, |
140 | MX51_PAD_CSPI1_SS1 = 115, | 140 | MX51_PAD_CSPI1_SS1 = 114, |
141 | MX51_PAD_CSPI1_RDY = 116, | 141 | MX51_PAD_CSPI1_RDY = 115, |
142 | MX51_PAD_CSPI1_SCLK = 117, | 142 | MX51_PAD_CSPI1_SCLK = 116, |
143 | MX51_PAD_UART1_RXD = 118, | 143 | MX51_PAD_UART1_RXD = 117, |
144 | MX51_PAD_UART1_TXD = 119, | 144 | MX51_PAD_UART1_TXD = 118, |
145 | MX51_PAD_UART1_RTS = 120, | 145 | MX51_PAD_UART1_RTS = 119, |
146 | MX51_PAD_UART1_CTS = 121, | 146 | MX51_PAD_UART1_CTS = 120, |
147 | MX51_PAD_UART2_RXD = 122, | 147 | MX51_PAD_UART2_RXD = 121, |
148 | MX51_PAD_UART2_TXD = 123, | 148 | MX51_PAD_UART2_TXD = 122, |
149 | MX51_PAD_UART3_RXD = 124, | 149 | MX51_PAD_UART3_RXD = 123, |
150 | MX51_PAD_UART3_TXD = 125, | 150 | MX51_PAD_UART3_TXD = 124, |
151 | MX51_PAD_OWIRE_LINE = 126, | 151 | MX51_PAD_OWIRE_LINE = 125, |
152 | MX51_PAD_KEY_ROW0 = 127, | 152 | MX51_PAD_KEY_ROW0 = 126, |
153 | MX51_PAD_KEY_ROW1 = 128, | 153 | MX51_PAD_KEY_ROW1 = 127, |
154 | MX51_PAD_KEY_ROW2 = 129, | 154 | MX51_PAD_KEY_ROW2 = 128, |
155 | MX51_PAD_KEY_ROW3 = 130, | 155 | MX51_PAD_KEY_ROW3 = 129, |
156 | MX51_PAD_KEY_COL0 = 131, | 156 | MX51_PAD_KEY_COL0 = 130, |
157 | MX51_PAD_KEY_COL1 = 132, | 157 | MX51_PAD_KEY_COL1 = 131, |
158 | MX51_PAD_KEY_COL2 = 133, | 158 | MX51_PAD_KEY_COL2 = 132, |
159 | MX51_PAD_KEY_COL3 = 134, | 159 | MX51_PAD_KEY_COL3 = 133, |
160 | MX51_PAD_KEY_COL4 = 135, | 160 | MX51_PAD_KEY_COL4 = 134, |
161 | MX51_PAD_KEY_COL5 = 136, | 161 | MX51_PAD_KEY_COL5 = 135, |
162 | MX51_PAD_USBH1_CLK = 137, | 162 | MX51_PAD_USBH1_CLK = 136, |
163 | MX51_PAD_USBH1_DIR = 138, | 163 | MX51_PAD_USBH1_DIR = 137, |
164 | MX51_PAD_USBH1_STP = 139, | 164 | MX51_PAD_USBH1_STP = 138, |
165 | MX51_PAD_USBH1_NXT = 140, | 165 | MX51_PAD_USBH1_NXT = 139, |
166 | MX51_PAD_USBH1_DATA0 = 141, | 166 | MX51_PAD_USBH1_DATA0 = 140, |
167 | MX51_PAD_USBH1_DATA1 = 142, | 167 | MX51_PAD_USBH1_DATA1 = 141, |
168 | MX51_PAD_USBH1_DATA2 = 143, | 168 | MX51_PAD_USBH1_DATA2 = 142, |
169 | MX51_PAD_USBH1_DATA3 = 144, | 169 | MX51_PAD_USBH1_DATA3 = 143, |
170 | MX51_PAD_USBH1_DATA4 = 145, | 170 | MX51_PAD_USBH1_DATA4 = 144, |
171 | MX51_PAD_USBH1_DATA5 = 146, | 171 | MX51_PAD_USBH1_DATA5 = 145, |
172 | MX51_PAD_USBH1_DATA6 = 147, | 172 | MX51_PAD_USBH1_DATA6 = 146, |
173 | MX51_PAD_USBH1_DATA7 = 148, | 173 | MX51_PAD_USBH1_DATA7 = 147, |
174 | MX51_PAD_DI1_PIN11 = 149, | 174 | MX51_PAD_DI1_PIN11 = 148, |
175 | MX51_PAD_DI1_PIN12 = 150, | 175 | MX51_PAD_DI1_PIN12 = 149, |
176 | MX51_PAD_DI1_PIN13 = 151, | 176 | MX51_PAD_DI1_PIN13 = 150, |
177 | MX51_PAD_DI1_D0_CS = 152, | 177 | MX51_PAD_DI1_D0_CS = 151, |
178 | MX51_PAD_DI1_D1_CS = 153, | 178 | MX51_PAD_DI1_D1_CS = 152, |
179 | MX51_PAD_DISPB2_SER_DIN = 154, | 179 | MX51_PAD_DISPB2_SER_DIN = 153, |
180 | MX51_PAD_DISPB2_SER_DIO = 155, | 180 | MX51_PAD_DISPB2_SER_DIO = 154, |
181 | MX51_PAD_DISPB2_SER_CLK = 156, | 181 | MX51_PAD_DISPB2_SER_CLK = 155, |
182 | MX51_PAD_DISPB2_SER_RS = 157, | 182 | MX51_PAD_DISPB2_SER_RS = 156, |
183 | MX51_PAD_DISP1_DAT0 = 158, | 183 | MX51_PAD_DISP1_DAT0 = 157, |
184 | MX51_PAD_DISP1_DAT1 = 159, | 184 | MX51_PAD_DISP1_DAT1 = 158, |
185 | MX51_PAD_DISP1_DAT2 = 160, | 185 | MX51_PAD_DISP1_DAT2 = 159, |
186 | MX51_PAD_DISP1_DAT3 = 161, | 186 | MX51_PAD_DISP1_DAT3 = 160, |
187 | MX51_PAD_DISP1_DAT4 = 162, | 187 | MX51_PAD_DISP1_DAT4 = 161, |
188 | MX51_PAD_DISP1_DAT5 = 163, | 188 | MX51_PAD_DISP1_DAT5 = 162, |
189 | MX51_PAD_DISP1_DAT6 = 164, | 189 | MX51_PAD_DISP1_DAT6 = 163, |
190 | MX51_PAD_DISP1_DAT7 = 165, | 190 | MX51_PAD_DISP1_DAT7 = 164, |
191 | MX51_PAD_DISP1_DAT8 = 166, | 191 | MX51_PAD_DISP1_DAT8 = 165, |
192 | MX51_PAD_DISP1_DAT9 = 167, | 192 | MX51_PAD_DISP1_DAT9 = 166, |
193 | MX51_PAD_DISP1_DAT10 = 168, | 193 | MX51_PAD_DISP1_DAT10 = 167, |
194 | MX51_PAD_DISP1_DAT11 = 169, | 194 | MX51_PAD_DISP1_DAT11 = 168, |
195 | MX51_PAD_DISP1_DAT12 = 170, | 195 | MX51_PAD_DISP1_DAT12 = 169, |
196 | MX51_PAD_DISP1_DAT13 = 171, | 196 | MX51_PAD_DISP1_DAT13 = 170, |
197 | MX51_PAD_DISP1_DAT14 = 172, | 197 | MX51_PAD_DISP1_DAT14 = 171, |
198 | MX51_PAD_DISP1_DAT15 = 173, | 198 | MX51_PAD_DISP1_DAT15 = 172, |
199 | MX51_PAD_DISP1_DAT16 = 174, | 199 | MX51_PAD_DISP1_DAT16 = 173, |
200 | MX51_PAD_DISP1_DAT17 = 175, | 200 | MX51_PAD_DISP1_DAT17 = 174, |
201 | MX51_PAD_DISP1_DAT18 = 176, | 201 | MX51_PAD_DISP1_DAT18 = 175, |
202 | MX51_PAD_DISP1_DAT19 = 177, | 202 | MX51_PAD_DISP1_DAT19 = 176, |
203 | MX51_PAD_DISP1_DAT20 = 178, | 203 | MX51_PAD_DISP1_DAT20 = 177, |
204 | MX51_PAD_DISP1_DAT21 = 179, | 204 | MX51_PAD_DISP1_DAT21 = 178, |
205 | MX51_PAD_DISP1_DAT22 = 180, | 205 | MX51_PAD_DISP1_DAT22 = 179, |
206 | MX51_PAD_DISP1_DAT23 = 181, | 206 | MX51_PAD_DISP1_DAT23 = 180, |
207 | MX51_PAD_DI1_PIN3 = 182, | 207 | MX51_PAD_DI1_PIN3 = 181, |
208 | MX51_PAD_DI1_PIN2 = 183, | 208 | MX51_PAD_DI1_PIN2 = 182, |
209 | MX51_PAD_DI_GP2 = 184, | 209 | MX51_PAD_DI_GP2 = 183, |
210 | MX51_PAD_DI_GP3 = 185, | 210 | MX51_PAD_DI_GP3 = 184, |
211 | MX51_PAD_DI2_PIN4 = 186, | 211 | MX51_PAD_DI2_PIN4 = 185, |
212 | MX51_PAD_DI2_PIN2 = 187, | 212 | MX51_PAD_DI2_PIN2 = 186, |
213 | MX51_PAD_DI2_PIN3 = 188, | 213 | MX51_PAD_DI2_PIN3 = 187, |
214 | MX51_PAD_DI2_DISP_CLK = 189, | 214 | MX51_PAD_DI2_DISP_CLK = 188, |
215 | MX51_PAD_DI_GP4 = 190, | 215 | MX51_PAD_DI_GP4 = 189, |
216 | MX51_PAD_DISP2_DAT0 = 191, | 216 | MX51_PAD_DISP2_DAT0 = 190, |
217 | MX51_PAD_DISP2_DAT1 = 192, | 217 | MX51_PAD_DISP2_DAT1 = 191, |
218 | MX51_PAD_DISP2_DAT2 = 193, | 218 | MX51_PAD_DISP2_DAT2 = 192, |
219 | MX51_PAD_DISP2_DAT3 = 194, | 219 | MX51_PAD_DISP2_DAT3 = 193, |
220 | MX51_PAD_DISP2_DAT4 = 195, | 220 | MX51_PAD_DISP2_DAT4 = 194, |
221 | MX51_PAD_DISP2_DAT5 = 196, | 221 | MX51_PAD_DISP2_DAT5 = 195, |
222 | MX51_PAD_DISP2_DAT6 = 197, | 222 | MX51_PAD_DISP2_DAT6 = 196, |
223 | MX51_PAD_DISP2_DAT7 = 198, | 223 | MX51_PAD_DISP2_DAT7 = 197, |
224 | MX51_PAD_DISP2_DAT8 = 199, | 224 | MX51_PAD_DISP2_DAT8 = 198, |
225 | MX51_PAD_DISP2_DAT9 = 200, | 225 | MX51_PAD_DISP2_DAT9 = 199, |
226 | MX51_PAD_DISP2_DAT10 = 201, | 226 | MX51_PAD_DISP2_DAT10 = 200, |
227 | MX51_PAD_DISP2_DAT11 = 202, | 227 | MX51_PAD_DISP2_DAT11 = 201, |
228 | MX51_PAD_DISP2_DAT12 = 203, | 228 | MX51_PAD_DISP2_DAT12 = 202, |
229 | MX51_PAD_DISP2_DAT13 = 204, | 229 | MX51_PAD_DISP2_DAT13 = 203, |
230 | MX51_PAD_DISP2_DAT14 = 205, | 230 | MX51_PAD_DISP2_DAT14 = 204, |
231 | MX51_PAD_DISP2_DAT15 = 206, | 231 | MX51_PAD_DISP2_DAT15 = 205, |
232 | MX51_PAD_SD1_CMD = 207, | 232 | MX51_PAD_SD1_CMD = 206, |
233 | MX51_PAD_SD1_CLK = 208, | 233 | MX51_PAD_SD1_CLK = 207, |
234 | MX51_PAD_SD1_DATA0 = 209, | 234 | MX51_PAD_SD1_DATA0 = 208, |
235 | MX51_PAD_EIM_DA0 = 210, | 235 | MX51_PAD_EIM_DA0 = 209, |
236 | MX51_PAD_EIM_DA1 = 211, | 236 | MX51_PAD_EIM_DA1 = 210, |
237 | MX51_PAD_EIM_DA2 = 212, | 237 | MX51_PAD_EIM_DA2 = 211, |
238 | MX51_PAD_EIM_DA3 = 213, | 238 | MX51_PAD_EIM_DA3 = 212, |
239 | MX51_PAD_SD1_DATA1 = 214, | 239 | MX51_PAD_SD1_DATA1 = 213, |
240 | MX51_PAD_EIM_DA4 = 215, | 240 | MX51_PAD_EIM_DA4 = 214, |
241 | MX51_PAD_EIM_DA5 = 216, | 241 | MX51_PAD_EIM_DA5 = 215, |
242 | MX51_PAD_EIM_DA6 = 217, | 242 | MX51_PAD_EIM_DA6 = 216, |
243 | MX51_PAD_EIM_DA7 = 218, | 243 | MX51_PAD_EIM_DA7 = 217, |
244 | MX51_PAD_SD1_DATA2 = 219, | 244 | MX51_PAD_SD1_DATA2 = 218, |
245 | MX51_PAD_EIM_DA10 = 220, | 245 | MX51_PAD_EIM_DA10 = 219, |
246 | MX51_PAD_EIM_DA11 = 221, | 246 | MX51_PAD_EIM_DA11 = 220, |
247 | MX51_PAD_EIM_DA8 = 222, | 247 | MX51_PAD_EIM_DA8 = 221, |
248 | MX51_PAD_EIM_DA9 = 223, | 248 | MX51_PAD_EIM_DA9 = 222, |
249 | MX51_PAD_SD1_DATA3 = 224, | 249 | MX51_PAD_SD1_DATA3 = 223, |
250 | MX51_PAD_GPIO1_0 = 225, | 250 | MX51_PAD_GPIO1_0 = 224, |
251 | MX51_PAD_GPIO1_1 = 226, | 251 | MX51_PAD_GPIO1_1 = 225, |
252 | MX51_PAD_EIM_DA12 = 227, | 252 | MX51_PAD_EIM_DA12 = 226, |
253 | MX51_PAD_EIM_DA13 = 228, | 253 | MX51_PAD_EIM_DA13 = 227, |
254 | MX51_PAD_EIM_DA14 = 229, | 254 | MX51_PAD_EIM_DA14 = 228, |
255 | MX51_PAD_EIM_DA15 = 230, | 255 | MX51_PAD_EIM_DA15 = 229, |
256 | MX51_PAD_SD2_CMD = 231, | 256 | MX51_PAD_SD2_CMD = 230, |
257 | MX51_PAD_SD2_CLK = 232, | 257 | MX51_PAD_SD2_CLK = 231, |
258 | MX51_PAD_SD2_DATA0 = 233, | 258 | MX51_PAD_SD2_DATA0 = 232, |
259 | MX51_PAD_SD2_DATA1 = 234, | 259 | MX51_PAD_SD2_DATA1 = 233, |
260 | MX51_PAD_SD2_DATA2 = 235, | 260 | MX51_PAD_SD2_DATA2 = 234, |
261 | MX51_PAD_SD2_DATA3 = 236, | 261 | MX51_PAD_SD2_DATA3 = 235, |
262 | MX51_PAD_GPIO1_2 = 237, | 262 | MX51_PAD_GPIO1_2 = 236, |
263 | MX51_PAD_GPIO1_3 = 238, | 263 | MX51_PAD_GPIO1_3 = 237, |
264 | MX51_PAD_PMIC_INT_REQ = 239, | 264 | MX51_PAD_PMIC_INT_REQ = 238, |
265 | MX51_PAD_GPIO1_4 = 240, | 265 | MX51_PAD_GPIO1_4 = 239, |
266 | MX51_PAD_GPIO1_5 = 241, | 266 | MX51_PAD_GPIO1_5 = 240, |
267 | MX51_PAD_GPIO1_6 = 242, | 267 | MX51_PAD_GPIO1_6 = 241, |
268 | MX51_PAD_GPIO1_7 = 243, | 268 | MX51_PAD_GPIO1_7 = 242, |
269 | MX51_PAD_GPIO1_8 = 244, | 269 | MX51_PAD_GPIO1_8 = 243, |
270 | MX51_PAD_GPIO1_9 = 245, | 270 | MX51_PAD_GPIO1_9 = 244, |
271 | }; | 271 | }; |
272 | 272 | ||
273 | /* imx51 register maps */ | 273 | /* imx51 register maps */ |
diff --git a/drivers/pinctrl/pinctrl-imx53.c b/drivers/pinctrl/pinctrl-imx53.c index 1f49e16a9bcd..783feb1ce064 100644 --- a/drivers/pinctrl/pinctrl-imx53.c +++ b/drivers/pinctrl/pinctrl-imx53.c | |||
@@ -23,207 +23,207 @@ | |||
23 | #include "pinctrl-imx.h" | 23 | #include "pinctrl-imx.h" |
24 | 24 | ||
25 | enum imx53_pads { | 25 | enum imx53_pads { |
26 | MX53_PAD_GPIO_19 = 1, | 26 | MX53_PAD_GPIO_19 = 0, |
27 | MX53_PAD_KEY_COL0 = 2, | 27 | MX53_PAD_KEY_COL0 = 1, |
28 | MX53_PAD_KEY_ROW0 = 3, | 28 | MX53_PAD_KEY_ROW0 = 2, |
29 | MX53_PAD_KEY_COL1 = 4, | 29 | MX53_PAD_KEY_COL1 = 3, |
30 | MX53_PAD_KEY_ROW1 = 5, | 30 | MX53_PAD_KEY_ROW1 = 4, |
31 | MX53_PAD_KEY_COL2 = 6, | 31 | MX53_PAD_KEY_COL2 = 5, |
32 | MX53_PAD_KEY_ROW2 = 7, | 32 | MX53_PAD_KEY_ROW2 = 6, |
33 | MX53_PAD_KEY_COL3 = 8, | 33 | MX53_PAD_KEY_COL3 = 7, |
34 | MX53_PAD_KEY_ROW3 = 9, | 34 | MX53_PAD_KEY_ROW3 = 8, |
35 | MX53_PAD_KEY_COL4 = 10, | 35 | MX53_PAD_KEY_COL4 = 9, |
36 | MX53_PAD_KEY_ROW4 = 11, | 36 | MX53_PAD_KEY_ROW4 = 10, |
37 | MX53_PAD_DI0_DISP_CLK = 12, | 37 | MX53_PAD_DI0_DISP_CLK = 11, |
38 | MX53_PAD_DI0_PIN15 = 13, | 38 | MX53_PAD_DI0_PIN15 = 12, |
39 | MX53_PAD_DI0_PIN2 = 14, | 39 | MX53_PAD_DI0_PIN2 = 13, |
40 | MX53_PAD_DI0_PIN3 = 15, | 40 | MX53_PAD_DI0_PIN3 = 14, |
41 | MX53_PAD_DI0_PIN4 = 16, | 41 | MX53_PAD_DI0_PIN4 = 15, |
42 | MX53_PAD_DISP0_DAT0 = 17, | 42 | MX53_PAD_DISP0_DAT0 = 16, |
43 | MX53_PAD_DISP0_DAT1 = 18, | 43 | MX53_PAD_DISP0_DAT1 = 17, |
44 | MX53_PAD_DISP0_DAT2 = 19, | 44 | MX53_PAD_DISP0_DAT2 = 18, |
45 | MX53_PAD_DISP0_DAT3 = 20, | 45 | MX53_PAD_DISP0_DAT3 = 19, |
46 | MX53_PAD_DISP0_DAT4 = 21, | 46 | MX53_PAD_DISP0_DAT4 = 20, |
47 | MX53_PAD_DISP0_DAT5 = 22, | 47 | MX53_PAD_DISP0_DAT5 = 21, |
48 | MX53_PAD_DISP0_DAT6 = 23, | 48 | MX53_PAD_DISP0_DAT6 = 22, |
49 | MX53_PAD_DISP0_DAT7 = 24, | 49 | MX53_PAD_DISP0_DAT7 = 23, |
50 | MX53_PAD_DISP0_DAT8 = 25, | 50 | MX53_PAD_DISP0_DAT8 = 24, |
51 | MX53_PAD_DISP0_DAT9 = 26, | 51 | MX53_PAD_DISP0_DAT9 = 25, |
52 | MX53_PAD_DISP0_DAT10 = 27, | 52 | MX53_PAD_DISP0_DAT10 = 26, |
53 | MX53_PAD_DISP0_DAT11 = 28, | 53 | MX53_PAD_DISP0_DAT11 = 27, |
54 | MX53_PAD_DISP0_DAT12 = 29, | 54 | MX53_PAD_DISP0_DAT12 = 28, |
55 | MX53_PAD_DISP0_DAT13 = 30, | 55 | MX53_PAD_DISP0_DAT13 = 29, |
56 | MX53_PAD_DISP0_DAT14 = 31, | 56 | MX53_PAD_DISP0_DAT14 = 30, |
57 | MX53_PAD_DISP0_DAT15 = 32, | 57 | MX53_PAD_DISP0_DAT15 = 31, |
58 | MX53_PAD_DISP0_DAT16 = 33, | 58 | MX53_PAD_DISP0_DAT16 = 32, |
59 | MX53_PAD_DISP0_DAT17 = 34, | 59 | MX53_PAD_DISP0_DAT17 = 33, |
60 | MX53_PAD_DISP0_DAT18 = 35, | 60 | MX53_PAD_DISP0_DAT18 = 34, |
61 | MX53_PAD_DISP0_DAT19 = 36, | 61 | MX53_PAD_DISP0_DAT19 = 35, |
62 | MX53_PAD_DISP0_DAT20 = 37, | 62 | MX53_PAD_DISP0_DAT20 = 36, |
63 | MX53_PAD_DISP0_DAT21 = 38, | 63 | MX53_PAD_DISP0_DAT21 = 37, |
64 | MX53_PAD_DISP0_DAT22 = 39, | 64 | MX53_PAD_DISP0_DAT22 = 38, |
65 | MX53_PAD_DISP0_DAT23 = 40, | 65 | MX53_PAD_DISP0_DAT23 = 39, |
66 | MX53_PAD_CSI0_PIXCLK = 41, | 66 | MX53_PAD_CSI0_PIXCLK = 40, |
67 | MX53_PAD_CSI0_MCLK = 42, | 67 | MX53_PAD_CSI0_MCLK = 41, |
68 | MX53_PAD_CSI0_DATA_EN = 43, | 68 | MX53_PAD_CSI0_DATA_EN = 42, |
69 | MX53_PAD_CSI0_VSYNC = 44, | 69 | MX53_PAD_CSI0_VSYNC = 43, |
70 | MX53_PAD_CSI0_DAT4 = 45, | 70 | MX53_PAD_CSI0_DAT4 = 44, |
71 | MX53_PAD_CSI0_DAT5 = 46, | 71 | MX53_PAD_CSI0_DAT5 = 45, |
72 | MX53_PAD_CSI0_DAT6 = 47, | 72 | MX53_PAD_CSI0_DAT6 = 46, |
73 | MX53_PAD_CSI0_DAT7 = 48, | 73 | MX53_PAD_CSI0_DAT7 = 47, |
74 | MX53_PAD_CSI0_DAT8 = 49, | 74 | MX53_PAD_CSI0_DAT8 = 48, |
75 | MX53_PAD_CSI0_DAT9 = 50, | 75 | MX53_PAD_CSI0_DAT9 = 49, |
76 | MX53_PAD_CSI0_DAT10 = 51, | 76 | MX53_PAD_CSI0_DAT10 = 50, |
77 | MX53_PAD_CSI0_DAT11 = 52, | 77 | MX53_PAD_CSI0_DAT11 = 51, |
78 | MX53_PAD_CSI0_DAT12 = 53, | 78 | MX53_PAD_CSI0_DAT12 = 52, |
79 | MX53_PAD_CSI0_DAT13 = 54, | 79 | MX53_PAD_CSI0_DAT13 = 53, |
80 | MX53_PAD_CSI0_DAT14 = 55, | 80 | MX53_PAD_CSI0_DAT14 = 54, |
81 | MX53_PAD_CSI0_DAT15 = 56, | 81 | MX53_PAD_CSI0_DAT15 = 55, |
82 | MX53_PAD_CSI0_DAT16 = 57, | 82 | MX53_PAD_CSI0_DAT16 = 56, |
83 | MX53_PAD_CSI0_DAT17 = 58, | 83 | MX53_PAD_CSI0_DAT17 = 57, |
84 | MX53_PAD_CSI0_DAT18 = 59, | 84 | MX53_PAD_CSI0_DAT18 = 58, |
85 | MX53_PAD_CSI0_DAT19 = 60, | 85 | MX53_PAD_CSI0_DAT19 = 59, |
86 | MX53_PAD_EIM_A25 = 61, | 86 | MX53_PAD_EIM_A25 = 60, |
87 | MX53_PAD_EIM_EB2 = 62, | 87 | MX53_PAD_EIM_EB2 = 61, |
88 | MX53_PAD_EIM_D16 = 63, | 88 | MX53_PAD_EIM_D16 = 62, |
89 | MX53_PAD_EIM_D17 = 64, | 89 | MX53_PAD_EIM_D17 = 63, |
90 | MX53_PAD_EIM_D18 = 65, | 90 | MX53_PAD_EIM_D18 = 64, |
91 | MX53_PAD_EIM_D19 = 66, | 91 | MX53_PAD_EIM_D19 = 65, |
92 | MX53_PAD_EIM_D20 = 67, | 92 | MX53_PAD_EIM_D20 = 66, |
93 | MX53_PAD_EIM_D21 = 68, | 93 | MX53_PAD_EIM_D21 = 67, |
94 | MX53_PAD_EIM_D22 = 69, | 94 | MX53_PAD_EIM_D22 = 68, |
95 | MX53_PAD_EIM_D23 = 70, | 95 | MX53_PAD_EIM_D23 = 69, |
96 | MX53_PAD_EIM_EB3 = 71, | 96 | MX53_PAD_EIM_EB3 = 70, |
97 | MX53_PAD_EIM_D24 = 72, | 97 | MX53_PAD_EIM_D24 = 71, |
98 | MX53_PAD_EIM_D25 = 73, | 98 | MX53_PAD_EIM_D25 = 72, |
99 | MX53_PAD_EIM_D26 = 74, | 99 | MX53_PAD_EIM_D26 = 73, |
100 | MX53_PAD_EIM_D27 = 75, | 100 | MX53_PAD_EIM_D27 = 74, |
101 | MX53_PAD_EIM_D28 = 76, | 101 | MX53_PAD_EIM_D28 = 75, |
102 | MX53_PAD_EIM_D29 = 77, | 102 | MX53_PAD_EIM_D29 = 76, |
103 | MX53_PAD_EIM_D30 = 78, | 103 | MX53_PAD_EIM_D30 = 77, |
104 | MX53_PAD_EIM_D31 = 79, | 104 | MX53_PAD_EIM_D31 = 78, |
105 | MX53_PAD_EIM_A24 = 80, | 105 | MX53_PAD_EIM_A24 = 79, |
106 | MX53_PAD_EIM_A23 = 81, | 106 | MX53_PAD_EIM_A23 = 80, |
107 | MX53_PAD_EIM_A22 = 82, | 107 | MX53_PAD_EIM_A22 = 81, |
108 | MX53_PAD_EIM_A21 = 83, | 108 | MX53_PAD_EIM_A21 = 82, |
109 | MX53_PAD_EIM_A20 = 84, | 109 | MX53_PAD_EIM_A20 = 83, |
110 | MX53_PAD_EIM_A19 = 85, | 110 | MX53_PAD_EIM_A19 = 84, |
111 | MX53_PAD_EIM_A18 = 86, | 111 | MX53_PAD_EIM_A18 = 85, |
112 | MX53_PAD_EIM_A17 = 87, | 112 | MX53_PAD_EIM_A17 = 86, |
113 | MX53_PAD_EIM_A16 = 88, | 113 | MX53_PAD_EIM_A16 = 87, |
114 | MX53_PAD_EIM_CS0 = 89, | 114 | MX53_PAD_EIM_CS0 = 88, |
115 | MX53_PAD_EIM_CS1 = 90, | 115 | MX53_PAD_EIM_CS1 = 89, |
116 | MX53_PAD_EIM_OE = 91, | 116 | MX53_PAD_EIM_OE = 90, |
117 | MX53_PAD_EIM_RW = 92, | 117 | MX53_PAD_EIM_RW = 91, |
118 | MX53_PAD_EIM_LBA = 93, | 118 | MX53_PAD_EIM_LBA = 92, |
119 | MX53_PAD_EIM_EB0 = 94, | 119 | MX53_PAD_EIM_EB0 = 93, |
120 | MX53_PAD_EIM_EB1 = 95, | 120 | MX53_PAD_EIM_EB1 = 94, |
121 | MX53_PAD_EIM_DA0 = 96, | 121 | MX53_PAD_EIM_DA0 = 95, |
122 | MX53_PAD_EIM_DA1 = 97, | 122 | MX53_PAD_EIM_DA1 = 96, |
123 | MX53_PAD_EIM_DA2 = 98, | 123 | MX53_PAD_EIM_DA2 = 97, |
124 | MX53_PAD_EIM_DA3 = 99, | 124 | MX53_PAD_EIM_DA3 = 98, |
125 | MX53_PAD_EIM_DA4 = 100, | 125 | MX53_PAD_EIM_DA4 = 99, |
126 | MX53_PAD_EIM_DA5 = 101, | 126 | MX53_PAD_EIM_DA5 = 100, |
127 | MX53_PAD_EIM_DA6 = 102, | 127 | MX53_PAD_EIM_DA6 = 101, |
128 | MX53_PAD_EIM_DA7 = 103, | 128 | MX53_PAD_EIM_DA7 = 102, |
129 | MX53_PAD_EIM_DA8 = 104, | 129 | MX53_PAD_EIM_DA8 = 103, |
130 | MX53_PAD_EIM_DA9 = 105, | 130 | MX53_PAD_EIM_DA9 = 104, |
131 | MX53_PAD_EIM_DA10 = 106, | 131 | MX53_PAD_EIM_DA10 = 105, |
132 | MX53_PAD_EIM_DA11 = 107, | 132 | MX53_PAD_EIM_DA11 = 106, |
133 | MX53_PAD_EIM_DA12 = 108, | 133 | MX53_PAD_EIM_DA12 = 107, |
134 | MX53_PAD_EIM_DA13 = 109, | 134 | MX53_PAD_EIM_DA13 = 108, |
135 | MX53_PAD_EIM_DA14 = 110, | 135 | MX53_PAD_EIM_DA14 = 109, |
136 | MX53_PAD_EIM_DA15 = 111, | 136 | MX53_PAD_EIM_DA15 = 110, |
137 | MX53_PAD_NANDF_WE_B = 112, | 137 | MX53_PAD_NANDF_WE_B = 111, |
138 | MX53_PAD_NANDF_RE_B = 113, | 138 | MX53_PAD_NANDF_RE_B = 112, |
139 | MX53_PAD_EIM_WAIT = 114, | 139 | MX53_PAD_EIM_WAIT = 113, |
140 | MX53_PAD_LVDS1_TX3_P = 115, | 140 | MX53_PAD_LVDS1_TX3_P = 114, |
141 | MX53_PAD_LVDS1_TX2_P = 116, | 141 | MX53_PAD_LVDS1_TX2_P = 115, |
142 | MX53_PAD_LVDS1_CLK_P = 117, | 142 | MX53_PAD_LVDS1_CLK_P = 116, |
143 | MX53_PAD_LVDS1_TX1_P = 118, | 143 | MX53_PAD_LVDS1_TX1_P = 117, |
144 | MX53_PAD_LVDS1_TX0_P = 119, | 144 | MX53_PAD_LVDS1_TX0_P = 118, |
145 | MX53_PAD_LVDS0_TX3_P = 120, | 145 | MX53_PAD_LVDS0_TX3_P = 119, |
146 | MX53_PAD_LVDS0_CLK_P = 121, | 146 | MX53_PAD_LVDS0_CLK_P = 120, |
147 | MX53_PAD_LVDS0_TX2_P = 122, | 147 | MX53_PAD_LVDS0_TX2_P = 121, |
148 | MX53_PAD_LVDS0_TX1_P = 123, | 148 | MX53_PAD_LVDS0_TX1_P = 122, |
149 | MX53_PAD_LVDS0_TX0_P = 124, | 149 | MX53_PAD_LVDS0_TX0_P = 123, |
150 | MX53_PAD_GPIO_10 = 125, | 150 | MX53_PAD_GPIO_10 = 124, |
151 | MX53_PAD_GPIO_11 = 126, | 151 | MX53_PAD_GPIO_11 = 125, |
152 | MX53_PAD_GPIO_12 = 127, | 152 | MX53_PAD_GPIO_12 = 126, |
153 | MX53_PAD_GPIO_13 = 128, | 153 | MX53_PAD_GPIO_13 = 127, |
154 | MX53_PAD_GPIO_14 = 129, | 154 | MX53_PAD_GPIO_14 = 128, |
155 | MX53_PAD_NANDF_CLE = 130, | 155 | MX53_PAD_NANDF_CLE = 129, |
156 | MX53_PAD_NANDF_ALE = 131, | 156 | MX53_PAD_NANDF_ALE = 130, |
157 | MX53_PAD_NANDF_WP_B = 132, | 157 | MX53_PAD_NANDF_WP_B = 131, |
158 | MX53_PAD_NANDF_RB0 = 133, | 158 | MX53_PAD_NANDF_RB0 = 132, |
159 | MX53_PAD_NANDF_CS0 = 134, | 159 | MX53_PAD_NANDF_CS0 = 133, |
160 | MX53_PAD_NANDF_CS1 = 135, | 160 | MX53_PAD_NANDF_CS1 = 134, |
161 | MX53_PAD_NANDF_CS2 = 136, | 161 | MX53_PAD_NANDF_CS2 = 135, |
162 | MX53_PAD_NANDF_CS3 = 137, | 162 | MX53_PAD_NANDF_CS3 = 136, |
163 | MX53_PAD_FEC_MDIO = 138, | 163 | MX53_PAD_FEC_MDIO = 137, |
164 | MX53_PAD_FEC_REF_CLK = 139, | 164 | MX53_PAD_FEC_REF_CLK = 138, |
165 | MX53_PAD_FEC_RX_ER = 140, | 165 | MX53_PAD_FEC_RX_ER = 139, |
166 | MX53_PAD_FEC_CRS_DV = 141, | 166 | MX53_PAD_FEC_CRS_DV = 140, |
167 | MX53_PAD_FEC_RXD1 = 142, | 167 | MX53_PAD_FEC_RXD1 = 141, |
168 | MX53_PAD_FEC_RXD0 = 143, | 168 | MX53_PAD_FEC_RXD0 = 142, |
169 | MX53_PAD_FEC_TX_EN = 144, | 169 | MX53_PAD_FEC_TX_EN = 143, |
170 | MX53_PAD_FEC_TXD1 = 145, | 170 | MX53_PAD_FEC_TXD1 = 144, |
171 | MX53_PAD_FEC_TXD0 = 146, | 171 | MX53_PAD_FEC_TXD0 = 145, |
172 | MX53_PAD_FEC_MDC = 147, | 172 | MX53_PAD_FEC_MDC = 146, |
173 | MX53_PAD_PATA_DIOW = 148, | 173 | MX53_PAD_PATA_DIOW = 147, |
174 | MX53_PAD_PATA_DMACK = 149, | 174 | MX53_PAD_PATA_DMACK = 148, |
175 | MX53_PAD_PATA_DMARQ = 150, | 175 | MX53_PAD_PATA_DMARQ = 149, |
176 | MX53_PAD_PATA_BUFFER_EN = 151, | 176 | MX53_PAD_PATA_BUFFER_EN = 150, |
177 | MX53_PAD_PATA_INTRQ = 152, | 177 | MX53_PAD_PATA_INTRQ = 151, |
178 | MX53_PAD_PATA_DIOR = 153, | 178 | MX53_PAD_PATA_DIOR = 152, |
179 | MX53_PAD_PATA_RESET_B = 154, | 179 | MX53_PAD_PATA_RESET_B = 153, |
180 | MX53_PAD_PATA_IORDY = 155, | 180 | MX53_PAD_PATA_IORDY = 154, |
181 | MX53_PAD_PATA_DA_0 = 156, | 181 | MX53_PAD_PATA_DA_0 = 155, |
182 | MX53_PAD_PATA_DA_1 = 157, | 182 | MX53_PAD_PATA_DA_1 = 156, |
183 | MX53_PAD_PATA_DA_2 = 158, | 183 | MX53_PAD_PATA_DA_2 = 157, |
184 | MX53_PAD_PATA_CS_0 = 159, | 184 | MX53_PAD_PATA_CS_0 = 158, |
185 | MX53_PAD_PATA_CS_1 = 160, | 185 | MX53_PAD_PATA_CS_1 = 159, |
186 | MX53_PAD_PATA_DATA0 = 161, | 186 | MX53_PAD_PATA_DATA0 = 160, |
187 | MX53_PAD_PATA_DATA1 = 162, | 187 | MX53_PAD_PATA_DATA1 = 161, |
188 | MX53_PAD_PATA_DATA2 = 163, | 188 | MX53_PAD_PATA_DATA2 = 162, |
189 | MX53_PAD_PATA_DATA3 = 164, | 189 | MX53_PAD_PATA_DATA3 = 163, |
190 | MX53_PAD_PATA_DATA4 = 165, | 190 | MX53_PAD_PATA_DATA4 = 164, |
191 | MX53_PAD_PATA_DATA5 = 166, | 191 | MX53_PAD_PATA_DATA5 = 165, |
192 | MX53_PAD_PATA_DATA6 = 167, | 192 | MX53_PAD_PATA_DATA6 = 166, |
193 | MX53_PAD_PATA_DATA7 = 168, | 193 | MX53_PAD_PATA_DATA7 = 167, |
194 | MX53_PAD_PATA_DATA8 = 169, | 194 | MX53_PAD_PATA_DATA8 = 168, |
195 | MX53_PAD_PATA_DATA9 = 170, | 195 | MX53_PAD_PATA_DATA9 = 169, |
196 | MX53_PAD_PATA_DATA10 = 171, | 196 | MX53_PAD_PATA_DATA10 = 170, |
197 | MX53_PAD_PATA_DATA11 = 172, | 197 | MX53_PAD_PATA_DATA11 = 171, |
198 | MX53_PAD_PATA_DATA12 = 173, | 198 | MX53_PAD_PATA_DATA12 = 172, |
199 | MX53_PAD_PATA_DATA13 = 174, | 199 | MX53_PAD_PATA_DATA13 = 173, |
200 | MX53_PAD_PATA_DATA14 = 175, | 200 | MX53_PAD_PATA_DATA14 = 174, |
201 | MX53_PAD_PATA_DATA15 = 176, | 201 | MX53_PAD_PATA_DATA15 = 175, |
202 | MX53_PAD_SD1_DATA0 = 177, | 202 | MX53_PAD_SD1_DATA0 = 176, |
203 | MX53_PAD_SD1_DATA1 = 178, | 203 | MX53_PAD_SD1_DATA1 = 177, |
204 | MX53_PAD_SD1_CMD = 179, | 204 | MX53_PAD_SD1_CMD = 178, |
205 | MX53_PAD_SD1_DATA2 = 180, | 205 | MX53_PAD_SD1_DATA2 = 179, |
206 | MX53_PAD_SD1_CLK = 181, | 206 | MX53_PAD_SD1_CLK = 180, |
207 | MX53_PAD_SD1_DATA3 = 182, | 207 | MX53_PAD_SD1_DATA3 = 181, |
208 | MX53_PAD_SD2_CLK = 183, | 208 | MX53_PAD_SD2_CLK = 182, |
209 | MX53_PAD_SD2_CMD = 184, | 209 | MX53_PAD_SD2_CMD = 183, |
210 | MX53_PAD_SD2_DATA3 = 185, | 210 | MX53_PAD_SD2_DATA3 = 184, |
211 | MX53_PAD_SD2_DATA2 = 186, | 211 | MX53_PAD_SD2_DATA2 = 185, |
212 | MX53_PAD_SD2_DATA1 = 187, | 212 | MX53_PAD_SD2_DATA1 = 186, |
213 | MX53_PAD_SD2_DATA0 = 188, | 213 | MX53_PAD_SD2_DATA0 = 187, |
214 | MX53_PAD_GPIO_0 = 189, | 214 | MX53_PAD_GPIO_0 = 188, |
215 | MX53_PAD_GPIO_1 = 190, | 215 | MX53_PAD_GPIO_1 = 189, |
216 | MX53_PAD_GPIO_9 = 191, | 216 | MX53_PAD_GPIO_9 = 190, |
217 | MX53_PAD_GPIO_3 = 192, | 217 | MX53_PAD_GPIO_3 = 191, |
218 | MX53_PAD_GPIO_6 = 193, | 218 | MX53_PAD_GPIO_6 = 192, |
219 | MX53_PAD_GPIO_2 = 194, | 219 | MX53_PAD_GPIO_2 = 193, |
220 | MX53_PAD_GPIO_4 = 195, | 220 | MX53_PAD_GPIO_4 = 194, |
221 | MX53_PAD_GPIO_5 = 196, | 221 | MX53_PAD_GPIO_5 = 195, |
222 | MX53_PAD_GPIO_7 = 197, | 222 | MX53_PAD_GPIO_7 = 196, |
223 | MX53_PAD_GPIO_8 = 198, | 223 | MX53_PAD_GPIO_8 = 197, |
224 | MX53_PAD_GPIO_16 = 199, | 224 | MX53_PAD_GPIO_16 = 198, |
225 | MX53_PAD_GPIO_17 = 200, | 225 | MX53_PAD_GPIO_17 = 199, |
226 | MX53_PAD_GPIO_18 = 201, | 226 | MX53_PAD_GPIO_18 = 200, |
227 | }; | 227 | }; |
228 | 228 | ||
229 | /* imx53 register maps */ | 229 | /* imx53 register maps */ |