Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3198388lqp; Tue, 26 Mar 2024 02:27:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXbEfTM9To5jhIMbNVvTAZ5Ul4qp6fLny6zadlXW9OQnQAYEldww03Fwb8nq2phsavW6t3e+kbEBuoRCHepEyraoUh8wI9qAnLRG0QQ2w== X-Google-Smtp-Source: AGHT+IEkly7KoOpqAwHECIBrOtvcoKkAUa4MJuVUrDVYvb1KK178kSMUkCk3QG1xvsuVChnaUHq9 X-Received: by 2002:a17:906:240c:b0:a46:bd1d:d9c9 with SMTP id z12-20020a170906240c00b00a46bd1dd9c9mr6913212eja.31.1711445236381; Tue, 26 Mar 2024 02:27:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711445236; cv=pass; d=google.com; s=arc-20160816; b=g97cAnXYlWhjKsaXrWtXdUlOkLaxLCqe00QYsqHAaNaunnGKG3O+q5Zurml0DcG8In 6EhEH+ZoVLg/6d/VKJJmZmQ5MxDPNXiB6tEXvNww7xRM5TFuBz2MokQmPcqQY4v2HONl BRMNhQGuTLKwAL8dfPl93nn+Q4Ypdf3zL6dw3VRyIkR00eFIfR/jbjHS2yW9mWjcJJDQ JKzHt1C7SoJFsKVDKeoJNqF+1z5GJqWcNpxyd0s0ElaqaNJpfDUs37Z6JEFfaJfNEv16 lTNMRDRgB6ZGlE0dyaQRZEvslkYlKABCFdv1qRlfwnzAI9hTcgNzMX+s9nKBV7XpCYLB YwSw== 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=6/yyKMZfLMLg8bX/I4IiwSmwlOrZI9jolsWiefOmhmI=; b=hNKWw3eNYz4Qt7oJIcyZghP9BCRsjZjVkjeeedpwALL+NUjByd2lscybRwPgO2oqoK kHxPgy4mmktf4fjdWIKWZDqaIuGV3RHE7hrAvqyarXWX13S0L75pLI+E3qfNgeK4xHwj aaDBJHV5nWZBQxcaX4cudB4GWVm3By8NdR53e307/2gdg41gSuMJDEpl2Cjr11a1hQW2 iEF9R+Xl8BevqJyXM154Vw7YV29gY2fd9IinNkE/yv5lLXgx2TFWQFVsWnM9njVyxw3+ 4sToP5q9J3e9yD/sAv/69g0LB4+VuyFmzD2uL0Y1Xbd2/AGUMbR+dGnMUGB7JI5rVO4f Elvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eryKZ12k; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118650-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118650-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id e10-20020a170906314a00b00a4720d068f7si3473550eje.111.2024.03.26.02.27.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 02:27:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118650-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eryKZ12k; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118650-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118650-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 am.mirrors.kernel.org (Postfix) with ESMTPS id CA51D1F374D4 for ; Tue, 26 Mar 2024 09:27:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC05A1272D0; Tue, 26 Mar 2024 09:20:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eryKZ12k" 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 6A8AC6BFB8; Tue, 26 Mar 2024 09:20:42 +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=1711444842; cv=none; b=HomKxzLbbcuFQpIU1A3IE2oCGZQ0coslChIIk4wZQ7tdwEtpCYtsR738vgDZx61sAjEUBgDwrVkDIl651niCwgPhC/Y/yh//tN2lnsGJMtMmsrE7MAiergGfaDo4M4/qK3ILVkvu3llk+2YJBaFApFm1SA5kGsyW/UV7zNQksGM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711444842; c=relaxed/simple; bh=QElf92ve25lXN1JZiFHBfLmXRGqOOHFIk5fOxWOua4A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KruTdc7/XGquuXe4c4clPH4HqiIxSeCqdHz3b1JIKgLvdKG+Er7y2Pqi2IwJKk4DPRY5eceZKgewy9y5ugpDDaYXKwz0Gh2EygybRJmHu/epEanOxLGKG2ppTMop6EwUNJHEgpKtFokCi2g4xhoNyjD9psazzGtd7yLrfUvlZsw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eryKZ12k; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id BF90FC4AF5C; Tue, 26 Mar 2024 09:20:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711444841; bh=QElf92ve25lXN1JZiFHBfLmXRGqOOHFIk5fOxWOua4A=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=eryKZ12kNXm9PhcsFTiRlO0x0w9tfA3OunXK6H7sUnLL39RYy5YKXP6mibONfAAdV +NcC9i1txh9uXvz0ny+mWvsGZNEJSCIFwSb6U2E+1zXiABXvffpPDlMkWlzYJppEkt fLT2wBLqZARF+Wawl5oOaB1Tz2OQgCWsLDlDNS/0t4gdHxLEx5W9K/WqSjx+UMA1KV gAh9KxBJByKhNsK3jviK76JQM5DkZx0rwNg63qQodAK4/Le1TOKNlkDRfIVyh7I7+s DZY6jJ+w5KObI3k0s8M/Sfb5fKjFjYrlP8GyJfjG/Ax1V6HYvow7hxGcUcORx8EbFV Rn6z3KYyhW7/Q== 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 B9442C6FD1F; Tue, 26 Mar 2024 09:20:41 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Tue, 26 Mar 2024 12:18:43 +0300 Subject: [PATCH v9 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: <20240326-ep93xx-v9-16-156e2ae5dfc8@maquefel.me> References: <20240326-ep93xx-v9-0-156e2ae5dfc8@maquefel.me> In-Reply-To: <20240326-ep93xx-v9-0-156e2ae5dfc8@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=1711444837; l=2030; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=FinMyeys++S17z45OrZP4NQjjACfz96xCTLZUAMWD/g=; b=iwpWkpCZKsBo12y4uyYQUGO5gJddP7fD5Mag6j6j11g7QLAsOLrIiEK3J8yid6ZteysEIACXU6vu YYfcs1AnCW7OCfNADUGgcfPwXU1FW7KRkg1Ek/1Qk01fE/+ffyEi 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: nikita.shubin@maquefel.me 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