summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt
diff options
context:
space:
mode:
authoryankejian <yankejian@huawei.com>2016-01-20 11:00:19 +0300
committerDavid S. Miller <davem@davemloft.net>2016-01-21 23:02:31 +0300
commit48189d6aaf1ed1b382666289a94a50e5269a8946 (patch)
tree6783893819a78b8b08e0c351e85ef89c5c772779 /Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt
parente62a123b8ef7c5dc4db2c16383d506860ad21b47 (diff)
downloadlinux-48189d6aaf1ed1b382666289a94a50e5269a8946.tar.xz
net: hns: enet specifies a reference to dsaf
This patch replace the assoication between dsaf and enet from string matching to object reference. It requires the DTS to be updated within BIOS. Thanks god it can be done for all released boards. Signed-off-by: Kejian Yan <yankejian@huawei.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Yisen Zhuang <yisen.zhuang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt')
-rw-r--r--Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt b/Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt
index 41d19be7011e..e6a9d1c30878 100644
--- a/Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt
+++ b/Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt
@@ -4,8 +4,9 @@ Required properties:
- compatible: "hisilicon,hns-nic-v1" or "hisilicon,hns-nic-v2".
"hisilicon,hns-nic-v1" is for hip05.
"hisilicon,hns-nic-v2" is for Hi1610 and Hi1612.
-- ae-name: accelerator name who provides this interface,
- is simply a name referring to the name of name in the accelerator node.
+- ae-handle: accelerator engine handle for hns,
+ specifies a reference to the associating hardware driver node.
+ see Documentation/devicetree/bindings/net/hisilicon-hns-dsaf.txt
- port-id: is the index of port provided by DSAF (the accelerator). DSAF can
connect to 8 PHYs. Port 0 to 1 are both used for adminstration purpose. They
are called debug ports.
@@ -41,7 +42,7 @@ Example:
ethernet@0{
compatible = "hisilicon,hns-nic-v1";
- ae-name = "dsaf0";
+ ae-handle = <&dsaf0>;
port-id = <0>;
local-mac-address = [a2 14 e4 4b 56 76];
};