From c656c74d41353cb35fd1d9cd1d24b46f32200fc4 Mon Sep 17 00:00:00 2001 From: Zhangfei Gao Date: Sun, 26 Jan 2014 16:41:12 +0800 Subject: ether: add hip04_eth test: ifconfig eth0 192.168.10.1; ping 192.168.10.6 (host) Signed-off-by: Zhangfei Gao --- .../bindings/net/hisilicon-hip04-net.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt (limited to 'Documentation') diff --git a/Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt b/Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt new file mode 100644 index 00000000000..6bc542a58d3 --- /dev/null +++ b/Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt @@ -0,0 +1,28 @@ +* Hisilicon hip04 Ethernet Controller + +Required properties: +- compatible: should be "hisilicon,hip04-mac". +- reg: address and length of the register set for the device. +- interrupts: interrupt for the device. +- port: port number combined with the controller: range from 0 to 31. +- speed: 100 (100M) or 1000 (1000M). + +Example: + ge0: ethernet@2800000 { + compatible = "hisilicon,hip04-mac"; + reg = <0x2800000 0x10000>; + interrupts = <0 434 4>; + port = <0>; + speed = <1000>; + }; + +* Hisilicon hip04 Ethernet ppe: control rx & rx fifos of all ethnet controllers + +Required properties: +- compatible: should be "hisilicon,ppebase". + +Example: + ppebase: ppebase@28c0000 { + compatible = "hisilicon,ppebase"; + reg = <0x28c0000 0x10000>; + }; -- cgit v1.2.3