-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: net: ethernet: davince_mdio: device tree implementation
device tree implementation for davinci mdio driver Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Mugunthan V N
authored and
David S. Miller
committed
Aug 7, 2012
1 parent
aae06bf
commit ec03e6a
Showing
2 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
TI SoC Davinci MDIO Controller Device Tree Bindings | ||
--------------------------------------------------- | ||
|
||
Required properties: | ||
- compatible : Should be "ti,davinci_mdio" | ||
- reg : physical base address and size of the davinci mdio | ||
registers map | ||
- bus_freq : Mdio Bus frequency | ||
|
||
Optional properties: | ||
- ti,hwmods : Must be "davinci_mdio" | ||
|
||
Note: "ti,hwmods" field is used to fetch the base address and irq | ||
resources from TI, omap hwmod data base during device registration. | ||
Future plan is to migrate hwmod data base contents into device tree | ||
blob so that, all the required data will be used from device tree dts | ||
file. | ||
|
||
Examples: | ||
|
||
mdio: davinci_mdio@4A101000 { | ||
compatible = "ti,cpsw"; | ||
reg = <0x4A101000 0x1000>; | ||
bus_freq = <1000000>; | ||
}; | ||
|
||
(or) | ||
|
||
mdio: davinci_mdio@4A101000 { | ||
compatible = "ti,cpsw"; | ||
ti,hwmods = "davinci_mdio"; | ||
bus_freq = <1000000>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters