diff options
author | Fredrik Svensson <fredrik.xk.svensson@stericsson.com> | 2011-03-31 07:55:40 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2011-08-30 03:23:11 -0400 |
commit | 76525ec214449318f793ff05fa5b0ecd0afe41cd (patch) | |
tree | 2faa570e8cb713f61a9ad39c12b4ff89b9d63c65 /arch/arm/mach-ux500 | |
parent | 110c2c2f40647d31994c09f0afd1411e71f48a32 (diff) |
mach-ux500: remove pull-pinconfig and add SPI2
Remove PIN_CFG_PULL in pincfg.h for plat-nomadik, PIN_CFG_INPUT
already takes care of this. Added support for SPI2.
Signed-off-by: Fredrik Svensson <fredrik.xk.svensson@stericsson.com>
Signed-off-by: Daniel Willerud <daniel.willerud@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r-- | arch/arm/mach-ux500/pins-db8500.h | 142 |
1 files changed, 73 insertions, 69 deletions
diff --git a/arch/arm/mach-ux500/pins-db8500.h b/arch/arm/mach-ux500/pins-db8500.h index f923764ee16c..8b1d1a7a679e 100644 --- a/arch/arm/mach-ux500/pins-db8500.h +++ b/arch/arm/mach-ux500/pins-db8500.h | |||
@@ -35,40 +35,40 @@ | |||
35 | 35 | ||
36 | #define GPIO4_GPIO PIN_CFG(4, GPIO) | 36 | #define GPIO4_GPIO PIN_CFG(4, GPIO) |
37 | #define GPIO4_U1_RXD PIN_CFG(4, ALT_A) | 37 | #define GPIO4_U1_RXD PIN_CFG(4, ALT_A) |
38 | #define GPIO4_I2C4_SCL PIN_CFG_PULL(4, ALT_B, UP) | 38 | #define GPIO4_I2C4_SCL PIN_CFG_INPUT(4, ALT_B, PULLUP) |
39 | #define GPIO4_IP_TRSTn PIN_CFG(4, ALT_C) | 39 | #define GPIO4_IP_TRSTn PIN_CFG(4, ALT_C) |
40 | 40 | ||
41 | #define GPIO5_GPIO PIN_CFG(5, GPIO) | 41 | #define GPIO5_GPIO PIN_CFG(5, GPIO) |
42 | #define GPIO5_U1_TXD PIN_CFG(5, ALT_A) | 42 | #define GPIO5_U1_TXD PIN_CFG(5, ALT_A) |
43 | #define GPIO5_I2C4_SDA PIN_CFG_PULL(5, ALT_B, UP) | 43 | #define GPIO5_I2C4_SDA PIN_CFG_INPUT(5, ALT_B, PULLUP) |
44 | #define GPIO5_IP_GPIO6 PIN_CFG(5, ALT_C) | 44 | #define GPIO5_IP_GPIO6 PIN_CFG(5, ALT_C) |
45 | 45 | ||
46 | #define GPIO6_GPIO PIN_CFG(6, GPIO) | 46 | #define GPIO6_GPIO PIN_CFG(6, GPIO) |
47 | #define GPIO6_U1_CTSn PIN_CFG(6, ALT_A) | 47 | #define GPIO6_U1_CTSn PIN_CFG(6, ALT_A) |
48 | #define GPIO6_I2C1_SCL PIN_CFG_PULL(6, ALT_B, UP) | 48 | #define GPIO6_I2C1_SCL PIN_CFG_INPUT(6, ALT_B, PULLUP) |
49 | #define GPIO6_IP_GPIO0 PIN_CFG(6, ALT_C) | 49 | #define GPIO6_IP_GPIO0 PIN_CFG(6, ALT_C) |
50 | 50 | ||
51 | #define GPIO7_GPIO PIN_CFG(7, GPIO) | 51 | #define GPIO7_GPIO PIN_CFG(7, GPIO) |
52 | #define GPIO7_U1_RTSn PIN_CFG(7, ALT_A) | 52 | #define GPIO7_U1_RTSn PIN_CFG(7, ALT_A) |
53 | #define GPIO7_I2C1_SDA PIN_CFG_PULL(7, ALT_B, UP) | 53 | #define GPIO7_I2C1_SDA PIN_CFG_INPUT(7, ALT_B, PULLUP) |
54 | #define GPIO7_IP_GPIO1 PIN_CFG(7, ALT_C) | 54 | #define GPIO7_IP_GPIO1 PIN_CFG(7, ALT_C) |
55 | 55 | ||
56 | #define GPIO8_GPIO PIN_CFG(8, GPIO) | 56 | #define GPIO8_GPIO PIN_CFG(8, GPIO) |
57 | #define GPIO8_IPI2C_SDA PIN_CFG_PULL(8, ALT_A, UP) | 57 | #define GPIO8_IPI2C_SDA PIN_CFG_INPUT(8, ALT_A, PULLUP) |
58 | #define GPIO8_I2C2_SDA PIN_CFG_PULL(8, ALT_B, UP) | 58 | #define GPIO8_I2C2_SDA PIN_CFG_INPUT(8, ALT_B, PULLUP) |
59 | 59 | ||
60 | #define GPIO9_GPIO PIN_CFG(9, GPIO) | 60 | #define GPIO9_GPIO PIN_CFG(9, GPIO) |
61 | #define GPIO9_IPI2C_SCL PIN_CFG_PULL(9, ALT_A, UP) | 61 | #define GPIO9_IPI2C_SCL PIN_CFG_INPUT(9, ALT_A, PULLUP) |
62 | #define GPIO9_I2C2_SCL PIN_CFG_PULL(9, ALT_B, UP) | 62 | #define GPIO9_I2C2_SCL PIN_CFG_INPUT(9, ALT_B, PULLUP) |
63 | 63 | ||
64 | #define GPIO10_GPIO PIN_CFG(10, GPIO) | 64 | #define GPIO10_GPIO PIN_CFG(10, GPIO) |
65 | #define GPIO10_IPI2C_SDA PIN_CFG_PULL(10, ALT_A, UP) | 65 | #define GPIO10_IPI2C_SDA PIN_CFG_INPUT(10, ALT_A, PULLUP) |
66 | #define GPIO10_I2C2_SDA PIN_CFG_PULL(10, ALT_B, UP) | 66 | #define GPIO10_I2C2_SDA PIN_CFG_INPUT(10, ALT_B, PULLUP) |
67 | #define GPIO10_IP_GPIO3 PIN_CFG(10, ALT_C) | 67 | #define GPIO10_IP_GPIO3 PIN_CFG(10, ALT_C) |
68 | 68 | ||
69 | #define GPIO11_GPIO PIN_CFG(11, GPIO) | 69 | #define GPIO11_GPIO PIN_CFG(11, GPIO) |
70 | #define GPIO11_IPI2C_SCL PIN_CFG_PULL(11, ALT_A, UP) | 70 | #define GPIO11_IPI2C_SCL PIN_CFG_INPUT(11, ALT_A, PULLUP) |
71 | #define GPIO11_I2C2_SCL PIN_CFG_PULL(11, ALT_B, UP) | 71 | #define GPIO11_I2C2_SCL PIN_CFG_INPUT(11, ALT_B, PULLUP) |
72 | #define GPIO11_IP_GPIO2 PIN_CFG(11, ALT_C) | 72 | #define GPIO11_IP_GPIO2 PIN_CFG(11, ALT_C) |
73 | 73 | ||
74 | #define GPIO12_GPIO PIN_CFG(12, GPIO) | 74 | #define GPIO12_GPIO PIN_CFG(12, GPIO) |
@@ -87,66 +87,66 @@ | |||
87 | 87 | ||
88 | #define GPIO16_GPIO PIN_CFG(16, GPIO) | 88 | #define GPIO16_GPIO PIN_CFG(16, GPIO) |
89 | #define GPIO16_MSP0_RFS PIN_CFG(16, ALT_A) | 89 | #define GPIO16_MSP0_RFS PIN_CFG(16, ALT_A) |
90 | #define GPIO16_I2C1_SCL PIN_CFG_PULL(16, ALT_B, UP) | 90 | #define GPIO16_I2C1_SCL PIN_CFG_INPUT(16, ALT_B, PULLUP) |
91 | #define GPIO16_SLIM0_DAT PIN_CFG(16, ALT_C) | 91 | #define GPIO16_SLIM0_DAT PIN_CFG(16, ALT_C) |
92 | 92 | ||
93 | #define GPIO17_GPIO PIN_CFG(17, GPIO) | 93 | #define GPIO17_GPIO PIN_CFG(17, GPIO) |
94 | #define GPIO17_MSP0_RCK PIN_CFG(17, ALT_A) | 94 | #define GPIO17_MSP0_RCK PIN_CFG(17, ALT_A) |
95 | #define GPIO17_I2C1_SDA PIN_CFG_PULL(17, ALT_B, UP) | 95 | #define GPIO17_I2C1_SDA PIN_CFG_INPUT(17, ALT_B, PULLUP) |
96 | #define GPIO17_SLIM0_CLK PIN_CFG(17, ALT_C) | 96 | #define GPIO17_SLIM0_CLK PIN_CFG(17, ALT_C) |
97 | 97 | ||
98 | #define GPIO18_GPIO PIN_CFG(18, GPIO) | 98 | #define GPIO18_GPIO PIN_CFG(18, GPIO) |
99 | #define GPIO18_MC0_CMDDIR PIN_CFG_PULL(18, ALT_A, UP) | 99 | #define GPIO18_MC0_CMDDIR PIN_CFG_INPUT(18, ALT_A, PULLUP) |
100 | #define GPIO18_U2_RXD PIN_CFG(18, ALT_B) | 100 | #define GPIO18_U2_RXD PIN_CFG(18, ALT_B) |
101 | #define GPIO18_MS_IEP PIN_CFG(18, ALT_C) | 101 | #define GPIO18_MS_IEP PIN_CFG(18, ALT_C) |
102 | 102 | ||
103 | #define GPIO19_GPIO PIN_CFG(19, GPIO) | 103 | #define GPIO19_GPIO PIN_CFG(19, GPIO) |
104 | #define GPIO19_MC0_DAT0DIR PIN_CFG_PULL(19, ALT_A, UP) | 104 | #define GPIO19_MC0_DAT0DIR PIN_CFG_INPUT(19, ALT_A, PULLUP) |
105 | #define GPIO19_U2_TXD PIN_CFG(19, ALT_B) | 105 | #define GPIO19_U2_TXD PIN_CFG(19, ALT_B) |
106 | #define GPIO19_MS_DAT0DIR PIN_CFG(19, ALT_C) | 106 | #define GPIO19_MS_DAT0DIR PIN_CFG(19, ALT_C) |
107 | 107 | ||
108 | #define GPIO20_GPIO PIN_CFG(20, GPIO) | 108 | #define GPIO20_GPIO PIN_CFG(20, GPIO) |
109 | #define GPIO20_MC0_DAT2DIR PIN_CFG_PULL(20, ALT_A, UP) | 109 | #define GPIO20_MC0_DAT2DIR PIN_CFG_INPUT(20, ALT_A, PULLUP) |
110 | #define GPIO20_UARTMOD_TXD PIN_CFG(20, ALT_B) | 110 | #define GPIO20_UARTMOD_TXD PIN_CFG(20, ALT_B) |
111 | #define GPIO20_IP_TRIGOUT PIN_CFG(20, ALT_C) | 111 | #define GPIO20_IP_TRIGOUT PIN_CFG(20, ALT_C) |
112 | 112 | ||
113 | #define GPIO21_GPIO PIN_CFG(21, GPIO) | 113 | #define GPIO21_GPIO PIN_CFG(21, GPIO) |
114 | #define GPIO21_MC0_DAT31DIR PIN_CFG_PULL(21, ALT_A, UP) | 114 | #define GPIO21_MC0_DAT31DIR PIN_CFG_INPUT(21, ALT_A, PULLUP) |
115 | #define GPIO21_MSP0_SCK PIN_CFG(21, ALT_B) | 115 | #define GPIO21_MSP0_SCK PIN_CFG(21, ALT_B) |
116 | #define GPIO21_MS_DAT31DIR PIN_CFG(21, ALT_C) | 116 | #define GPIO21_MS_DAT31DIR PIN_CFG(21, ALT_C) |
117 | 117 | ||
118 | #define GPIO22_GPIO PIN_CFG(22, GPIO) | 118 | #define GPIO22_GPIO PIN_CFG(22, GPIO) |
119 | #define GPIO22_MC0_FBCLK PIN_CFG_PULL(22, ALT_A, UP) | 119 | #define GPIO22_MC0_FBCLK PIN_CFG_INPUT(22, ALT_A, PULLUP) |
120 | #define GPIO22_UARTMOD_RXD PIN_CFG(22, ALT_B) | 120 | #define GPIO22_UARTMOD_RXD PIN_CFG(22, ALT_B) |
121 | #define GPIO22_MS_FBCLK PIN_CFG(22, ALT_C) | 121 | #define GPIO22_MS_FBCLK PIN_CFG(22, ALT_C) |
122 | 122 | ||
123 | #define GPIO23_GPIO PIN_CFG(23, GPIO) | 123 | #define GPIO23_GPIO PIN_CFG(23, GPIO) |
124 | #define GPIO23_MC0_CLK PIN_CFG_PULL(23, ALT_A, UP) | 124 | #define GPIO23_MC0_CLK PIN_CFG_INPUT(23, ALT_A, PULLUP) |
125 | #define GPIO23_STMMOD_CLK PIN_CFG(23, ALT_B) | 125 | #define GPIO23_STMMOD_CLK PIN_CFG(23, ALT_B) |
126 | #define GPIO23_MS_CLK PIN_CFG(23, ALT_C) | 126 | #define GPIO23_MS_CLK PIN_CFG(23, ALT_C) |
127 | 127 | ||
128 | #define GPIO24_GPIO PIN_CFG(24, GPIO) | 128 | #define GPIO24_GPIO PIN_CFG(24, GPIO) |
129 | #define GPIO24_MC0_CMD PIN_CFG_PULL(24, ALT_A, UP) | 129 | #define GPIO24_MC0_CMD PIN_CFG_INPUT(24, ALT_A, PULLUP) |
130 | #define GPIO24_UARTMOD_RXD PIN_CFG(24, ALT_B) | 130 | #define GPIO24_UARTMOD_RXD PIN_CFG(24, ALT_B) |
131 | #define GPIO24_MS_BS PIN_CFG(24, ALT_C) | 131 | #define GPIO24_MS_BS PIN_CFG(24, ALT_C) |
132 | 132 | ||
133 | #define GPIO25_GPIO PIN_CFG(25, GPIO) | 133 | #define GPIO25_GPIO PIN_CFG(25, GPIO) |
134 | #define GPIO25_MC0_DAT0 PIN_CFG_PULL(25, ALT_A, UP) | 134 | #define GPIO25_MC0_DAT0 PIN_CFG_INPUT(25, ALT_A, PULLUP) |
135 | #define GPIO25_STMMOD_DAT0 PIN_CFG(25, ALT_B) | 135 | #define GPIO25_STMMOD_DAT0 PIN_CFG(25, ALT_B) |
136 | #define GPIO25_MS_DAT0 PIN_CFG(25, ALT_C) | 136 | #define GPIO25_MS_DAT0 PIN_CFG(25, ALT_C) |
137 | 137 | ||
138 | #define GPIO26_GPIO PIN_CFG(26, GPIO) | 138 | #define GPIO26_GPIO PIN_CFG(26, GPIO) |
139 | #define GPIO26_MC0_DAT1 PIN_CFG_PULL(26, ALT_A, UP) | 139 | #define GPIO26_MC0_DAT1 PIN_CFG_INPUT(26, ALT_A, PULLUP) |
140 | #define GPIO26_STMMOD_DAT1 PIN_CFG(26, ALT_B) | 140 | #define GPIO26_STMMOD_DAT1 PIN_CFG(26, ALT_B) |
141 | #define GPIO26_MS_DAT1 PIN_CFG(26, ALT_C) | 141 | #define GPIO26_MS_DAT1 PIN_CFG(26, ALT_C) |
142 | 142 | ||
143 | #define GPIO27_GPIO PIN_CFG(27, GPIO) | 143 | #define GPIO27_GPIO PIN_CFG(27, GPIO) |
144 | #define GPIO27_MC0_DAT2 PIN_CFG_PULL(27, ALT_A, UP) | 144 | #define GPIO27_MC0_DAT2 PIN_CFG_INPUT(27, ALT_A, PULLUP) |
145 | #define GPIO27_STMMOD_DAT2 PIN_CFG(27, ALT_B) | 145 | #define GPIO27_STMMOD_DAT2 PIN_CFG(27, ALT_B) |
146 | #define GPIO27_MS_DAT2 PIN_CFG(27, ALT_C) | 146 | #define GPIO27_MS_DAT2 PIN_CFG(27, ALT_C) |
147 | 147 | ||
148 | #define GPIO28_GPIO PIN_CFG(28, GPIO) | 148 | #define GPIO28_GPIO PIN_CFG(28, GPIO) |
149 | #define GPIO28_MC0_DAT3 PIN_CFG_PULL(28, ALT_A, UP) | 149 | #define GPIO28_MC0_DAT3 PIN_CFG_INPUT(28, ALT_A, PULLUP) |
150 | #define GPIO28_STMMOD_DAT3 PIN_CFG(28, ALT_B) | 150 | #define GPIO28_STMMOD_DAT3 PIN_CFG(28, ALT_B) |
151 | #define GPIO28_MS_DAT3 PIN_CFG(28, ALT_C) | 151 | #define GPIO28_MS_DAT3 PIN_CFG(28, ALT_C) |
152 | 152 | ||
@@ -357,48 +357,48 @@ | |||
357 | #define GPIO97_MC5_DAT7 PIN_CFG(97, ALT_C) | 357 | #define GPIO97_MC5_DAT7 PIN_CFG(97, ALT_C) |
358 | 358 | ||
359 | #define GPIO128_GPIO PIN_CFG(128, GPIO) | 359 | #define GPIO128_GPIO PIN_CFG(128, GPIO) |
360 | #define GPIO128_MC2_CLK PIN_CFG_PULL(128, ALT_A, UP) | 360 | #define GPIO128_MC2_CLK PIN_CFG_INPUT(128, ALT_A, PULLUP) |
361 | #define GPIO128_SM_CKO PIN_CFG(128, ALT_B) | 361 | #define GPIO128_SM_CKO PIN_CFG(128, ALT_B) |
362 | 362 | ||
363 | #define GPIO129_GPIO PIN_CFG(129, GPIO) | 363 | #define GPIO129_GPIO PIN_CFG(129, GPIO) |
364 | #define GPIO129_MC2_CMD PIN_CFG_PULL(129, ALT_A, UP) | 364 | #define GPIO129_MC2_CMD PIN_CFG_INPUT(129, ALT_A, PULLUP) |
365 | #define GPIO129_SM_WAIT0n PIN_CFG(129, ALT_B) | 365 | #define GPIO129_SM_WAIT0n PIN_CFG(129, ALT_B) |
366 | 366 | ||
367 | #define GPIO130_GPIO PIN_CFG(130, GPIO) | 367 | #define GPIO130_GPIO PIN_CFG(130, GPIO) |
368 | #define GPIO130_MC2_FBCLK PIN_CFG_PULL(130, ALT_A, UP) | 368 | #define GPIO130_MC2_FBCLK PIN_CFG_INPUT(130, ALT_A, PULLUP) |
369 | #define GPIO130_SM_FBCLK PIN_CFG(130, ALT_B) | 369 | #define GPIO130_SM_FBCLK PIN_CFG(130, ALT_B) |
370 | #define GPIO130_MC2_RSTN PIN_CFG(130, ALT_C) | 370 | #define GPIO130_MC2_RSTN PIN_CFG(130, ALT_C) |
371 | 371 | ||
372 | #define GPIO131_GPIO PIN_CFG(131, GPIO) | 372 | #define GPIO131_GPIO PIN_CFG(131, GPIO) |
373 | #define GPIO131_MC2_DAT0 PIN_CFG_PULL(131, ALT_A, UP) | 373 | #define GPIO131_MC2_DAT0 PIN_CFG_INPUT(131, ALT_A, PULLUP) |
374 | #define GPIO131_SM_ADQ8 PIN_CFG(131, ALT_B) | 374 | #define GPIO131_SM_ADQ8 PIN_CFG(131, ALT_B) |
375 | 375 | ||
376 | #define GPIO132_GPIO PIN_CFG(132, GPIO) | 376 | #define GPIO132_GPIO PIN_CFG(132, GPIO) |
377 | #define GPIO132_MC2_DAT1 PIN_CFG_PULL(132, ALT_A, UP) | 377 | #define GPIO132_MC2_DAT1 PIN_CFG_INPUT(132, ALT_A, PULLUP) |
378 | #define GPIO132_SM_ADQ9 PIN_CFG(132, ALT_B) | 378 | #define GPIO132_SM_ADQ9 PIN_CFG(132, ALT_B) |
379 | 379 | ||
380 | #define GPIO133_GPIO PIN_CFG(133, GPIO) | 380 | #define GPIO133_GPIO PIN_CFG(133, GPIO) |
381 | #define GPIO133_MC2_DAT2 PIN_CFG_PULL(133, ALT_A, UP) | 381 | #define GPIO133_MC2_DAT2 PIN_CFG_INPUT(133, ALT_A, PULLUP) |
382 | #define GPIO133_SM_ADQ10 PIN_CFG(133, ALT_B) | 382 | #define GPIO133_SM_ADQ10 PIN_CFG(133, ALT_B) |
383 | 383 | ||
384 | #define GPIO134_GPIO PIN_CFG(134, GPIO) | 384 | #define GPIO134_GPIO PIN_CFG(134, GPIO) |
385 | #define GPIO134_MC2_DAT3 PIN_CFG_PULL(134, ALT_A, UP) | 385 | #define GPIO134_MC2_DAT3 PIN_CFG_INPUT(134, ALT_A, PULLUP) |
386 | #define GPIO134_SM_ADQ11 PIN_CFG(134, ALT_B) | 386 | #define GPIO134_SM_ADQ11 PIN_CFG(134, ALT_B) |
387 | 387 | ||
388 | #define GPIO135_GPIO PIN_CFG(135, GPIO) | 388 | #define GPIO135_GPIO PIN_CFG(135, GPIO) |
389 | #define GPIO135_MC2_DAT4 PIN_CFG_PULL(135, ALT_A, UP) | 389 | #define GPIO135_MC2_DAT4 PIN_CFG_INPUT(135, ALT_A, PULLUP) |
390 | #define GPIO135_SM_ADQ12 PIN_CFG(135, ALT_B) | 390 | #define GPIO135_SM_ADQ12 PIN_CFG(135, ALT_B) |
391 | 391 | ||
392 | #define GPIO136_GPIO PIN_CFG(136, GPIO) | 392 | #define GPIO136_GPIO PIN_CFG(136, GPIO) |
393 | #define GPIO136_MC2_DAT5 PIN_CFG_PULL(136, ALT_A, UP) | 393 | #define GPIO136_MC2_DAT5 PIN_CFG_INPUT(136, ALT_A, PULLUP) |
394 | #define GPIO136_SM_ADQ13 PIN_CFG(136, ALT_B) | 394 | #define GPIO136_SM_ADQ13 PIN_CFG(136, ALT_B) |
395 | 395 | ||
396 | #define GPIO137_GPIO PIN_CFG(137, GPIO) | 396 | #define GPIO137_GPIO PIN_CFG(137, GPIO) |
397 | #define GPIO137_MC2_DAT6 PIN_CFG_PULL(137, ALT_A, UP) | 397 | #define GPIO137_MC2_DAT6 PIN_CFG_INPUT(137, ALT_A, PULLUP) |
398 | #define GPIO137_SM_ADQ14 PIN_CFG(137, ALT_B) | 398 | #define GPIO137_SM_ADQ14 PIN_CFG(137, ALT_B) |
399 | 399 | ||
400 | #define GPIO138_GPIO PIN_CFG(138, GPIO) | 400 | #define GPIO138_GPIO PIN_CFG(138, GPIO) |
401 | #define GPIO138_MC2_DAT7 PIN_CFG_PULL(138, ALT_A, UP) | 401 | #define GPIO138_MC2_DAT7 PIN_CFG_INPUT(138, ALT_A, PULLUP) |
402 | #define GPIO138_SM_ADQ15 PIN_CFG(138, ALT_B) | 402 | #define GPIO138_SM_ADQ15 PIN_CFG(138, ALT_B) |
403 | 403 | ||
404 | #define GPIO139_GPIO PIN_CFG(139, GPIO) | 404 | #define GPIO139_GPIO PIN_CFG(139, GPIO) |
@@ -434,10 +434,10 @@ | |||
434 | #define GPIO146_SSP0_TXD PIN_CFG(146, ALT_A) | 434 | #define GPIO146_SSP0_TXD PIN_CFG(146, ALT_A) |
435 | 435 | ||
436 | #define GPIO147_GPIO PIN_CFG(147, GPIO) | 436 | #define GPIO147_GPIO PIN_CFG(147, GPIO) |
437 | #define GPIO147_I2C0_SCL PIN_CFG_PULL(147, ALT_A, UP) | 437 | #define GPIO147_I2C0_SCL PIN_CFG_INPUT(147, ALT_A, PULLUP) |
438 | 438 | ||
439 | #define GPIO148_GPIO PIN_CFG(148, GPIO) | 439 | #define GPIO148_GPIO PIN_CFG(148, GPIO) |
440 | #define GPIO148_I2C0_SDA PIN_CFG_PULL(148, ALT_A, UP) | 440 | #define GPIO148_I2C0_SDA PIN_CFG_INPUT(148, ALT_A, PULLUP) |
441 | 441 | ||
442 | #define GPIO149_GPIO PIN_CFG(149, GPIO) | 442 | #define GPIO149_GPIO PIN_CFG(149, GPIO) |
443 | #define GPIO149_IP_GPIO0 PIN_CFG(149, ALT_A) | 443 | #define GPIO149_IP_GPIO0 PIN_CFG(149, ALT_A) |
@@ -459,82 +459,82 @@ | |||
459 | #define GPIO152_KP_O9 PIN_CFG(152, ALT_C) | 459 | #define GPIO152_KP_O9 PIN_CFG(152, ALT_C) |
460 | 460 | ||
461 | #define GPIO153_GPIO PIN_CFG(153, GPIO) | 461 | #define GPIO153_GPIO PIN_CFG(153, GPIO) |
462 | #define GPIO153_KP_I7 PIN_CFG_PULL(153, ALT_A, DOWN) | 462 | #define GPIO153_KP_I7 PIN_CFG_INPUT(153, ALT_A, PULLDOWN) |
463 | #define GPIO153_LCD_D24 PIN_CFG(153, ALT_B) | 463 | #define GPIO153_LCD_D24 PIN_CFG(153, ALT_B) |
464 | #define GPIO153_U2_RXD PIN_CFG(153, ALT_C) | 464 | #define GPIO153_U2_RXD PIN_CFG(153, ALT_C) |
465 | 465 | ||
466 | #define GPIO154_GPIO PIN_CFG(154, GPIO) | 466 | #define GPIO154_GPIO PIN_CFG(154, GPIO) |
467 | #define GPIO154_KP_I6 PIN_CFG_PULL(154, ALT_A, DOWN) | 467 | #define GPIO154_KP_I6 PIN_CFG_INPUT(154, ALT_A, PULLDOWN) |
468 | #define GPIO154_LCD_D25 PIN_CFG(154, ALT_B) | 468 | #define GPIO154_LCD_D25 PIN_CFG(154, ALT_B) |
469 | #define GPIO154_U2_TXD PIN_CFG(154, ALT_C) | 469 | #define GPIO154_U2_TXD PIN_CFG(154, ALT_C) |
470 | 470 | ||
471 | #define GPIO155_GPIO PIN_CFG(155, GPIO) | 471 | #define GPIO155_GPIO PIN_CFG(155, GPIO) |
472 | #define GPIO155_KP_I5 PIN_CFG_PULL(155, ALT_A, DOWN) | 472 | #define GPIO155_KP_I5 PIN_CFG_INPUT(155, ALT_A, PULLDOWN) |
473 | #define GPIO155_LCD_D26 PIN_CFG(155, ALT_B) | 473 | #define GPIO155_LCD_D26 PIN_CFG(155, ALT_B) |
474 | #define GPIO155_STMAPE_CLK PIN_CFG(155, ALT_C) | 474 | #define GPIO155_STMAPE_CLK PIN_CFG(155, ALT_C) |
475 | 475 | ||
476 | #define GPIO156_GPIO PIN_CFG(156, GPIO) | 476 | #define GPIO156_GPIO PIN_CFG(156, GPIO) |
477 | #define GPIO156_KP_I4 PIN_CFG_PULL(156, ALT_A, DOWN) | 477 | #define GPIO156_KP_I4 PIN_CFG_INPUT(156, ALT_A, PULLDOWN) |
478 | #define GPIO156_LCD_D27 PIN_CFG(156, ALT_B) | 478 | #define GPIO156_LCD_D27 PIN_CFG(156, ALT_B) |
479 | #define GPIO156_STMAPE_DAT3 PIN_CFG(156, ALT_C) | 479 | #define GPIO156_STMAPE_DAT3 PIN_CFG(156, ALT_C) |
480 | 480 | ||
481 | #define GPIO157_GPIO PIN_CFG(157, GPIO) | 481 | #define GPIO157_GPIO PIN_CFG(157, GPIO) |
482 | #define GPIO157_KP_O7 PIN_CFG_PULL(157, ALT_A, UP) | 482 | #define GPIO157_KP_O7 PIN_CFG_INPUT(157, ALT_A, PULLUP) |
483 | #define GPIO157_LCD_D28 PIN_CFG(157, ALT_B) | 483 | #define GPIO157_LCD_D28 PIN_CFG(157, ALT_B) |
484 | #define GPIO157_STMAPE_DAT2 PIN_CFG(157, ALT_C) | 484 | #define GPIO157_STMAPE_DAT2 PIN_CFG(157, ALT_C) |
485 | 485 | ||
486 | #define GPIO158_GPIO PIN_CFG(158, GPIO) | 486 | #define GPIO158_GPIO PIN_CFG(158, GPIO) |
487 | #define GPIO158_KP_O6 PIN_CFG_PULL(158, ALT_A, UP) | 487 | #define GPIO158_KP_O6 PIN_CFG_INPUT(158, ALT_A, PULLUP) |
488 | #define GPIO158_LCD_D29 PIN_CFG(158, ALT_B) | 488 | #define GPIO158_LCD_D29 PIN_CFG(158, ALT_B) |
489 | #define GPIO158_STMAPE_DAT1 PIN_CFG(158, ALT_C) | 489 | #define GPIO158_STMAPE_DAT1 PIN_CFG(158, ALT_C) |
490 | 490 | ||
491 | #define GPIO159_GPIO PIN_CFG(159, GPIO) | 491 | #define GPIO159_GPIO PIN_CFG(159, GPIO) |
492 | #define GPIO159_KP_O5 PIN_CFG_PULL(159, ALT_A, UP) | 492 | #define GPIO159_KP_O5 PIN_CFG_INPUT(159, ALT_A, PULLUP) |
493 | #define GPIO159_LCD_D30 PIN_CFG(159, ALT_B) | 493 | #define GPIO159_LCD_D30 PIN_CFG(159, ALT_B) |
494 | #define GPIO159_STMAPE_DAT0 PIN_CFG(159, ALT_C) | 494 | #define GPIO159_STMAPE_DAT0 PIN_CFG(159, ALT_C) |
495 | 495 | ||
496 | #define GPIO160_GPIO PIN_CFG(160, GPIO) | 496 | #define GPIO160_GPIO PIN_CFG(160, GPIO) |
497 | #define GPIO160_KP_O4 PIN_CFG_PULL(160, ALT_A, UP) | 497 | #define GPIO160_KP_O4 PIN_CFG_INPUT(160, ALT_A, PULLUP) |
498 | #define GPIO160_LCD_D31 PIN_CFG(160, ALT_B) | 498 | #define GPIO160_LCD_D31 PIN_CFG(160, ALT_B) |
499 | #define GPIO160_NONE PIN_CFG(160, ALT_C) | 499 | #define GPIO160_NONE PIN_CFG(160, ALT_C) |
500 | 500 | ||
501 | #define GPIO161_GPIO PIN_CFG(161, GPIO) | 501 | #define GPIO161_GPIO PIN_CFG(161, GPIO) |
502 | #define GPIO161_KP_I3 PIN_CFG_PULL(161, ALT_A, DOWN) | 502 | #define GPIO161_KP_I3 PIN_CFG_INPUT(161, ALT_A, PULLDOWN) |
503 | #define GPIO161_LCD_D32 PIN_CFG(161, ALT_B) | 503 | #define GPIO161_LCD_D32 PIN_CFG(161, ALT_B) |
504 | #define GPIO161_UARTMOD_RXD PIN_CFG(161, ALT_C) | 504 | #define GPIO161_UARTMOD_RXD PIN_CFG(161, ALT_C) |
505 | 505 | ||
506 | #define GPIO162_GPIO PIN_CFG(162, GPIO) | 506 | #define GPIO162_GPIO PIN_CFG(162, GPIO) |
507 | #define GPIO162_KP_I2 PIN_CFG_PULL(162, ALT_A, DOWN) | 507 | #define GPIO162_KP_I2 PIN_CFG_INPUT(162, ALT_A, PULLDOWN) |
508 | #define GPIO162_LCD_D33 PIN_CFG(162, ALT_B) | 508 | #define GPIO162_LCD_D33 PIN_CFG(162, ALT_B) |
509 | #define GPIO162_UARTMOD_TXD PIN_CFG(162, ALT_C) | 509 | #define GPIO162_UARTMOD_TXD PIN_CFG(162, ALT_C) |
510 | 510 | ||
511 | #define GPIO163_GPIO PIN_CFG(163, GPIO) | 511 | #define GPIO163_GPIO PIN_CFG(163, GPIO) |
512 | #define GPIO163_KP_I1 PIN_CFG_PULL(163, ALT_A, DOWN) | 512 | #define GPIO163_KP_I1 PIN_CFG_INPUT(163, ALT_A, PULLDOWN) |
513 | #define GPIO163_LCD_D34 PIN_CFG(163, ALT_B) | 513 | #define GPIO163_LCD_D34 PIN_CFG(163, ALT_B) |
514 | #define GPIO163_STMMOD_CLK PIN_CFG(163, ALT_C) | 514 | #define GPIO163_STMMOD_CLK PIN_CFG(163, ALT_C) |
515 | 515 | ||
516 | #define GPIO164_GPIO PIN_CFG(164, GPIO) | 516 | #define GPIO164_GPIO PIN_CFG(164, GPIO) |
517 | #define GPIO164_KP_I0 PIN_CFG_PULL(164, ALT_A, UP) | 517 | #define GPIO164_KP_I0 PIN_CFG_INPUT(164, ALT_A, PULLUP) |
518 | #define GPIO164_LCD_D35 PIN_CFG(164, ALT_B) | 518 | #define GPIO164_LCD_D35 PIN_CFG(164, ALT_B) |
519 | #define GPIO164_STMMOD_DAT3 PIN_CFG(164, ALT_C) | 519 | #define GPIO164_STMMOD_DAT3 PIN_CFG(164, ALT_C) |
520 | 520 | ||
521 | #define GPIO165_GPIO PIN_CFG(165, GPIO) | 521 | #define GPIO165_GPIO PIN_CFG(165, GPIO) |
522 | #define GPIO165_KP_O3 PIN_CFG_PULL(165, ALT_A, UP) | 522 | #define GPIO165_KP_O3 PIN_CFG_INPUT(165, ALT_A, PULLUP) |
523 | #define GPIO165_LCD_D36 PIN_CFG(165, ALT_B) | 523 | #define GPIO165_LCD_D36 PIN_CFG(165, ALT_B) |
524 | #define GPIO165_STMMOD_DAT2 PIN_CFG(165, ALT_C) | 524 | #define GPIO165_STMMOD_DAT2 PIN_CFG(165, ALT_C) |
525 | 525 | ||
526 | #define GPIO166_GPIO PIN_CFG(166, GPIO) | 526 | #define GPIO166_GPIO PIN_CFG(166, GPIO) |
527 | #define GPIO166_KP_O2 PIN_CFG_PULL(166, ALT_A, UP) | 527 | #define GPIO166_KP_O2 PIN_CFG_INPUT(166, ALT_A, PULLUP) |
528 | #define GPIO166_LCD_D37 PIN_CFG(166, ALT_B) | 528 | #define GPIO166_LCD_D37 PIN_CFG(166, ALT_B) |
529 | #define GPIO166_STMMOD_DAT1 PIN_CFG(166, ALT_C) | 529 | #define GPIO166_STMMOD_DAT1 PIN_CFG(166, ALT_C) |
530 | 530 | ||
531 | #define GPIO167_GPIO PIN_CFG(167, GPIO) | 531 | #define GPIO167_GPIO PIN_CFG(167, GPIO) |
532 | #define GPIO167_KP_O1 PIN_CFG_PULL(167, ALT_A, UP) | 532 | #define GPIO167_KP_O1 PIN_CFG_INPUT(167, ALT_A, PULLUP) |
533 | #define GPIO167_LCD_D38 PIN_CFG(167, ALT_B) | 533 | #define GPIO167_LCD_D38 PIN_CFG(167, ALT_B) |
534 | #define GPIO167_STMMOD_DAT0 PIN_CFG(167, ALT_C) | 534 | #define GPIO167_STMMOD_DAT0 PIN_CFG(167, ALT_C) |
535 | 535 | ||
536 | #define GPIO168_GPIO PIN_CFG(168, GPIO) | 536 | #define GPIO168_GPIO PIN_CFG(168, GPIO) |
537 | #define GPIO168_KP_O0 PIN_CFG_PULL(168, ALT_A, UP) | 537 | #define GPIO168_KP_O0 PIN_CFG_INPUT(168, ALT_A, PULLUP) |
538 | #define GPIO168_LCD_D39 PIN_CFG(168, ALT_B) | 538 | #define GPIO168_LCD_D39 PIN_CFG(168, ALT_B) |
539 | #define GPIO168_NONE PIN_CFG(168, ALT_C) | 539 | #define GPIO168_NONE PIN_CFG(168, ALT_C) |
540 | 540 | ||
@@ -569,39 +569,39 @@ | |||
569 | #define GPIO196_MSP2_RXD PIN_CFG(196, ALT_A) | 569 | #define GPIO196_MSP2_RXD PIN_CFG(196, ALT_A) |
570 | 570 | ||
571 | #define GPIO197_GPIO PIN_CFG(197, GPIO) | 571 | #define GPIO197_GPIO PIN_CFG(197, GPIO) |
572 | #define GPIO197_MC4_DAT3 PIN_CFG_PULL(197, ALT_A, UP) | 572 | #define GPIO197_MC4_DAT3 PIN_CFG_INPUT(197, ALT_A, PULLUP) |
573 | 573 | ||
574 | #define GPIO198_GPIO PIN_CFG(198, GPIO) | 574 | #define GPIO198_GPIO PIN_CFG(198, GPIO) |
575 | #define GPIO198_MC4_DAT2 PIN_CFG_PULL(198, ALT_A, UP) | 575 | #define GPIO198_MC4_DAT2 PIN_CFG_INPUT(198, ALT_A, PULLUP) |
576 | 576 | ||
577 | #define GPIO199_GPIO PIN_CFG(199, GPIO) | 577 | #define GPIO199_GPIO PIN_CFG(199, GPIO) |
578 | #define GPIO199_MC4_DAT1 PIN_CFG_PULL(199, ALT_A, UP) | 578 | #define GPIO199_MC4_DAT1 PIN_CFG_INPUT(199, ALT_A, PULLUP) |
579 | 579 | ||
580 | #define GPIO200_GPIO PIN_CFG(200, GPIO) | 580 | #define GPIO200_GPIO PIN_CFG(200, GPIO) |
581 | #define GPIO200_MC4_DAT0 PIN_CFG_PULL(200, ALT_A, UP) | 581 | #define GPIO200_MC4_DAT0 PIN_CFG_INPUT(200, ALT_A, PULLUP) |
582 | 582 | ||
583 | #define GPIO201_GPIO PIN_CFG(201, GPIO) | 583 | #define GPIO201_GPIO PIN_CFG(201, GPIO) |
584 | #define GPIO201_MC4_CMD PIN_CFG_PULL(201, ALT_A, UP) | 584 | #define GPIO201_MC4_CMD PIN_CFG_INPUT(201, ALT_A, PULLUP) |
585 | 585 | ||
586 | #define GPIO202_GPIO PIN_CFG(202, GPIO) | 586 | #define GPIO202_GPIO PIN_CFG(202, GPIO) |
587 | #define GPIO202_MC4_FBCLK PIN_CFG_PULL(202, ALT_A, UP) | 587 | #define GPIO202_MC4_FBCLK PIN_CFG_INPUT(202, ALT_A, PULLUP) |
588 | #define GPIO202_PWL PIN_CFG(202, ALT_B) | 588 | #define GPIO202_PWL PIN_CFG(202, ALT_B) |
589 | #define GPIO202_MC4_RSTN PIN_CFG(202, ALT_C) | 589 | #define GPIO202_MC4_RSTN PIN_CFG(202, ALT_C) |
590 | 590 | ||
591 | #define GPIO203_GPIO PIN_CFG(203, GPIO) | 591 | #define GPIO203_GPIO PIN_CFG(203, GPIO) |
592 | #define GPIO203_MC4_CLK PIN_CFG_PULL(203, ALT_A, UP) | 592 | #define GPIO203_MC4_CLK PIN_CFG_INPUT(203, ALT_A, PULLUP) |
593 | 593 | ||
594 | #define GPIO204_GPIO PIN_CFG(204, GPIO) | 594 | #define GPIO204_GPIO PIN_CFG(204, GPIO) |
595 | #define GPIO204_MC4_DAT7 PIN_CFG_PULL(204, ALT_A, UP) | 595 | #define GPIO204_MC4_DAT7 PIN_CFG_INPUT(204, ALT_A, PULLUP) |
596 | 596 | ||
597 | #define GPIO205_GPIO PIN_CFG(205, GPIO) | 597 | #define GPIO205_GPIO PIN_CFG(205, GPIO) |
598 | #define GPIO205_MC4_DAT6 PIN_CFG_PULL(205, ALT_A, UP) | 598 | #define GPIO205_MC4_DAT6 PIN_CFG_INPUT(205, ALT_A, PULLUP) |
599 | 599 | ||
600 | #define GPIO206_GPIO PIN_CFG(206, GPIO) | 600 | #define GPIO206_GPIO PIN_CFG(206, GPIO) |
601 | #define GPIO206_MC4_DAT5 PIN_CFG_PULL(206, ALT_A, UP) | 601 | #define GPIO206_MC4_DAT5 PIN_CFG_INPUT(206, ALT_A, PULLUP) |
602 | 602 | ||
603 | #define GPIO207_GPIO PIN_CFG(207, GPIO) | 603 | #define GPIO207_GPIO PIN_CFG(207, GPIO) |
604 | #define GPIO207_MC4_DAT4 PIN_CFG_PULL(207, ALT_A, UP) | 604 | #define GPIO207_MC4_DAT4 PIN_CFG_INPUT(207, ALT_A, PULLUP) |
605 | 605 | ||
606 | #define GPIO208_GPIO PIN_CFG(208, GPIO) | 606 | #define GPIO208_GPIO PIN_CFG(208, GPIO) |
607 | #define GPIO208_MC1_CLK PIN_CFG(208, ALT_A) | 607 | #define GPIO208_MC1_CLK PIN_CFG(208, ALT_A) |
@@ -632,21 +632,25 @@ | |||
632 | #define GPIO215_MC1_CMDDIR PIN_CFG(215, ALT_A) | 632 | #define GPIO215_MC1_CMDDIR PIN_CFG(215, ALT_A) |
633 | #define GPIO215_MC3_DAT2DIR PIN_CFG(215, ALT_B) | 633 | #define GPIO215_MC3_DAT2DIR PIN_CFG(215, ALT_B) |
634 | #define GPIO215_CLKOUT1 PIN_CFG(215, ALT_C) | 634 | #define GPIO215_CLKOUT1 PIN_CFG(215, ALT_C) |
635 | #define GPIO215_SPI2_TXD PIN_CFG(215, ALT_C) | ||
635 | 636 | ||
636 | #define GPIO216_GPIO PIN_CFG(216, GPIO) | 637 | #define GPIO216_GPIO PIN_CFG(216, GPIO) |
637 | #define GPIO216_MC1_DAT2DIR PIN_CFG(216, ALT_A) | 638 | #define GPIO216_MC1_DAT2DIR PIN_CFG(216, ALT_A) |
638 | #define GPIO216_MC3_CMDDIR PIN_CFG(216, ALT_B) | 639 | #define GPIO216_MC3_CMDDIR PIN_CFG(216, ALT_B) |
639 | #define GPIO216_I2C3_SDA PIN_CFG_PULL(216, ALT_C, UP) | 640 | #define GPIO216_I2C3_SDA PIN_CFG_INPUT(216, ALT_C, PULLUP) |
641 | #define GPIO216_SPI2_FRM PIN_CFG(216, ALT_C) | ||
640 | 642 | ||
641 | #define GPIO217_GPIO PIN_CFG(217, GPIO) | 643 | #define GPIO217_GPIO PIN_CFG(217, GPIO) |
642 | #define GPIO217_MC1_DAT0DIR PIN_CFG(217, ALT_A) | 644 | #define GPIO217_MC1_DAT0DIR PIN_CFG(217, ALT_A) |
643 | #define GPIO217_MC3_DAT31DIR PIN_CFG(217, ALT_B) | 645 | #define GPIO217_MC3_DAT31DIR PIN_CFG(217, ALT_B) |
644 | #define GPIO217_CLKOUT2 PIN_CFG(217, ALT_C) | 646 | #define GPIO217_CLKOUT2 PIN_CFG(217, ALT_C) |
647 | #define GPIO217_SPI2_CLK PIN_CFG(217, ALT_C) | ||
645 | 648 | ||
646 | #define GPIO218_GPIO PIN_CFG(218, GPIO) | 649 | #define GPIO218_GPIO PIN_CFG(218, GPIO) |
647 | #define GPIO218_MC1_DAT31DIR PIN_CFG(218, ALT_A) | 650 | #define GPIO218_MC1_DAT31DIR PIN_CFG(218, ALT_A) |
648 | #define GPIO218_MC3_DAT0DIR PIN_CFG(218, ALT_B) | 651 | #define GPIO218_MC3_DAT0DIR PIN_CFG(218, ALT_B) |
649 | #define GPIO218_I2C3_SCL PIN_CFG_PULL(218, ALT_C, UP) | 652 | #define GPIO218_I2C3_SCL PIN_CFG_INPUT(218, ALT_C, PULLUP) |
653 | #define GPIO218_SPI2_RXD PIN_CFG(218, ALT_C) | ||
650 | 654 | ||
651 | #define GPIO219_GPIO PIN_CFG(219, GPIO) | 655 | #define GPIO219_GPIO PIN_CFG(219, GPIO) |
652 | #define GPIO219_HSIR_FLA0 PIN_CFG(219, ALT_A) | 656 | #define GPIO219_HSIR_FLA0 PIN_CFG(219, ALT_A) |
@@ -694,12 +698,12 @@ | |||
694 | #define GPIO229_GPIO PIN_CFG(229, GPIO) | 698 | #define GPIO229_GPIO PIN_CFG(229, GPIO) |
695 | #define GPIO229_CLKOUT1 PIN_CFG(229, ALT_A) | 699 | #define GPIO229_CLKOUT1 PIN_CFG(229, ALT_A) |
696 | #define GPIO229_PWL PIN_CFG(229, ALT_B) | 700 | #define GPIO229_PWL PIN_CFG(229, ALT_B) |
697 | #define GPIO229_I2C3_SDA PIN_CFG_PULL(229, ALT_C, UP) | 701 | #define GPIO229_I2C3_SDA PIN_CFG_INPUT(229, ALT_C, PULLUP) |
698 | 702 | ||
699 | #define GPIO230_GPIO PIN_CFG(230, GPIO) | 703 | #define GPIO230_GPIO PIN_CFG(230, GPIO) |
700 | #define GPIO230_CLKOUT2 PIN_CFG(230, ALT_A) | 704 | #define GPIO230_CLKOUT2 PIN_CFG(230, ALT_A) |
701 | #define GPIO230_PWL PIN_CFG(230, ALT_B) | 705 | #define GPIO230_PWL PIN_CFG(230, ALT_B) |
702 | #define GPIO230_I2C3_SCL PIN_CFG_PULL(230, ALT_C, UP) | 706 | #define GPIO230_I2C3_SCL PIN_CFG_INPUT(230, ALT_C, PULLUP) |
703 | 707 | ||
704 | #define GPIO256_GPIO PIN_CFG(256, GPIO) | 708 | #define GPIO256_GPIO PIN_CFG(256, GPIO) |
705 | #define GPIO256_USB_NXT PIN_CFG(256, ALT_A) | 709 | #define GPIO256_USB_NXT PIN_CFG(256, ALT_A) |