|
167 | 167 | >;
|
168 | 168 | };
|
169 | 169 |
|
| 170 | + main_mmc1_pins_default: main_mmc1_pins_default { |
| 171 | + pinctrl-single,pins = < |
| 172 | + AM65X_IOPAD(0x02d4, PIN_INPUT_PULLDOWN, 0) /* (C27) MMC1_CLK */ |
| 173 | + AM65X_IOPAD(0x02d8, PIN_INPUT_PULLUP, 0) /* (C28) MMC1_CMD */ |
| 174 | + AM65X_IOPAD(0x02d0, PIN_INPUT_PULLUP, 0) /* (D28) MMC1_DAT0 */ |
| 175 | + AM65X_IOPAD(0x02cc, PIN_INPUT_PULLUP, 0) /* (E27) MMC1_DAT1 */ |
| 176 | + AM65X_IOPAD(0x02c8, PIN_INPUT_PULLUP, 0) /* (D26) MMC1_DAT2 */ |
| 177 | + AM65X_IOPAD(0x02c4, PIN_INPUT_PULLUP, 0) /* (D27) MMC1_DAT3 */ |
| 178 | + AM65X_IOPAD(0x02dc, PIN_INPUT_PULLUP, 0) /* (B24) MMC1_SDCD */ |
| 179 | + AM65X_IOPAD(0x02e0, PIN_INPUT, 0) /* (C24) MMC1_SDWP */ |
| 180 | + >; |
| 181 | + }; |
| 182 | + |
170 | 183 | usb1_pins_default: usb1_pins_default {
|
171 | 184 | pinctrl-single,pins = <
|
172 | 185 | AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) USB1_DRVVBUS */
|
|
300 | 313 | disable-wp;
|
301 | 314 | };
|
302 | 315 |
|
| 316 | +/* |
| 317 | + * Because of erratas i2025 and i2026 for silicon revision 1.0, the |
| 318 | + * SD card interface might fail. Boards with sr1.0 are recommended to |
| 319 | + * disable sdhci1 |
| 320 | + */ |
| 321 | +&sdhci1 { |
| 322 | + pinctrl-names = "default"; |
| 323 | + pinctrl-0 = <&main_mmc1_pins_default>; |
| 324 | + ti,driver-strength-ohm = <50>; |
| 325 | + disable-wp; |
| 326 | +}; |
| 327 | + |
303 | 328 | &dwc3_1 {
|
304 | 329 | status = "okay";
|
305 | 330 | };
|
|
0 commit comments