Part Number: AM3358
Hello Support,
1. Why does the am335x-bone-common.dtsi file for the BBB initialize the MDIO_DATA with its internal pull-up enabled knowing that an external 1.5K pull-up resistor (R119) is already connected to the node where MDIO_DATA is connected?
The initialization we found is the following:
AM33XX_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
And the schematic shows the following:
...and same happens with other interfaces, for example, the MMC0 interface (micro-sd) where all the data bus pins have external 10K pull-ups resistors and, however, the device tree enables all the internal pull-ups for those pins:
pinctrl-single,pins = <
AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* spio0_cs1.gpio0_6 */
AM33XX_IOPAD(0x8fc, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
AM33XX_IOPAD(0x8f8, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
AM33XX_IOPAD(0x8f4, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
AM33XX_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
AM33XX_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */
AM33XX_IOPAD(0x9a0, PIN_INPUT | MUX_MODE4) /* mcasp0_aclkr.mmc0_sdwp */
>;
2. For the same interface (MMC0 interface micro-sd), since the CMD pin for a micro-sd card is always an input.... why does the MMC0_CMD pin is not initialized as an output pin in the dtsi file?
AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
Thanks in advance,


