blob: 621156ca4ffd9f67c0c2814f1a12fe1f9a2086fa [file] [log] [blame]
Grygorii Strashkof68c9252014-07-16 15:13:02 +03001TI SoC Davinci/Keystone2 MDIO Controller Device Tree Bindings
Mugunthan V Nec03e6a2012-08-06 05:05:57 +00002---------------------------------------------------
3
4Required properties:
Grygorii Strashkobeb1a042016-06-24 21:23:52 +03005- compatible : Should be "ti,davinci_mdio"
6 and "ti,keystone_mdio" for Keystone 2 SoCs
Grygorii Strashko22899ec2016-06-24 21:23:53 +03007 and "ti,cpsw-mdio" for am335x, am472x, am57xx/dra7, dm814x SoCs
Grygorii Strashkobeb1a042016-06-24 21:23:52 +03008 and "ti,am4372-mdio" for am472x SoC
Mugunthan V Nec03e6a2012-08-06 05:05:57 +00009- reg : physical base address and size of the davinci mdio
10 registers map
11- bus_freq : Mdio Bus frequency
12
13Optional properties:
14- ti,hwmods : Must be "davinci_mdio"
15
16Note: "ti,hwmods" field is used to fetch the base address and irq
17resources from TI, omap hwmod data base during device registration.
18Future plan is to migrate hwmod data base contents into device tree
19blob so that, all the required data will be used from device tree dts
20file.
21
22Examples:
23
24 mdio: davinci_mdio@4A101000 {
Grygorii Strashkof68c9252014-07-16 15:13:02 +030025 compatible = "ti,davinci_mdio";
Mugunthan V Nec03e6a2012-08-06 05:05:57 +000026 reg = <0x4A101000 0x1000>;
27 bus_freq = <1000000>;
28 };
29
30(or)
31
32 mdio: davinci_mdio@4A101000 {
Grygorii Strashkof68c9252014-07-16 15:13:02 +030033 compatible = "ti,davinci_mdio";
Mugunthan V Nec03e6a2012-08-06 05:05:57 +000034 ti,hwmods = "davinci_mdio";
35 bus_freq = <1000000>;
36 };