Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7373473ybi; Mon, 8 Jul 2019 20:34:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzc0gbwSwEySLGzZIGUrfFIsP9zr68ZTaCwpsOOKawKgi/rVakhfZVtPWGhxtvQpLJBhOhq X-Received: by 2002:a17:902:be03:: with SMTP id r3mr13790780pls.156.1562643281405; Mon, 08 Jul 2019 20:34:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562643281; cv=none; d=google.com; s=arc-20160816; b=unsAhg1cYMzn/Dpghme3a8SwPxvBIZLTexSkpuZ3OqQpJA2UZqApiRCxwS+z+QHTZ8 YgZmwXASeri83LmNkHPFXMY6Qy/Rs5wBH+SDc1b2VQSOtvRsONm11dd8NpTvI+rjXTA1 ajUwK+7M2zfNUlQlUo1+E924EU7LqoM2Oh+2qXXTdgBLMESYPWV4bQfDBHbgGPbpHrQH PYuWoe1UwNxL22rWAgmWYKQa2owwFzOnxqO8X0qaxCU+E16G+m6DBMvBvvwQRJIWUZyT hvTJ++P6vKxON7qwFmBzxRbKw0awy9Td3tYLv5Kc67wE03lPGmDnlITlHOeoqFfyUZsJ mh4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=ZdL4u2C7Vvm24qVQQwIhxZPKjRDbht8J9ko7BQvx8O8=; b=nhardRFGEC5cr/o1PmeMUDcjBTv0E4QIPXIqjkLa9P0g9QazSb/iPdo0otKkvXyjmu NNd45yRDj+MuUg8eXqMy62B0h7BgmrzOCmad+vfjCevCeCjr8KK+F1t/WdRG9Jggcs98 F0QxI0cdTVHXuOmXQoZ+Uf8/UA3UMnC+k0Ur30SGngmYCtd6uY/WFWBkoUYNsJWueoQo LSVnm78qduueljPNNBFeGP2tIEBmkPtSHoN0A9J+k7+kQXWkGT4h3slT69A17iEFhuWe QzQ1oym7jDVlGJHxIxFsXNI7+qV+kjE7QdpUUlcP2cRTC+OpDu3lSxULenXq0RuRh05i lQDg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si20849398plz.57.2019.07.08.20.34.26; Mon, 08 Jul 2019 20:34:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727154AbfGIDbc (ORCPT + 99 others); Mon, 8 Jul 2019 23:31:32 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:51538 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725905AbfGIDbb (ORCPT ); Mon, 8 Jul 2019 23:31:31 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 76BA19E30762DB70EF7A; Tue, 9 Jul 2019 11:31:29 +0800 (CST) Received: from huawei.com (10.67.189.167) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.439.0; Tue, 9 Jul 2019 11:31:22 +0800 From: Jiangfeng Xiao To: , , , , , , CC: , , , , , , Subject: [PATCH v2 06/10] net: hisilicon: dt-bindings: Add an field of port-handle Date: Tue, 9 Jul 2019 11:31:07 +0800 Message-ID: <1562643071-46811-7-git-send-email-xiaojiangfeng@huawei.com> X-Mailer: git-send-email 1.8.5.6 In-Reply-To: <1562643071-46811-1-git-send-email-xiaojiangfeng@huawei.com> References: <1562643071-46811-1-git-send-email-xiaojiangfeng@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.189.167] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In general, group is the same as the port, but some boards specify a special group for better load balancing of each processing unit. Signed-off-by: Jiangfeng Xiao --- Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt b/Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt index d1df8a0..464c0da 100644 --- a/Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt +++ b/Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt @@ -10,6 +10,7 @@ Required properties: phandle, specifies a reference to the syscon ppe node port, port number connected to the controller channel, recv channel start from channel * number (RX_DESC_NUM) + group, field in the pkg desc, in general, it is the same as the port. - phy-mode: see ethernet.txt [1]. Optional properties: @@ -66,7 +67,7 @@ Example: reg = <0x28b0000 0x10000>; interrupts = <0 413 4>; phy-mode = "mii"; - port-handle = <&ppe 31 0>; + port-handle = <&ppe 31 0 31>; }; ge0: ethernet@2800000 { @@ -74,7 +75,7 @@ Example: reg = <0x2800000 0x10000>; interrupts = <0 402 4>; phy-mode = "sgmii"; - port-handle = <&ppe 0 1>; + port-handle = <&ppe 0 1 0>; phy-handle = <&phy0>; }; @@ -83,6 +84,6 @@ Example: reg = <0x2880000 0x10000>; interrupts = <0 410 4>; phy-mode = "sgmii"; - port-handle = <&ppe 8 2>; + port-handle = <&ppe 8 2 8>; phy-handle = <&phy1>; }; -- 1.8.5.6