diff options
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500-pins.c')
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-pins.c | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-pins.c b/arch/arm/mach-ux500/board-mop500-pins.c index 70cdbd60596a..f26fd76f72b4 100644 --- a/arch/arm/mach-ux500/board-mop500-pins.c +++ b/arch/arm/mach-ux500/board-mop500-pins.c | |||
@@ -236,6 +236,46 @@ static pin_cfg_t mop500_pins_hrefv60[] = { | |||
236 | 236 | ||
237 | }; | 237 | }; |
238 | 238 | ||
239 | static pin_cfg_t snowball_pins[] = { | ||
240 | /* SSP0, to AB8500 */ | ||
241 | GPIO143_SSP0_CLK, | ||
242 | GPIO144_SSP0_FRM, | ||
243 | GPIO145_SSP0_RXD | PIN_PULL_DOWN, | ||
244 | GPIO146_SSP0_TXD, | ||
245 | |||
246 | /* MMC0: MicroSD card */ | ||
247 | GPIO21_MC0_DAT31DIR | PIN_OUTPUT_HIGH, | ||
248 | |||
249 | /* MMC2: LAN */ | ||
250 | GPIO86_SM_ADQ0, | ||
251 | GPIO87_SM_ADQ1, | ||
252 | GPIO88_SM_ADQ2, | ||
253 | GPIO89_SM_ADQ3, | ||
254 | GPIO90_SM_ADQ4, | ||
255 | GPIO91_SM_ADQ5, | ||
256 | GPIO92_SM_ADQ6, | ||
257 | GPIO93_SM_ADQ7, | ||
258 | |||
259 | GPIO94_SM_ADVn, | ||
260 | GPIO95_SM_CS0n, | ||
261 | GPIO96_SM_OEn, | ||
262 | GPIO97_SM_WEn, | ||
263 | |||
264 | GPIO128_SM_CKO, | ||
265 | GPIO130_SM_FBCLK, | ||
266 | GPIO131_SM_ADQ8, | ||
267 | GPIO132_SM_ADQ9, | ||
268 | GPIO133_SM_ADQ10, | ||
269 | GPIO134_SM_ADQ11, | ||
270 | GPIO135_SM_ADQ12, | ||
271 | GPIO136_SM_ADQ13, | ||
272 | GPIO137_SM_ADQ14, | ||
273 | GPIO138_SM_ADQ15, | ||
274 | |||
275 | /* RSTn_LAN */ | ||
276 | GPIO141_GPIO | PIN_OUTPUT_HIGH, | ||
277 | }; | ||
278 | |||
239 | void __init mop500_pins_init(void) | 279 | void __init mop500_pins_init(void) |
240 | { | 280 | { |
241 | nmk_config_pins(mop500_pins_common, | 281 | nmk_config_pins(mop500_pins_common, |
@@ -243,6 +283,9 @@ void __init mop500_pins_init(void) | |||
243 | if (machine_is_hrefv60()) | 283 | if (machine_is_hrefv60()) |
244 | nmk_config_pins(mop500_pins_hrefv60, | 284 | nmk_config_pins(mop500_pins_hrefv60, |
245 | ARRAY_SIZE(mop500_pins_hrefv60)); | 285 | ARRAY_SIZE(mop500_pins_hrefv60)); |
286 | else if (machine_is_snowball()) | ||
287 | nmk_config_pins(snowball_pins, | ||
288 | ARRAY_SIZE(snowball_pins)); | ||
246 | else | 289 | else |
247 | nmk_config_pins(mop500_pins_default, | 290 | nmk_config_pins(mop500_pins_default, |
248 | ARRAY_SIZE(mop500_pins_default)); | 291 | ARRAY_SIZE(mop500_pins_default)); |