davinci-mdio.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. TI SoC Davinci/Keystone2 MDIO Controller Device Tree Bindings
  2. ---------------------------------------------------
  3. Required properties:
  4. - compatible : Should be "ti,davinci_mdio"
  5. and "ti,keystone_mdio" for Keystone 2 SoCs
  6. and "ti,cpsw-mdio" for am335x, am472x, am57xx/dra7, dm814x SoCs
  7. and "ti,am4372-mdio" for am472x SoC
  8. - reg : physical base address and size of the davinci mdio
  9. registers map
  10. - bus_freq : Mdio Bus frequency
  11. Optional properties:
  12. - ti,hwmods : Must be "davinci_mdio"
  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. Examples:
  19. mdio: davinci_mdio@4A101000 {
  20. compatible = "ti,davinci_mdio";
  21. reg = <0x4A101000 0x1000>;
  22. bus_freq = <1000000>;
  23. };
  24. (or)
  25. mdio: davinci_mdio@4A101000 {
  26. compatible = "ti,davinci_mdio";
  27. ti,hwmods = "davinci_mdio";
  28. bus_freq = <1000000>;
  29. };