Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "DaVinci Pinmux 1.0"

From eLinux.org
Jump to: navigation, search
m (Fix spelling of category)
 
(2 intermediate revisions by 2 users not shown)
Line 17: Line 17:
  
 
Using the above as a guide, and with a copy of the DaVinci datasheet, you should be able to get what you want working.
 
Using the above as a guide, and with a copy of the DaVinci datasheet, you should be able to get what you want working.
 +
 +
[[Category:DaVinci]]

Latest revision as of 20:32, 27 October 2011

Do this via U-Boot

Open davinci.c from the boards directory in U-BOOT.

The stuff regarding pinmux is in there. More specifically:

#define PINMUX0     0x01C40000

/* Enable UART0 MUX lines */
*(volatile unsigned int *)PINMUX4 |= 1;

/* Enable EMAC and AEMIF pins */
*(volatile unsigned int*) PINMUX0 = 0x80000C1F;


Using the above as a guide, and with a copy of the DaVinci datasheet, you should be able to get what you want working.