DM365: Make CLKOUTx available
authorThomas Koeller <thomas.koeller@baslerweb.com>
Tue, 11 May 2010 15:06:48 +0000 (17:06 +0200)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 13 May 2010 18:10:30 +0000 (11:10 -0700)
Added PINMUX configurations for the CLKOUT0 .. CLKOUT2
functions, for boards that want to use these clocks.

Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/dm365.c
arch/arm/mach-davinci/include/mach/mux.h

index dd7c204dff28ceb86a1f968109d7764992353859..d0d24d4e9503dfae96b3621517b9c0ab3082ba20 100644 (file)
@@ -568,6 +568,10 @@ MUX_CFG(DM365,     SPI4_SDO,       4,   16,    3,    1,     false)
 MUX_CFG(DM365, SPI4_SDENA0,    4,   20,    3,    1,     false)
 MUX_CFG(DM365, SPI4_SDENA1,    4,   16,    3,    2,     false)
 
+MUX_CFG(DM365, CLKOUT0,        4,   20,    3,    3,     false)
+MUX_CFG(DM365, CLKOUT1,        4,   16,    3,    3,     false)
+MUX_CFG(DM365, CLKOUT2,        4,   8,     3,    3,     false)
+
 MUX_CFG(DM365, GPIO20,         3,   21,    3,    0,     false)
 MUX_CFG(DM365, GPIO30,         4,   6,     3,    0,     false)
 MUX_CFG(DM365, GPIO31,         4,   8,     3,    0,     false)
index 4a1fdd3475aaef359b4a23f6b981ab5bbf3653d0..07ef83bf5a1f6b94a2ef161b8f695863589229a3 100644 (file)
@@ -287,6 +287,11 @@ enum davinci_dm365_index {
        DM365_SPI4_SDENA0,
        DM365_SPI4_SDENA1,
 
+       /* Clock */
+       DM365_CLKOUT0,
+       DM365_CLKOUT1,
+       DM365_CLKOUT2,
+
        /* GPIO */
        DM365_GPIO20,
        DM365_GPIO30,