Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2960517ybi; Thu, 4 Jul 2019 23:13:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLK4qbT9X6APomU3wFlE+daIwAtA3DdDTrgEKm/mwy4olYq1F5tOM+g61gSgsabtpM8Xz4 X-Received: by 2002:a17:902:28:: with SMTP id 37mr2706611pla.188.1562307182670; Thu, 04 Jul 2019 23:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562307182; cv=none; d=google.com; s=arc-20160816; b=A8AjELcBOwJ6DvtSBxiIvuanUY1TaKa7jRStIGnIkJPGWPhNA4/xfY2agEQb0jKr55 VhvNYxuK2sphcBJok4aBfWJz751b4EXoR3I5uCdbi2tHBsVmIYkO5SgZQzPB+PeLEvRF 6zHDUIinloXDsWMOsP9w2qnaLSRSjB9to7s0mYWmN1FvmmgYPkTS5uVPPwsUieaKuwCP YEo+POgBeCLUfwl8IuKpZmCqZPMQehXQi/INFBVSeVB9wk87RdZOkUOa/2WYo2S5KiOh DP2qc1WVHbMCrggIP3HcfusJ+ubHHCll2/yf2Azn7lfqpOpS3NLs/eKsFoz/lCqqE257 Z57w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=ZdL4u2C7Vvm24qVQQwIhxZPKjRDbht8J9ko7BQvx8O8=; b=X4BFEgHDGtsx/vtrUxVd5SGlncrL3oX+x+2Bx96mBkdCyCR4J95x/Kzk/mvQ3V52ut yVDkoSpFLQUb70T7dlTr39QQIkK+u4b9IpFCPuoZhkwH4XGWdvZVvTC4pmL7uAbKwehH qaFNUtxZCS4RYikQesXHaF7XuSGU7Hv8nDSWIXrQS5+1Hahdg2pApVpV6QwV1Cl5qfU/ hfNV4xth9UO/9RG6MeskNfB0C12v3xd9tpL4wS7cv9BM13kg/fmXc3vqrLC/nIgFPXDb hSXV9ceSk5X4vanZlq7UszF+t06xQhjCTv6lgL26ZAxDk69GQJ+iaKFF67I9BEAm3umU vfvA== 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 y84si7952312pfb.87.2019.07.04.23.12.48; Thu, 04 Jul 2019 23:13:02 -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 S1727872AbfGEGMI (ORCPT + 99 others); Fri, 5 Jul 2019 02:12:08 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:8707 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725827AbfGEGMH (ORCPT ); Fri, 5 Jul 2019 02:12:07 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 56F0F512B91DFB3938D8; Fri, 5 Jul 2019 14:12:03 +0800 (CST) Received: from huawei.com (10.67.189.167) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.439.0; Fri, 5 Jul 2019 14:11:52 +0800 From: Jiangfeng Xiao To: , , , , , CC: , , , , , , , Subject: [PATCH 06/10] net: hisilicon: dt-bindings: Add an field of port-handle Date: Fri, 5 Jul 2019 14:11:46 +0800 Message-ID: <1562307106-103760-1-git-send-email-xiaojiangfeng@huawei.com> X-Mailer: git-send-email 1.8.5.6 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