aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorZhangfei Gao <zhangfei.gao@linaro.org>2014-01-26 16:41:12 +0800
committerAndrey Konovalov <andrey.konovalov@linaro.org>2014-04-16 23:52:30 +0400
commitc656c74d41353cb35fd1d9cd1d24b46f32200fc4 (patch)
tree2df253496dfe6e2b6318b56c2250b448633c3167 /Documentation
parent58e316646c0f6ef54b82da85020e017a7f587fec (diff)
ether: add hip04_eth
test: ifconfig eth0 192.168.10.1; ping 192.168.10.6 (host) Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt28
1 files changed, 28 insertions, 0 deletions
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>;
+ };