From patchwork Fri May 24 16:22:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 165136 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp3808689ili; Fri, 24 May 2019 09:22:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyf/406Nk+phTyVOiptOJY+qg0TTsFoMN483AoVtG63V6pblpYUJQ5YRZhotiu5TPnOklQu X-Received: by 2002:a17:90a:bf01:: with SMTP id c1mr10650947pjs.78.1558714958860; Fri, 24 May 2019 09:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558714958; cv=none; d=google.com; s=arc-20160816; b=mUVZwXMPmc6qZjywtrzvhzVWNvVi38DiEcS+hdto6dWpimLxzNhZDvLJztaQnwI+Y+ y7Zqi0DB4zu1sEXl2KZkPjC7pcfdK4RkIYXHcapJTYYMMRAhQi1C8B8LQi2xbbUgenjU w8eJ/VzW3JzAMQdR1Es2fUlpiww2IoQ2bKZUWhAu7P/sDfFkgouPKYjvTg1lJioFkFvC bqkb1zDJ6ZXUjidEG0PZNd2l6Vegpa5bMZjS/hncAf4J93U/fPsPlOdUehdeHxnDSU++ iXOMa6Mx0KiqVBNb/rKluCQx4jcRIOArLpRNt5LaY2FoP6j4UGTjXfCa8OiG20JvkmPT +8gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=CAbrTVrDd+vquw7c4UOJK7pyKOUo+ZWe2OOzzUZ1h+M=; b=mqFb2Et43N30AQX8W2FyxWJsITI1NTY0z1URZLltZ8YICPU5oRSIHlnoUfl6kaJwS6 LQ1Za084oa5XyEg5iBipU2ebYYYzzL/DREHI3w6YWLTXzeGeWEvE7uq0B16BgJCLRlzr p8HKFADfc9TOh05ZZl0Hhz41x2qjRkgjHkih5odYIiDrUrRTqAmZrWF92mr2ph15VBUZ ubqjGUdGPlfCmC3lEMeoApaf2YNXp2bGBDMfr3mqWfBIIHYWONZCWH9bSYGsdYVFEewL 3bsgYkzsGnZag7KmVXy9ArvFCzSGxMK6Q/OZ3/dVrNl50OR4mMDQdeOY/iVt4eeaB3/N lzdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="RRFAbk1/"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m14si5204608pgj.377.2019.05.24.09.22.38; Fri, 24 May 2019 09:22:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@linaro.org header.s=google header.b="RRFAbk1/"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390258AbfEXQWi (ORCPT + 7 others); Fri, 24 May 2019 12:22:38 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:44304 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389079AbfEXQWi (ORCPT ); Fri, 24 May 2019 12:22:38 -0400 Received: by mail-lj1-f196.google.com with SMTP id e13so9141190ljl.11 for ; Fri, 24 May 2019 09:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CAbrTVrDd+vquw7c4UOJK7pyKOUo+ZWe2OOzzUZ1h+M=; b=RRFAbk1/fn6fqVdBDHZv41/1rP4KjDX9MQeZVdh8NwYyLAFLfy0skr1ChyqpbY+K5G No/o5iVpmSmFyklKX2LhnjRC4ST4qRTFE5kiFA3A8bpzt7R2qK5Kt35wVM+sTH98lsa4 DwiOxsxS8p18KonDHsq4slei1wMNcoGQyk/8SaXCm8ib5pomXkq/2lbkLzZYGH8kmrPc Fc4T2tNEVlc30enZN1nHCMyhFZoS2TklS0eAQif4WGaVOBulaGFOAO7oD9ihX6P8IOtb pxJRm06c/fU/Iq1T8h21rgJmNxqPHfSy9Y4bsUKQm2p0ahwzsHDz/syimvD1/HEfPCxL AlHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CAbrTVrDd+vquw7c4UOJK7pyKOUo+ZWe2OOzzUZ1h+M=; b=Yz69ckbaM8JLUkF9tnq11taUAHQDluB2OqcpGoi3rG5PMgt4KarcqiNyu/2K7+vjPG AEvg6NRgxDnMYig8pxkeK9bqHa4hTXPEgIhaLvBHS/lgyi357bTTtSDRWjwxhG9LpPSm FFwgeCMSxEhjsn6MM+KXg7zql+0P6d18XbzvOfYvBGPzFumGRIs2a91nRb1x4k8y89DN hsDtMkamzJfTRp7JyqXJx7LriaHXafRqZxdNLDXMefggD1hTEqa2kJfo9hgoLaV5ET8i mMduv0Os8J7mAThmMAAITwYj8q5yJgiGdcde8wqAF4TvbGl7ee9jnd4i8F7TBuX4b6cx IKaA== X-Gm-Message-State: APjAAAWdRUUqs7in3fhVbuC2vf+mj2IpnO4xo9qakeSYrX6Wsq7/jmPj aPsOWB/BVLxSK+8BGZ5cfZ2M5A== X-Received: by 2002:a2e:2bd7:: with SMTP id r84mr21075134ljr.91.1558714956035; Fri, 24 May 2019 09:22:36 -0700 (PDT) Received: from localhost.bredbandsbolaget (c-d2cd225c.014-348-6c756e10.bbcust.telenor.se. [92.34.205.210]) by smtp.gmail.com with ESMTPSA id v20sm702466lfe.11.2019.05.24.09.22.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 May 2019 09:22:34 -0700 (PDT) From: Linus Walleij To: netdev@vger.kernel.org, "David S . Miller" Cc: Krzysztof Halasa , devicetree@vger.kernel.org, Linus Walleij Subject: [PATCH 7/8] net: ethernet: ixp4xx: Add DT bindings Date: Fri, 24 May 2019 18:22:29 +0200 Message-Id: <20190524162229.9185-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds device tree bindings for the IXP4xx ethernet. Signed-off-by: Linus Walleij --- .../bindings/net/intel,ixp4xx-ethernet.yaml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/intel,ixp4xx-ethernet.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/net/intel,ixp4xx-ethernet.yaml b/Documentation/devicetree/bindings/net/intel,ixp4xx-ethernet.yaml new file mode 100644 index 000000000000..4575a7e5aa4a --- /dev/null +++ b/Documentation/devicetree/bindings/net/intel,ixp4xx-ethernet.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2018 Linaro Ltd. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/net/intel-ixp4xx-ethernet.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Intel IXP4xx ethernet + +maintainers: + - Linus Walleij + +description: | + The Intel IXP4xx ethernet makes use of the IXP4xx NPE (Network + Processing Engine) and the IXP4xx Queue Mangager to process + the ethernet frames. It can optionally contain an MDIO bus to + talk to PHYs. + +properties: + compatible: + oneOf: + - items: + - const: intel,ixp4xx-ethernet + + reg: + maxItems: 1 + description: Ethernet MMIO address range + + queue-rx: + $ref: '/schemas/types.yaml#/definitions/phandle-array' + maxItems: 1 + description: phandle to the RX queue on the NPE + + queue-txready: + $ref: '/schemas/types.yaml#/definitions/phandle-array' + maxItems: 1 + description: phandle to the TX READY queue on the NPE + +required: + - compatible + - reg + - queue-rx + - queue-txready + +examples: + - | + ethernet@c8009000 { + compatible = "intel,ixp4xx-ethernet"; + reg = <0xc8009000 0x1000>; + status = "disabled"; + queue-rx = <&qmgr 3>; + queue-txready = <&qmgr 20>; + };