David Daney | 736b1c9 | 2012-07-05 18:12:38 +0200 | [diff] [blame^] | 1 | * MIX Ethernet controller. |
| 2 | |
| 3 | Properties: |
| 4 | - compatible: "cavium,octeon-5750-mix" |
| 5 | |
| 6 | Compatibility with all cn5XXX and cn6XXX SOCs populated with MIX |
| 7 | devices. |
| 8 | |
| 9 | - reg: The base addresses of four separate register banks. The first |
| 10 | bank contains the MIX registers. The second bank the corresponding |
| 11 | AGL registers. The third bank are the AGL registers shared by all |
| 12 | MIX devices present. The fourth bank is the AGL_PRT_CTL shared by |
| 13 | all MIX devices present. |
| 14 | |
| 15 | - cell-index: A single cell specifying which portion of the shared |
| 16 | register banks corresponds to this MIX device. |
| 17 | |
| 18 | - interrupts: Two interrupt specifiers. The first is the MIX |
| 19 | interrupt routing and the second the routing for the AGL interrupts. |
| 20 | |
| 21 | - mac-address: Optional, the MAC address to assign to the device. |
| 22 | |
| 23 | - local-mac-address: Optional, the MAC address to assign to the device |
| 24 | if mac-address is not specified. |
| 25 | |
| 26 | - phy-handle: Optional, a phandle for the PHY device connected to this device. |
| 27 | |
| 28 | Example: |
| 29 | ethernet@1070000100800 { |
| 30 | compatible = "cavium,octeon-5750-mix"; |
| 31 | reg = <0x10700 0x00100800 0x0 0x100>, /* MIX */ |
| 32 | <0x11800 0xE0000800 0x0 0x300>, /* AGL */ |
| 33 | <0x11800 0xE0000400 0x0 0x400>, /* AGL_SHARED */ |
| 34 | <0x11800 0xE0002008 0x0 0x8>; /* AGL_PRT_CTL */ |
| 35 | cell-index = <1>; |
| 36 | interrupts = <1 18>, < 1 46>; |
| 37 | local-mac-address = [ 00 0f b7 10 63 54 ]; |
| 38 | phy-handle = <&phy1>; |
| 39 | }; |