2014-07-16 12:13:02 +00:00
|
|
|
TI SoC Davinci/Keystone2 MDIO Controller Device Tree Bindings
|
2012-08-06 05:05:57 +00:00
|
|
|
---------------------------------------------------
|
|
|
|
|
|
|
|
Required properties:
|
2016-06-24 18:23:52 +00:00
|
|
|
- compatible : Should be "ti,davinci_mdio"
|
|
|
|
and "ti,keystone_mdio" for Keystone 2 SoCs
|
2016-06-24 18:23:53 +00:00
|
|
|
and "ti,cpsw-mdio" for am335x, am472x, am57xx/dra7, dm814x SoCs
|
2016-06-24 18:23:52 +00:00
|
|
|
and "ti,am4372-mdio" for am472x SoC
|
2012-08-06 05:05:57 +00:00
|
|
|
- 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 {
|
2014-07-16 12:13:02 +00:00
|
|
|
compatible = "ti,davinci_mdio";
|
2012-08-06 05:05:57 +00:00
|
|
|
reg = <0x4A101000 0x1000>;
|
|
|
|
bus_freq = <1000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
(or)
|
|
|
|
|
|
|
|
mdio: davinci_mdio@4A101000 {
|
2014-07-16 12:13:02 +00:00
|
|
|
compatible = "ti,davinci_mdio";
|
2012-08-06 05:05:57 +00:00
|
|
|
ti,hwmods = "davinci_mdio";
|
|
|
|
bus_freq = <1000000>;
|
|
|
|
};
|