Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 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 | device_type = "network"; |
| 14 | compatible = "fsl,mpc8272-fcc-enet", |
| 15 | "fsl,cpm2-fcc-enet"; |
| 16 | reg = <11300 20 8400 100 11390 1>; |
| 17 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 18 | interrupts = <20 8>; |
| 19 | interrupt-parent = <&PIC>; |
| 20 | phy-handle = <&PHY0>; |
| 21 | fsl,cpm-command = <12000300>; |
| 22 | }; |
| 23 | |
| 24 | * MDIO |
| 25 | |
| 26 | Currently defined compatibles: |
| 27 | fsl,pq1-fec-mdio (reg is same as first resource of FEC device) |
| 28 | fsl,cpm2-mdio-bitbang (reg is port C registers) |
| 29 | |
| 30 | Properties for fsl,cpm2-mdio-bitbang: |
| 31 | fsl,mdio-pin : pin of port C controlling mdio data |
| 32 | fsl,mdc-pin : pin of port C controlling mdio clock |
| 33 | |
| 34 | Example: |
| 35 | mdio@10d40 { |
| 36 | device_type = "mdio"; |
| 37 | compatible = "fsl,mpc8272ads-mdio-bitbang", |
| 38 | "fsl,mpc8272-mdio-bitbang", |
| 39 | "fsl,cpm2-mdio-bitbang"; |
| 40 | reg = <10d40 14>; |
| 41 | #address-cells = <1>; |
| 42 | #size-cells = <0>; |
| 43 | fsl,mdio-pin = <12>; |
| 44 | fsl,mdc-pin = <13>; |
| 45 | }; |