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