aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32/mach-at32ap/at32ap700x.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/avr32/mach-at32ap/at32ap700x.c')
-rw-r--r--arch/avr32/mach-at32ap/at32ap700x.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/avr32/mach-at32ap/at32ap700x.c b/arch/avr32/mach-at32ap/at32ap700x.c
index 813b6844cdf6..caec25a2eec6 100644
--- a/arch/avr32/mach-at32ap/at32ap700x.c
+++ b/arch/avr32/mach-at32ap/at32ap700x.c
@@ -1091,7 +1091,9 @@ at32_add_device_eth(unsigned int id, struct eth_platform_data *data)
1091 pin_mask |= (1 << 11); /* RXD2 */ 1091 pin_mask |= (1 << 11); /* RXD2 */
1092 pin_mask |= (1 << 12); /* RXD3 */ 1092 pin_mask |= (1 << 12); /* RXD3 */
1093 pin_mask |= (1 << 14); /* RXCK */ 1093 pin_mask |= (1 << 14); /* RXCK */
1094#ifndef CONFIG_BOARD_MIMC200
1094 pin_mask |= (1 << 18); /* SPD */ 1095 pin_mask |= (1 << 18); /* SPD */
1096#endif
1095 } 1097 }
1096 1098
1097 select_peripheral(PIOC, pin_mask, PERIPH_A, 0); 1099 select_peripheral(PIOC, pin_mask, PERIPH_A, 0);
@@ -1112,8 +1114,10 @@ at32_add_device_eth(unsigned int id, struct eth_platform_data *data)
1112 pin_mask |= (1 << 3); /* MDC */ 1114 pin_mask |= (1 << 3); /* MDC */
1113 pin_mask |= (1 << 2); /* MDIO */ 1115 pin_mask |= (1 << 2); /* MDIO */
1114 1116
1117#ifndef CONFIG_BOARD_MIMC200
1115 if (!data->is_rmii) 1118 if (!data->is_rmii)
1116 pin_mask |= (1 << 15); /* SPD */ 1119 pin_mask |= (1 << 15); /* SPD */
1120#endif
1117 1121
1118 select_peripheral(PIOD, pin_mask, PERIPH_B, 0); 1122 select_peripheral(PIOD, pin_mask, PERIPH_B, 0);
1119 1123