Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4491243rdb; Tue, 12 Dec 2023 00:24:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IEH8v5dlv9ci3zPBfh3r3hs7JoxVvMTvahDVfdIyhObpJ3zJ8nh9++dAeGt8XnJXGmtPRIZ X-Received: by 2002:a05:6870:700c:b0:1fa:ded0:d8e6 with SMTP id u12-20020a056870700c00b001faded0d8e6mr7342396oae.5.1702369445466; Tue, 12 Dec 2023 00:24:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702369445; cv=none; d=google.com; s=arc-20160816; b=kUH3nWppjGBz16AREstyawlQcGYPNfJDsJWgLtptp+PSRLmq8twQ7UHXu3X5epRM6e 3s52Mf3zf/zYyUlXjhoXfj22kqXogFeuC0MmDBlBM7nXsmnjLt0/kb/C1Hrf5dMeOAqn gNdC2h6kYa7b+cMf+nf1I5Q4n5tRnvMoUoagqpf+o430o7/Wlo8w5dJ7AsyriNs7BE98 mTnSuMea9WjV9LAhEO0FmBpLn+0qGPB5u2DyU8pkBl/zZayBN+uG/9BifLrLM3mYGvTE 8wR+XNOt3jrvR9Mq4XJoevrodY66gosoKBqJygt6+/Hf9VhkOp6VkTc17UQtJKzSDxlL 9ZBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=FeifQjTghsPP8noM7EBjRmzAqJuf7iCHNhH9/pwzDEI=; fh=E046UHvtSZvRQCvGf/GWO1+f/GIh10I7+HoYh1ToFu4=; b=meGXWgg5ZmiP8SvJnchfzplDraMe6RNA+6zNQFCaURjWNeKD4yyhhLlzLSiPoXY4Il FVFGQeIS0t4Xjxjt10R/UuVTO+APf1ESPLfzOt8JXckUxELSoYfZlKzBOMFcApdWYgDP pJFsYJgPUYVvXUU10X5yvuqwo41n26DI8xfH/i8OAKwzaHl4+FwFbWPpGGQGkBXJ1265 0UOrmBuAIcr0CkJJJ6k7Lh3iOsVNxCLTE4t7vh00B3B7uyqUPlzraG7mnQccTGgYq9d7 sY80jYCdmw4dJKyaMS4BkFbH8m8TlSRrKENnUVG7+gPHhx0eITyOLVxHYZWGqi8VKhst jxIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SgDtwm1y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id a11-20020a65640b000000b005ca186affefsi2674727pgv.323.2023.12.12.00.24.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 00:24:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SgDtwm1y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 17E888042A86; Tue, 12 Dec 2023 00:23:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346240AbjLLIXF (ORCPT + 99 others); Tue, 12 Dec 2023 03:23:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232370AbjLLIWC (ORCPT ); Tue, 12 Dec 2023 03:22:02 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9203F3 for ; Tue, 12 Dec 2023 00:22:08 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPS id 6F3EEC116B6; Tue, 12 Dec 2023 08:22:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702369325; bh=QElf92ve25lXN1JZiFHBfLmXRGqOOHFIk5fOxWOua4A=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=SgDtwm1ylXQ5OjvD4I8AE6wXn3vJGLTFDrH6Td+liqzXoyD4uqTkkPjcU3kb7K6vJ 4fZ6ohJBnq07xtabQ9SU3Y1yyfv/hBder37Lr7zvN+UWm44vnQ5jvLBY/FCE8OQQ2V 16WgPuUUn+xK8exKXh66g3DW7CWOMkld3K+IqljFmWFjh7TCFDd1h1Gzo5aYWeoVAx 1uhSvaM1SP8emmJRIdZ5tKys6Y+ZQ6/94NnXx31oaoCncGw6UGigcQnJyWySJvSae0 Znd5gJdadWppy+dXJPXB3PkduwcxIrZNpi7d1Yrwq9cgn2tZmysIgIwBkkk+VE9XJf iuwKYHZ4d/CLw== 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 5ECAEC38145; Tue, 12 Dec 2023 08:22:05 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Tue, 12 Dec 2023 11:20:34 +0300 Subject: [PATCH v6 17/40] dt-bindings: net: Add Cirrus EP93xx MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231212-ep93xx-v6-17-c307b8ac9aa8@maquefel.me> References: <20231212-ep93xx-v6-0-c307b8ac9aa8@maquefel.me> In-Reply-To: <20231212-ep93xx-v6-0-c307b8ac9aa8@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=1702369322; l=2030; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=FinMyeys++S17z45OrZP4NQjjACfz96xCTLZUAMWD/g=; =?utf-8?q?b=3D4kPId6aovYi9?= =?utf-8?q?t/xaSzCc53zJG4kjo3RX1N/mKlmbt1m0f779yDPF231o9ISVzvge5t1v7SC0QSvF?= ZfR4BVZ3B7/aVU1vt2/nbjplYo4OSHOSh34jaOweFodZQ7umj0lR 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: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 12 Dec 2023 00:23:51 -0800 (PST) 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