About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / net / davinci-mdio.txt


Based on kernel version 4.16.1. Page generated on 2018-04-09 11:52 EST.

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		};
Hide Line Numbers


About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog