Mugunthan V N | ec03e6a | 2012-08-06 05:05:57 +0000 | [diff] [blame] | 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 | }; |