aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/Kconfig
diff options
context:
space:
mode:
authorChaithrika U S <chaithrika@ti.com>2009-09-30 17:00:53 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2009-11-25 13:21:30 -0500
commit2206771c4359e236308122ad3fed7f5d91586fd7 (patch)
tree8eb60320325d81abc989770578edf59b7e50540b /arch/arm/mach-davinci/Kconfig
parent75e2ea643fe43d5aa836475acee5bd97cd9ea4bf (diff)
davinci: RMII support for DA850/OMAP-L138 EVM
DA850/OMAP-L138 EVM has a RMII Ethernet PHY on the UI daughter card. The PHY is enabled by proper programming of the IO Expander (TCA6416) ports. Also for RMII PHY to work, the MDIO clock of MII PHY has to be disabled since both the PHYs have the same address. This is done via the GPIO2[6] pin. This patch adds support for RMII PHY. This patch also adds a menuconfig option to select one or no peripheral connected to expander. Currently, sub-options in this menu are RMII and no peripheral.This menuconfig option is similar to the one present for UI card on DA830/OMAP-L137 EVM. Signed-off-by: Chaithrika U S <chaithrika@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/Kconfig')
-rw-r--r--arch/arm/mach-davinci/Kconfig31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig
index 84b7c17e5677..330eea0a713f 100644
--- a/arch/arm/mach-davinci/Kconfig
+++ b/arch/arm/mach-davinci/Kconfig
@@ -130,6 +130,37 @@ config MACH_DAVINCI_DA850_EVM
130 help 130 help
131 Say Y here to select the TI DA850/OMAP-L138 Evaluation Module. 131 Say Y here to select the TI DA850/OMAP-L138 Evaluation Module.
132 132
133config DA850_UI_EXP
134 bool "DA850/OMAP-L138 UI (User Interface) board expander configuration"
135 depends on MACH_DAVINCI_DA850_EVM
136 select GPIO_PCA953X
137 help
138 Say Y here if you have the DA850/OMAP-L138 UI
139 (User Interface) board installed and you want to
140 enable the peripherals located on User Interface
141 board contorlled by TCA6416 expander.
142
143choice
144 prompt "Select peripherals connected to expander on UI board"
145 depends on DA850_UI_EXP
146
147config DA850_UI_NONE
148 bool "No peripheral is enabled"
149 help
150 Say Y if you do not want to enable any of the peripherals connected
151 to TCA6416 expander on DA850/OMAP-L138 EVM UI card
152
153config DA850_UI_RMII
154 bool "RMII Ethernet PHY"
155 help
156 Say Y if you want to use the RMII PHY on the DA850/OMAP-L138 EVM.
157 This PHY is found on the UI daughter card that is supplied with
158 the EVM.
159 NOTE: Please take care while choosing this option, MII PHY will
160 not be functional if RMII mode is selected.
161
162endchoice
163
133config DAVINCI_MUX 164config DAVINCI_MUX
134 bool "DAVINCI multiplexing support" 165 bool "DAVINCI multiplexing support"
135 depends on ARCH_DAVINCI 166 depends on ARCH_DAVINCI