Max Filippov | c89b5c6 | 2014-02-19 02:46:50 +0400 | [diff] [blame] | 1 | * OpenCores MAC 10/100 Mbps |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: Should be "opencores,ethoc". |
| 5 | - reg: two memory regions (address and length), |
| 6 | first region is for the device registers and descriptor rings, |
| 7 | second is for the device packet memory. |
| 8 | - interrupts: interrupt for the device. |
| 9 | |
| 10 | Optional properties: |
| 11 | - clocks: phandle to refer to the clk used as per |
| 12 | Documentation/devicetree/bindings/clock/clock-bindings.txt |
| 13 | |
| 14 | Examples: |
| 15 | |
| 16 | enet0: ethoc@fd030000 { |
| 17 | compatible = "opencores,ethoc"; |
| 18 | reg = <0xfd030000 0x4000 0xfd800000 0x4000>; |
| 19 | interrupts = <1>; |
| 20 | local-mac-address = [00 50 c2 13 6f 00]; |
| 21 | clocks = <&osc>; |
| 22 | }; |