i2c: core: Add support for 'i2c-bus' subnode
[cascardo/linux.git] / Documentation / devicetree / bindings / powerpc / fsl / cpm_qe / network.txt
1 * Network
2
3 Currently defined compatibles:
4 - fsl,cpm1-scc-enet
5 - fsl,cpm2-scc-enet
6 - fsl,cpm1-fec-enet
7 - fsl,cpm2-fcc-enet (third resource is GFEMR)
8 - fsl,qe-enet
9
10 Example:
11
12         ethernet@11300 {
13                 compatible = "fsl,mpc8272-fcc-enet",
14                              "fsl,cpm2-fcc-enet";
15                 reg = <11300 20 8400 100 11390 1>;
16                 local-mac-address = [ 00 00 00 00 00 00 ];
17                 interrupts = <20 8>;
18                 interrupt-parent = <&PIC>;
19                 phy-handle = <&PHY0>;
20                 fsl,cpm-command = <12000300>;
21         };
22
23 * MDIO
24
25 Currently defined compatibles:
26 fsl,pq1-fec-mdio (reg is same as first resource of FEC device)
27 fsl,cpm2-mdio-bitbang (reg is port C registers)
28
29 Properties for fsl,cpm2-mdio-bitbang:
30 fsl,mdio-pin : pin of port C controlling mdio data
31 fsl,mdc-pin : pin of port C controlling mdio clock
32
33 Example:
34         mdio@10d40 {
35                 compatible = "fsl,mpc8272ads-mdio-bitbang",
36                              "fsl,mpc8272-mdio-bitbang",
37                              "fsl,cpm2-mdio-bitbang";
38                 reg = <10d40 14>;
39                 #address-cells = <1>;
40                 #size-cells = <0>;
41                 fsl,mdio-pin = <12>;
42                 fsl,mdc-pin = <13>;
43         };