Skip to content

Instantly share code, notes, and snippets.

@ohporter
Created October 30, 2012 02:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ohporter/3977950 to your computer and use it in GitHub Desktop.
Save ohporter/3977950 to your computer and use it in GitHub Desktop.
working u-boot am335x-evm spi0 r/w mux settings
static struct module_pin_mux spi0_pin_mux[] = {
{OFFSET(spi0_sclk), (MODE(0) | RXACTIVE | PULLUDEN)}, /* SPI0_SCLK */
{OFFSET(spi0_d0), (MODE(0) | RXACTIVE |
PULLUDEN | PULLUP_EN)}, /* SPI0_D0 */
{OFFSET(spi0_d1), (MODE(0) | RXACTIVE | PULLUDEN)}, /* SPI0_D1 */
{OFFSET(spi0_cs0), (MODE(0) | RXACTIVE |
PULLUDEN | PULLUP_EN)}, /* SPI0_CS0 */
{-1},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment