Merge remote-tracking branch 'asoc/fix/dapm' into asoc-linus
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / net / davinci-mdio.txt
1 TI SoC Davinci/Keystone2 MDIO Controller Device Tree Bindings
2 ---------------------------------------------------
3
4 Required properties:
5 - compatible            : Should be "ti,davinci_mdio"
6                           and "ti,keystone_mdio" for Keystone 2 SoCs
7                           and "ti,cpsw-mdio" for am335x, am472x, am57xx/dra7, dm814x SoCs
8                           and "ti,am4372-mdio" for am472x SoC
9 - reg                   : physical base address and size of the davinci mdio
10                           registers map
11 - bus_freq              : Mdio Bus frequency
12
13 Optional properties:
14 - ti,hwmods             : Must be "davinci_mdio"
15
16 Note: "ti,hwmods" field is used to fetch the base address and irq
17 resources from TI, omap hwmod data base during device registration.
18 Future plan is to migrate hwmod data base contents into device tree
19 blob so that, all the required data will be used from device tree dts
20 file.
21
22 Examples:
23
24         mdio: davinci_mdio@4A101000 {
25                 compatible = "ti,davinci_mdio";
26                 reg = <0x4A101000 0x1000>;
27                 bus_freq = <1000000>;
28         };
29
30 (or)
31
32         mdio: davinci_mdio@4A101000 {
33                 compatible = "ti,davinci_mdio";
34                 ti,hwmods = "davinci_mdio";
35                 bus_freq = <1000000>;
36         };