Received: by 10.223.164.202 with SMTP id h10csp297008wrb; Wed, 8 Nov 2017 16:52:59 -0800 (PST) X-Google-Smtp-Source: ABhQp+RDgkWnYPOmOOIgeCub4qWFotFwUQBZAAVElD9yN4TZy3V22G4KYpEDLpeY4KHRQXBxfpdD X-Received: by 10.159.247.203 with SMTP id v11mr655968plz.33.1510188779527; Wed, 08 Nov 2017 16:52:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510188779; cv=none; d=google.com; s=arc-20160816; b=iE6Tq3NUdcj3QlrvWnu3Jm25eIEkxESvT2c6cKMK30PPTcj1KznLtKAuYAcVqNtE5G 6g/z7YarwhiOsPhrF1C67WjVH798vt+t88r9NZV5Hi8BBJLAj4FRKj7iWlNNRDp6R670 /GV86uK1CZbU6xQYqln69QjH1j3ESdDhyRWffPJT8KarCBK3wtU0t6LlDP6U8wUaOv0s E6kxnS/UeEuQA1b5zoU2fEct+XAtBI1nC0FM53FnC5k5wvEAPgnDPXIgoj+cXKvg9GXY ozoWRkOheImYpeUSzwNimZClEFp9QFYnvLU5Tp3Cl0LV61LbqMcmfH6CD6Cj3nlDBnpT d6Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=uO8yERQ+P6dViBptVAzbKPMVueakF2Nk85aYZOXHOAU=; b=cxnRGflW6zS0BPTGZJICQBT8AFSSkMTgI0KIVqiuLIeqs80eirtMzauRF5TEJbnIqA 2bfIc58N8hnWgig0rZQwMfVR42pclBMkhDC7W2Yj6peg+t87pSRTx+3z5imI7l0BPPnY 0b3v/EPKWhXK9rh9jOF7RLpB07J9PCpRNn+v/iGUZBmEYpjTI6S+OxLoARxi6ZnOd8ae fYB7ClLRuSNMJYNvNIKzAbRUx1VPnYHeRju+lXFfFvlv1y9AoADps2CZBudDAunXUxrR nzsktkiCgCQB66AkjwZnoheHBAIW56FlMWjvqdfwrkrNDd7tV2B/ATibubkju/nQCPaI UqUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=itqEDvPB; 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 60si4829174plc.104.2017.11.08.16.52.47; Wed, 08 Nov 2017 16:52:59 -0800 (PST) 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; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=itqEDvPB; 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 S1753328AbdKIAvx (ORCPT + 84 others); Wed, 8 Nov 2017 19:51:53 -0500 Received: from mail-by2nam01on0057.outbound.protection.outlook.com ([104.47.34.57]:13954 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753259AbdKIAvr (ORCPT ); Wed, 8 Nov 2017 19:51:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=uO8yERQ+P6dViBptVAzbKPMVueakF2Nk85aYZOXHOAU=; b=itqEDvPBgR9i5A3tUhOlgcoeebWQ/3yYxb1UGGugl4qhIduE8mjIC4Y0Sb8Is5rUVYQ1Y9J2lzgwzHPFhF7cAqgUfslKYi1yHL1vKYp4QSkO9BlKhA7S6CNCmsCJY5MQJOYdywHpXpUqtZx78Rd/7IXPh57JRIAfdA+a0jcvJrw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=David.Daney@cavium.com; Received: from ddl.caveonetworks.com (50.233.148.156) by CY4PR07MB3495.namprd07.prod.outlook.com (10.171.252.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.218.12; Thu, 9 Nov 2017 00:51:38 +0000 From: David Daney To: linux-mips@linux-mips.org, ralf@linux-mips.org, James Hogan , netdev@vger.kernel.org, "David S. Miller" , Rob Herring , Mark Rutland , devel@driverdev.osuosl.org, Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, "Steven J. Hill" , devicetree@vger.kernel.org, Andrew Lunn , Florian Fainelli , Carlos Munoz , "Steven J . Hill" , David Daney Subject: [PATCH v2 1/8] dt-bindings: Add Cavium Octeon Common Ethernet Interface. Date: Wed, 8 Nov 2017 16:51:19 -0800 Message-Id: <20171109005126.21341-2-david.daney@cavium.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171109005126.21341-1-david.daney@cavium.com> References: <20171109005126.21341-1-david.daney@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: SN4PR0701CA0022.namprd07.prod.outlook.com (10.161.192.160) To CY4PR07MB3495.namprd07.prod.outlook.com (10.171.252.152) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b915857a-b847-4a10-419d-08d5270c0cd0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603199);SRVR:CY4PR07MB3495; X-Microsoft-Exchange-Diagnostics: 1;CY4PR07MB3495;3:X7fxCJmvnbWAO9Bc2l0/Ylvg9m+/2L3J0QXPsxePplTpqc8Q/m0fiRld0+go2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3GOtKdJrDfJmUUUTSAXFwbixn5Pqkf3ggLWsv88R5Fij7sXMK3SeRylfxKjYz0rQuDSiIKjzYCSXl15+JwRxy4SVKpB4hdKQHoNAmf70in68MAMvdmJN+66JKTRvI1Srb7tCzfawZdnkEoPYBLE0Hf7A2FZ/zWR169T2uMeBZ1dx+Ii+yk/HUkrWa2dRKpxSUfu9A+SMg8fl6/+1rhRUQByAMatHftDZhVed7ICwPgKFJn+rNdpQKQBnwBG0IecF9O2sZ7UhDwaWVo9wxwqU/HbkHxmfeMrvi;4:w26HVCk9Ubu8OHGnhDVXzdJ8OzXPlwZjYtY6H0/l9vZc4ZNsCKKJhYhgPEzCL3F1ySH0YCwzLs8dOX3EMiH+kjvzuTZARI4bT6ORm+lnmLAKPYzG4+fdKFUb0vBZjf2xYvwQs7kOmII+qhLelguNV0ahKmQrbehiiUJBBNUyjGJIVgGygn+lxff35xXvbqYQG/WN8MilKqMB7mv2L2EDyU8wviM9iq9wxXj78vpuNzpAYV/UeDtSsWdpjaYIQIW+Hjvun0OAONDkXZsTKincag== X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(3231021)(93006095)(93001095)(3002001)(100000703101)(100105400095)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(20161123562025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY4PR07MB3495;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY4PR07MB3495; X-Forefront-PRVS: 0486A0CB86 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6009001)(346002)(376002)(189002)(199003)(53936002)(6486002)(50466002)(6506006)(110136005)(2950100002)(36756003)(33646002)(7736002)(54906003)(50986999)(106356001)(189998001)(66066001)(2906002)(25786009)(305945005)(7416002)(97736004)(76176999)(1076002)(48376002)(47776003)(105586002)(16526018)(3846002)(81156014)(6512007)(81166006)(6116002)(8936002)(5003940100001)(101416001)(8676002)(478600001)(53416004)(316002)(6666003)(50226002)(72206003)(4326008)(69596002)(5660300001)(68736007)(16586007)(39060400002)(86362001)(107886003);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR07MB3495;H:ddl.caveonetworks.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY4PR07MB3495;23:9SlNn1de/2BCfN6Swn9sWUkRPBp5sVgoBCON1liOp?= =?us-ascii?Q?fuAYuK1DGkDS7idBc1+vvE1IKtrZXZLhIcDTVdgnHLBjTUTDthwqy9zGvlCq?= =?us-ascii?Q?gW+DP0Ewphz7WPPcdkQK3f/zPV5nHnH+zAm8/K8liXmolF/IF5DFhlfq0jZh?= =?us-ascii?Q?snjdnc+dRS1OS6Fq3fu5bd78PWA57t40xLD4eUzSVRPP0Z5sD91lG9w4WbaW?= =?us-ascii?Q?DaIFbvZLi9bsOlxQbiccbJXBjm36xRYrLUMsMHWQNKoTBIzc12HRevr7C6Xv?= =?us-ascii?Q?u8j++jblkPRujq9S5+627ESI0dNKunyEqg1cK2bnXey9quIJcmvgtqGMrjKn?= =?us-ascii?Q?rKBgMjqbjHe6/uDpgzCDoqypH3HGIRLkYMRopZaVoCQmzzbXI5oB+3yNtzql?= =?us-ascii?Q?tOSBcgizm6R5Mtmkn+YZq06HzXsNxcJnFBqdQkNlH5kXN/GyKTXQ3+aKYMmt?= =?us-ascii?Q?rNvl+R5I05FjbdaKjtWwtluiF2jL5Jd1qL+c8fwf1mONr1kUUWvnT7Qu6YY/?= =?us-ascii?Q?OIBGr5Rw2J3ZyLS9EZQ9LJnDeKbQQmiIGOGFxHhu22I2ZkWQ8ReM2nqkOAn5?= =?us-ascii?Q?dLzurtvLeq48rjvo5SIeMkCiUUhe6hgrmFixnXnv5emH1xd2JcfVEJXzOvTF?= =?us-ascii?Q?1zClHehj7FwxiLMBMdgg1Im8448opTUJaE+0larY0G/ORfnc/BkDbIKn9+k+?= =?us-ascii?Q?52QTPVOiCQNNlvjHpyfisoPNTxecKUdD2WNtIecigpffx2W/vAL38ksRdv99?= =?us-ascii?Q?0SJQ5n8edQThdIDuprGRDmaUHBh4+WFkxolCyxIrkNkcqo80tgXLBz6KZE9H?= =?us-ascii?Q?5l/GG1kL7HuRumdLOQubejtulRpCEhX6tgpFEAZJc6o9XG+ICDdMJRozN79R?= =?us-ascii?Q?/lBM2tUerxP815IfztXHtfXP2GPE0B/+ksKF5Imqv4Ctd8dRk1Ihknzal/vO?= =?us-ascii?Q?byqHLw14c3YCFuVvbhYoxz3Y4uzbgxom5ESExHnhflSOh8cTWBjndMiQVTk9?= =?us-ascii?Q?R4fnKqN/RLnhzafUCNv56G5ojGqGKIJPqyvoMe/eINtH/MjwVM9xyVqvXDg9?= =?us-ascii?Q?Uy1l7QdQNj/dmuMn7aYg/7La9oarzNaCmIpvdWnOs/E0bCdFUB2D01KaLRjy?= =?us-ascii?Q?Xf/9XdIFXxCzhXzx1M+fCplfHaLaFtqP8PAtSpGLyDQtxzjKhBjFNt/8cbe7?= =?us-ascii?Q?MGE03voubYc27w1QhuCv1EO09aEeRAdbXKO46TuVWBl4tgfPrvg3vY0EQ=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY4PR07MB3495;6:O+3j3/BDZMwZZszQfIkmSt+KA0xdPKXX6EPPQhmxINiLGrr1Svwo8e3O7gFCLlhLTzLLaf48PaCWAZx1lyFwizvQHDA0hScyHDzu2CoB0Z0Aw39lITN9TdiGAPcW+GtQ4AG7G6t7JhQO1tiLTTY/VFJLcV+eIEihF1mO5OnOf6BmjvcI0U4PJU3+Ef5qBvdFT1FuardJLG74cj8PFR2gH2ECP5zaGIRIIaG1DzEtdPoQDVnffNnG+e+4EvZw/w121Q9gAUcd/o/vjifuI0uRkrzcO8tBEIOo1711oOaixfHu2e/UWltro/hb6+n+n9qJs4+NAgRx09owBfoYnhlePwsJ+L7DGziyIoBjBmuPs+g=;5:Li0XGQbjcw6CXLCuSixrsqJ39/WlwJT6IZZ+9EWNqDI+lEQZBi4vYqlnypNAvjIyH8ob7MuiT9nhbBNkWo9ktN/q2SmTTNIg4eobjxGntp2yiLYQ1KjaI4PzcgMmmDAgD+akKVUrDa+2xCa95Tk9jBAOJEYxIy0BYG+1wsOetvQ=;24:G3Zi8t/a60LBQHFaJEgXdrciVAbwXl8J70AVM0ehHIuGF8C/44n66yF0tPahX4guL/JeBZKqpCk3cJNeCbZivgfhnvWS4cn2TK1/W9QjW9I=;7:omQ42tp8hw62mgnFlWyooTwalmLnG3bq/LMfmfXjlPwC9sS8UlHDe177N446yyIJOvqT6tOw185/NVHDpwjnUc0CxqbhUr8QgpmCMZUh0aOTAPjC0fMLDkLzgIxwfjm9KbUHN2pYi+cwXgH26SXhrKczPdq/aYftaoDJD3KdkP22Mr2Qydwao4VIeBSW0g02HO5FvtRg/XtSyxwb8HbGnu659d9BpwIkikYMsX9pishcuaxP5rZINzM5kM3qDzkP SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2017 00:51:38.7964 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b915857a-b847-4a10-419d-08d5270c0cd0 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3495 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Carlos Munoz Add bindings for Common Ethernet Interface (BGX) block. Signed-off-by: Carlos Munoz Signed-off-by: Steven J. Hill Signed-off-by: David Daney --- .../devicetree/bindings/net/cavium-bgx.txt | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/cavium-bgx.txt diff --git a/Documentation/devicetree/bindings/net/cavium-bgx.txt b/Documentation/devicetree/bindings/net/cavium-bgx.txt new file mode 100644 index 000000000000..6b1f8b994c20 --- /dev/null +++ b/Documentation/devicetree/bindings/net/cavium-bgx.txt @@ -0,0 +1,61 @@ +* Common Ethernet Interface (BGX) block + +Properties: + +- compatible: "cavium,octeon-7890-bgx": Compatibility with all cn7xxx SOCs. + +- reg: The base address of the BGX block. + +- #address-cells: Must be <1>. + +- #size-cells: Must be <0>. BGX addresses have no size component. + +A BGX block has several children, each representing an Ethernet +interface. + + +* Ethernet Interface (BGX port) connects to PKI/PKO + +Properties: + +- compatible: "cavium,octeon-7890-bgx-port": Compatibility with all + cn7xxx SOCs. + + "cavium,octeon-7360-xcv": Compatibility with cn73xx SOCs + for RGMII. + +- reg: The index of the interface within the BGX block. + +Optional properties: + +- local-mac-address: Mac address for the interface. + +- phy-handle: phandle to the phy node connected to the interface. + +- phy-mode: described in ethernet.txt. + +- fixed-link: described in fixed-link.txt. + +Example: + + ethernet-mac-nexus@11800e0000000 { + compatible = "cavium,octeon-7890-bgx"; + reg = <0x00011800 0xe0000000 0x00000000 0x01000000>; + #address-cells = <1>; + #size-cells = <0>; + + ethernet-mac@0 { + compatible = "cavium,octeon-7360-xcv"; + reg = <0>; + local-mac-address = [ 00 01 23 45 67 89 ]; + phy-handle = <&phy3>; + phy-mode = "rgmii-rxid" + }; + ethernet-mac@1 { + compatible = "cavium,octeon-7890-bgx-port"; + reg = <1>; + local-mac-address = [ 00 01 23 45 67 8a ]; + phy-handle = <&phy4>; + phy-mode = "sgmii" + }; + }; -- 2.13.6 From 1583571473095824038@xxx Thu Nov 09 07:10:42 +0000 2017 X-GM-THRID: 1583571473095824038 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread