X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=Documentation%2Fdevicetree%2Fbindings%2Fnet%2Fopencores-ethoc.txt;fp=Documentation%2Fdevicetree%2Fbindings%2Fnet%2Fopencores-ethoc.txt;h=2dc127c30d9b310f65389c282dddc0905624f687;hb=c3bebc71c4bcdafa24b506adf0c1de3c1f77e2e0;hp=0000000000000000000000000000000000000000;hpb=16e3f5391c23a52a91a11ee4f2661a625b36dfe1;p=~andy%2Flinux diff --git a/Documentation/devicetree/bindings/net/opencores-ethoc.txt b/Documentation/devicetree/bindings/net/opencores-ethoc.txt new file mode 100644 index 00000000000..2dc127c30d9 --- /dev/null +++ b/Documentation/devicetree/bindings/net/opencores-ethoc.txt @@ -0,0 +1,22 @@ +* OpenCores MAC 10/100 Mbps + +Required properties: +- compatible: Should be "opencores,ethoc". +- reg: two memory regions (address and length), + first region is for the device registers and descriptor rings, + second is for the device packet memory. +- interrupts: interrupt for the device. + +Optional properties: +- clocks: phandle to refer to the clk used as per + Documentation/devicetree/bindings/clock/clock-bindings.txt + +Examples: + + enet0: ethoc@fd030000 { + compatible = "opencores,ethoc"; + reg = <0xfd030000 0x4000 0xfd800000 0x4000>; + interrupts = <1>; + local-mac-address = [00 50 c2 13 6f 00]; + clocks = <&osc>; + };