diff options
Diffstat (limited to 'Documentation/devicetree/bindings/net/davinci-mdio.txt')
-rw-r--r-- | Documentation/devicetree/bindings/net/davinci-mdio.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/davinci-mdio.txt b/Documentation/devicetree/bindings/net/davinci-mdio.txt new file mode 100644 index 000000000000..72efaaf764f7 --- /dev/null +++ b/Documentation/devicetree/bindings/net/davinci-mdio.txt | |||
@@ -0,0 +1,33 @@ | |||
1 | TI SoC Davinci MDIO Controller Device Tree Bindings | ||
2 | --------------------------------------------------- | ||
3 | |||
4 | Required properties: | ||
5 | - compatible : Should be "ti,davinci_mdio" | ||
6 | - reg : physical base address and size of the davinci mdio | ||
7 | registers map | ||
8 | - bus_freq : Mdio Bus frequency | ||
9 | |||
10 | Optional properties: | ||
11 | - ti,hwmods : Must be "davinci_mdio" | ||
12 | |||
13 | Note: "ti,hwmods" field is used to fetch the base address and irq | ||
14 | resources from TI, omap hwmod data base during device registration. | ||
15 | Future plan is to migrate hwmod data base contents into device tree | ||
16 | blob so that, all the required data will be used from device tree dts | ||
17 | file. | ||
18 | |||
19 | Examples: | ||
20 | |||
21 | mdio: davinci_mdio@4A101000 { | ||
22 | compatible = "ti,cpsw"; | ||
23 | reg = <0x4A101000 0x1000>; | ||
24 | bus_freq = <1000000>; | ||
25 | }; | ||
26 | |||
27 | (or) | ||
28 | |||
29 | mdio: davinci_mdio@4A101000 { | ||
30 | compatible = "ti,cpsw"; | ||
31 | ti,hwmods = "davinci_mdio"; | ||
32 | bus_freq = <1000000>; | ||
33 | }; | ||