Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp202007rdb; Thu, 18 Jan 2024 00:28:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJ88/xlfs9Zmqi0JjZ+XX3xljJ939RO04CqoTsCaDHjN5QAuATubTS7g5jX0z/FQbTcKEF X-Received: by 2002:a05:6870:3921:b0:210:a9ce:30db with SMTP id b33-20020a056870392100b00210a9ce30dbmr459358oap.10.1705566525861; Thu, 18 Jan 2024 00:28:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705566525; cv=pass; d=google.com; s=arc-20160816; b=Jq5dms/pHgAiJzB8ESWFbMOy6Egdtb5FiEfNj6zjPe/WyKupjB+tVqWa5lcR2FMD0i crW+C29INeVhXU6lmk8SnwFabRf7G4qoLvP3waT6GeI5Ne6UVDSi6hLo3bx5zBy6OisG U9K90b/Td9ZQxbNBxMInCBufyvBllqVyOtZ2JDz39RSGUlDZAJ/p4MUnbJ078Av+qlAl gQhsbb9E+MrqMruo89ZdxHF6HpJsbM52JvkGJBnqSX5/df/q0VOBhlgiX8LsQth2O+CZ JVw10tvjYoBFevrGtEmBqqHOX4Z0posQ6Vn6rqxUKu7mbMV3js9iZM8Fuq2m2lcHhGXu Avug== 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=n0RqVFxfCESfnZup6Yi5nW7sJgmtyM5zW2GCPl9E05KOcp5ghnfKl5shLdNCx3CI5m jWExFI02m+aZ2tq4pIqqyFYsPBfxfxH/Wr1cFQvjsA045yE7JAlZGMa+wgtCSrGsCyuA tXT6E2B87LcpkL69BSBiN9fRfew8iqVVp10dkOPfZ2HN9Fce3VKZti8vuJkJOROel4QY THFPGdPy3vMDVanlRIZ4rS/yjxvxZEQg+ZwxMBuwQHEEPpzXxfrtgCP7K4UALfm2jUYs gEGA78BUv6BBH5jU1qUJYUnRVfKOURo1DGkxraUfTzokAV+nFNmW3MXKC/XLLCevmi4W eBxQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jkk9S2wi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-29868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29868-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id g12-20020a656ccc000000b005cf850c3d47si1129972pgw.866.2024.01.18.00.28.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 00:28:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jkk9S2wi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-29868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29868-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 737A228270B for ; Thu, 18 Jan 2024 08:28:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7BA1F2D041; Thu, 18 Jan 2024 08:23:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jkk9S2wi" 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 CCC6814A9F; Thu, 18 Jan 2024 08:22:59 +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=1705566179; cv=none; b=To0k5M/JnMZGtliUtZ3B3zod4UCYBr3cWryaMFgSzYpvsww4uOvw6SqnuSLJkKrxYgZIFBMi9neBxTAIykcvs2ilMasj6keFaXMkIkXE4gmk3lHieMZlXpzOmJml06evjFRLj2oTGpV+aj+NRhnupaUc+VfC0/9VEEy56kbQ+eI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705566179; c=relaxed/simple; bh=QElf92ve25lXN1JZiFHBfLmXRGqOOHFIk5fOxWOua4A=; h=Received:DKIM-Signature:Received:From:Date:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id:References: In-Reply-To:To:Cc:X-Mailer:X-Developer-Signature:X-Developer-Key: X-Endpoint-Received:X-Original-From:Reply-To; b=rPbXTyFQFN3F/8gK6f5GIIqvdS1Eab1DSn7aKjKcE0+UZE0Q+Don91Q4TdFV3rmsvUJJ3b/FEk0DeFsSIU15KXaF4bw7oPO1exAz9P0lFCrud6ZN0sjswcNMWMcjKW+eej3NdHWvlILG8O3oc9AEdupWHYv5dZqBtbNif7zIhSE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jkk9S2wi; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 7936CC43394; Thu, 18 Jan 2024 08:22:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705566179; bh=QElf92ve25lXN1JZiFHBfLmXRGqOOHFIk5fOxWOua4A=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=jkk9S2wi0pbI7CEGs2aKLhrtQA7yDiOBQCsgu/vOAKrhx/fj9iAhHq5YX5GQ7cfSx tUc4dAtFk5vsb29sWVZm1C4n9LKKvx0zRYH6KhXb2x5JcQWVsashPU7cfzUXrfq6ud crs1mi3UXsxODudiot0ahz+BTg3JUSaZwhzSR8bEmx/l1tSOOvRmGc1dODHQwM+J/E 0Co2/oOiKxfblBnCDMMMPbNUjxxFQZwsH+SGhTnEBez5wCcNuZKkb8MmQIqU99P10E j4Tnr45+Ve8gX/CNZiuwAG9Xy3mptdbFrDkUHEHnW5YihWnisrNE48bSLey1zlRjjc WJrafZEsnGgWQ== 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 68F30C47DA2; Thu, 18 Jan 2024 08:22:59 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Thu, 18 Jan 2024 11:21:00 +0300 Subject: [PATCH v7 17/39] 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: <20240118-ep93xx-v7-17-d953846ae771@maquefel.me> References: <20240118-ep93xx-v7-0-d953846ae771@maquefel.me> In-Reply-To: <20240118-ep93xx-v7-0-d953846ae771@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=1705566176; l=2030; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=FinMyeys++S17z45OrZP4NQjjACfz96xCTLZUAMWD/g=; =?utf-8?q?b=3DKhVLM1wqLVOd?= =?utf-8?q?ZlI5I/BGta4KjnWs5Pf4yttl+Jr1RQp/iRXHaXgDjAQBN1Vn4NC02ZfLhCsFuH/n?= atKoiRypC6WqfqeRAodAI3DMh0fHc4x3/xtuzWbWoIXqSGDffkwv 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