diff options
author | Thomas Koeller <thomas.koeller@baslerweb.com> | 2010-05-11 11:06:48 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-05-13 14:10:30 -0400 |
commit | 0efe2b7442caaf087e56ae9b68fa5f61f4761fa8 (patch) | |
tree | 6532da31e0f9e08134f386a9aa9fe1760b668bfb /arch/arm | |
parent | 2168e76d6ba061fcc95095a3f54ceef8588cbb90 (diff) |
DM365: Make CLKOUTx available
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-davinci/dm365.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-davinci/include/mach/mux.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index dd7c204dff28..d0d24d4e9503 100644 --- a/arch/arm/mach-davinci/dm365.c +++ b/arch/arm/mach-davinci/dm365.c | |||
@@ -568,6 +568,10 @@ MUX_CFG(DM365, SPI4_SDO, 4, 16, 3, 1, false) | |||
568 | MUX_CFG(DM365, SPI4_SDENA0, 4, 20, 3, 1, false) | 568 | MUX_CFG(DM365, SPI4_SDENA0, 4, 20, 3, 1, false) |
569 | MUX_CFG(DM365, SPI4_SDENA1, 4, 16, 3, 2, false) | 569 | MUX_CFG(DM365, SPI4_SDENA1, 4, 16, 3, 2, false) |
570 | 570 | ||
571 | MUX_CFG(DM365, CLKOUT0, 4, 20, 3, 3, false) | ||
572 | MUX_CFG(DM365, CLKOUT1, 4, 16, 3, 3, false) | ||
573 | MUX_CFG(DM365, CLKOUT2, 4, 8, 3, 3, false) | ||
574 | |||
571 | MUX_CFG(DM365, GPIO20, 3, 21, 3, 0, false) | 575 | MUX_CFG(DM365, GPIO20, 3, 21, 3, 0, false) |
572 | MUX_CFG(DM365, GPIO30, 4, 6, 3, 0, false) | 576 | MUX_CFG(DM365, GPIO30, 4, 6, 3, 0, false) |
573 | MUX_CFG(DM365, GPIO31, 4, 8, 3, 0, false) | 577 | MUX_CFG(DM365, GPIO31, 4, 8, 3, 0, false) |
diff --git a/arch/arm/mach-davinci/include/mach/mux.h b/arch/arm/mach-davinci/include/mach/mux.h index 4a1fdd3475aa..07ef83bf5a1f 100644 --- a/arch/arm/mach-davinci/include/mach/mux.h +++ b/arch/arm/mach-davinci/include/mach/mux.h | |||
@@ -287,6 +287,11 @@ enum davinci_dm365_index { | |||
287 | DM365_SPI4_SDENA0, | 287 | DM365_SPI4_SDENA0, |
288 | DM365_SPI4_SDENA1, | 288 | DM365_SPI4_SDENA1, |
289 | 289 | ||
290 | /* Clock */ | ||
291 | DM365_CLKOUT0, | ||
292 | DM365_CLKOUT1, | ||
293 | DM365_CLKOUT2, | ||
294 | |||
290 | /* GPIO */ | 295 | /* GPIO */ |
291 | DM365_GPIO20, | 296 | DM365_GPIO20, |
292 | DM365_GPIO30, | 297 | DM365_GPIO30, |