Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1159307rbb; Sun, 25 Feb 2024 23:56:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX3g5y0SmCafs6iMGhUA/hHR6xGu2Br4G/gaiJnxG/oCsimmoGnDs6qoB4tmR82N4RXffmI77zqhF4+Qd/EYq9wSlalOchRXYYY96T/sQ== X-Google-Smtp-Source: AGHT+IGTMSitslbJU2wUo+WDdatiM9JWw3/CRxAZqb4jDBP/xIQDHrZsjG6vzjWpipSbAl3o+Q5q X-Received: by 2002:a17:90a:bd0a:b0:29a:5996:416 with SMTP id y10-20020a17090abd0a00b0029a59960416mr4102636pjr.36.1708934161512; Sun, 25 Feb 2024 23:56:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708934161; cv=pass; d=google.com; s=arc-20160816; b=Hw0OSG9v8uv9UhO7f+L8Dh2JWbyStvdMCUcy4xUrV/+/MsgSEg/YTzINabnxceFsJY fpaW4Y6uCqtq7jzvuxFymwYluMEhROfQv304Ge18l4r19ZcC0yd90M3ySpepE3tSv3OR jTar5OOs1TYG5YCMsY0T7VigWe1SNyz1X6VmOm9/khcKWxdUiF2931JWRj43KXIDBO0i qkZOZCdXWiS0yKSgXHAwmV+kR/k7yUCiThTI6joiKEqBOo/1Y5h7exS3ZgJN3DzuJgnJ xd5r1ZwpMQFw7SkjCEo4t/o0ukCFfW0RJnD6QLjI4jC2c59BbpOmJbXaqE99wIuFsCV9 i2Pg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=FeifQjTghsPP8noM7EBjRmzAqJuf7iCHNhH9/pwzDEI=; fh=E046UHvtSZvRQCvGf/GWO1+f/GIh10I7+HoYh1ToFu4=; b=xKrzT3FYgRkpF/2V9A7zf16MAqIBdIMm6BQs/NZfuPifPqQIq+zRfsKSKgfotFoajg jNqaZRrawnT0lMTllZ1Q00iHzV/eRbNe46VGfgfZeYMDO9hE4Vnrmnl84ltMrIPceHNq Vs48c64+AcSu/zh3qFx+NVGidM6T3dyLaqcSXPOzLu7S9EofL9RTfTejJs7xNcTGxrKP G+D7EPUgiRxbluR8XPPIvpJoiPP6GC9d41mkXR7HUTutP+HHhJ5iNA0kcQfvr2V+mAoN ZPy+FqG5GcimG7NZix6AVOIQGpp5U92KnyMfS5sZdHYn5VdkvEzUheVHp8PKM+tIfH+b zMPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CcpnXU12; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80650-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80650-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m21-20020a17090ab79500b002990da768c0si5010162pjr.174.2024.02.25.23.56.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 23:56:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80650-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CcpnXU12; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80650-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80650-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5EECF28652A for ; Mon, 26 Feb 2024 07:35:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14E154D107; Mon, 26 Feb 2024 07:31:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CcpnXU12" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA4891C6BF; Mon, 26 Feb 2024 07:31:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708932682; cv=none; b=gsiUsfp6sZN/lln484hdqxBtVvF5KrE/S9D/XRBekriqzCxjGf3QHPeYgIsHfFsZzOYS0jmSa7C8K2nQOoI/5WT60zOuPZxvIAhLG8AGxErpmYOYi8IDesSKkNxqOL/1/mICnZwG1znYaGjWBwJSA6ej/aWivS/8lzPhvyyKc6c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708932682; c=relaxed/simple; bh=QElf92ve25lXN1JZiFHBfLmXRGqOOHFIk5fOxWOua4A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Mc8fNXfQVOcTYe1/f952bHU7obJAhTCmY2uN0SQdV+JUQC1pmGcj8JhsFnqR6pz3bxT+8S1/1C2Sker3oxs9W/4Yj73N79TOsJHBZ/hWr7Nel11aw8HUdenT5fFeluBOjhiGdCDg+cwNWSikfAjQ3MckmqHHrko3WJbun/JnUGQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CcpnXU12; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id B4477C43601; Mon, 26 Feb 2024 07:31:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708932682; bh=QElf92ve25lXN1JZiFHBfLmXRGqOOHFIk5fOxWOua4A=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=CcpnXU12zKKCIQrDVkfZG3hAE/J7cuql5Psyq2LcMPYtKbwJh/4EYyw0xlGmzrIgg S7VDoUSj6vWoa0ElyM1Z7ryH04kfxHrckNAcNXvJMv3CLV+TelbCOXWtpzliw8x7aS bDb09Jw/UoBSoYzJaIaQgviz/M8ROsZPQthzFqyMpRrsq51UkqcwKCOy0qjj0zUWqh Bk0BtvzmCQmsKYjKmm4y9CjJG/X0VooMyKaR60kkPMdl4qQgTB/tXMopQWZieAFPXB qSiQuQFoboX1A1w8ZIdoMA4H8pLOuaBxSiSnjSu3QEjfN8jNiA/buMRpR9mDD677lD HXs0BcFZBLOzg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A46BBC48BF6; Mon, 26 Feb 2024 07:31:22 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Mon, 26 Feb 2024 10:30:12 +0300 Subject: [PATCH v8 16/38] dt-bindings: net: Add Cirrus EP93xx Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240226-ep93xx-v8-16-3136dca7238f@maquefel.me> References: <20240226-ep93xx-v8-0-3136dca7238f@maquefel.me> In-Reply-To: <20240226-ep93xx-v8-0-3136dca7238f@maquefel.me> To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexander Sverdlin , Nikita Shubin Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Krzysztof Kozlowski X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708932678; l=2030; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=FinMyeys++S17z45OrZP4NQjjACfz96xCTLZUAMWD/g=; =?utf-8?q?b=3DLqTTsRbVgDsA?= =?utf-8?q?GjXyjLKIFvPruZUJEw7STZ8h/JaNsrSTVsgLYXM/2Wyd0Y6ifxNcDeR7JYM+x0ah?= Bblu+kOyBsyd8hkT4AoyQDZrigVxM+HtsezEAz3x4j0pLLCVRlhM X-Developer-Key: i=nikita.shubin@maquefel.me; a=ed25519; pk=vqf5YIUJ7BJv3EJFaNNxWZgGuMgDH6rwufTLflwU9ac= X-Endpoint-Received: by B4 Relay for nikita.shubin@maquefel.me/20230718 with auth_id=65 X-Original-From: Nikita Shubin Reply-To: From: Nikita Shubin Add YAML bindings for ep93xx SoC Ethernet Controller. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Nikita Shubin --- .../devicetree/bindings/net/cirrus,ep9301-eth.yaml | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/Documentation/devicetree/bindings/net/cirrus,ep9301-eth.yaml b/Documentation/devicetree/bindings/net/cirrus,ep9301-eth.yaml new file mode 100644 index 000000000000..ad0915307095 --- /dev/null +++ b/Documentation/devicetree/bindings/net/cirrus,ep9301-eth.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/cirrus,ep9301-eth.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: EP93xx SoC Ethernet Controller + +maintainers: + - Alexander Sverdlin + - Nikita Shubin + +allOf: + - $ref: ethernet-controller.yaml# + +properties: + compatible: + oneOf: + - const: cirrus,ep9301-eth + - items: + - enum: + - cirrus,ep9302-eth + - cirrus,ep9307-eth + - cirrus,ep9312-eth + - cirrus,ep9315-eth + - const: cirrus,ep9301-eth + + reg: + items: + - description: The physical base address and size of IO range + + interrupts: + items: + - description: Combined signal for various interrupt events + + phy-handle: true + + mdio: + $ref: mdio.yaml# + unevaluatedProperties: false + description: optional node for embedded MDIO controller + +required: + - compatible + - reg + - interrupts + - phy-handle + +additionalProperties: false + +examples: + - | + ethernet@80010000 { + compatible = "cirrus,ep9301-eth"; + reg = <0x80010000 0x10000>; + interrupt-parent = <&vic1>; + interrupts = <7>; + phy-handle = <&phy0>; + }; -- 2.41.0