Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4422697rdb; Fri, 15 Sep 2023 01:23:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG6K/x2/l8IC2IW7SGXgxOAVy9uS2SV+JlwWZChK5650EvLj6UaG+qHM4KxcMnRXyJLvjXp X-Received: by 2002:a05:6a20:a10c:b0:145:3bd9:1389 with SMTP id q12-20020a056a20a10c00b001453bd91389mr999391pzk.6.1694766213642; Fri, 15 Sep 2023 01:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694766213; cv=none; d=google.com; s=arc-20160816; b=NaJhJN74uw3E4ObCsY2Rwkdi72KZoWC2u8oDLYxKy1nC+aB0CjZWGcpihiqA5BbB9a Haayp6/iT/ARm8TxHH/6gbRz12g92faSFFX3PlE0fZKtcdZWPE52oC7eg1bxT6/LEVRH gyTyQX0CwWQmac6kB1rqBnMRLJeaWoYs3DGkg2aHPsq7aNjzvj1VVu2ZFcS8zuryhypZ l+voio9ZjlAq+fGLOjwJi/DsAO23SD3bSdazG+LaV5enu5viC7D6foaEvH5KYVcfD4IX aTAGl2qNtnx18BESts3kU14BaQyuBTXQ1qS0BrwlqVTmK1e04PMOE643/9JQLg/a85L9 ropA== 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=dvOEq3EfH/R41yJ9rO+/KOZ9MCn5e9+k4A4BVanBK90=; fh=DhpsHCRQAB4hLIygda0p8PDIGD3QglDP9VN1dcHVjW8=; b=B8mkOBvXe/8NBFyCn10TumKyJd1DBWDkiYrvnLob7D1wYBNZ96GcjXRiEPYtHbzx39 psWqMo6U6kUcXkhbATumfZfJOEWada96IVuGe9JriLGAmCKI8Ff0wac9FVSZQR3g49o+ cDXEOCp6IVT62kyR96VIrJ4QWDblibp/4sgJPhAuNFpm7qhdKUY4v8k2Kam5Np59UyuV dbUps6TiT1nB/15j6GKkMJSo+mHkUkYlBMf3MAJ4m8juI43E8bw8/iRoQ/K+YkTsDK/d VROWydT1u/wSN6+DRNTt7mBMviqMt1NnhzQ1Wl0YO+5Iy1ZOiYdFHwqVrEp+6er5P8Rm yA7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kYJXzdPe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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. [23.128.96.34]) by mx.google.com with ESMTPS id fa28-20020a056a002d1c00b0068fbdfa7379si3044158pfb.311.2023.09.15.01.23.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 01:23:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kYJXzdPe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 0BD2685C6AB5; Fri, 15 Sep 2023 01:13:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232789AbjIOINI (ORCPT + 99 others); Fri, 15 Sep 2023 04:13:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232986AbjIOIMn (ORCPT ); Fri, 15 Sep 2023 04:12:43 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DD72272C for ; Fri, 15 Sep 2023 01:12:13 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 5F837C116AE; Fri, 15 Sep 2023 08:12:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694765529; bh=0b9m4uzwrNgRYaYkwhHEyBc7GMoHhyI7Pd3m4dfR6Nc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=kYJXzdPe7K5W2jU43PPpbsNC1Hsz8N82/R2gdNm8lypWYZBwKWaiNfShUegSZOD++ R0zT2BWuRlw7JuLSGhIKCYY1NTUv8+LHay52ZtuGX4IbcLbOvo8WkL9Zaiq6gyxF2j LFoTd/qoTA1W9k7A2CDgA+LPd+ztGrY8A2+JaKcAonj4t1ZtZX+k5yABI5e3Uzj2w4 d3IDysDyqanK0ksucJvEWP4jVgJQ/hESEkNnr/+aolaYrJk1ESW0Ei1uCMS5urn8no 6wz5qbO+OMsaJUJUO7rmoe1CfB+GRACjolRKttXYjHI7LVCwIHRuLTUiq/RL+FRfVs JvNq7kMtCm3sQ== 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 4C934EE6437; Fri, 15 Sep 2023 08:12:09 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Fri, 15 Sep 2023 11:11:03 +0300 Subject: [PATCH v4 21/42] dt-bindings: net: Add Cirrus EP93xx MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230915-ep93xx-v4-21-a1d779dcec10@maquefel.me> References: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> In-Reply-To: <20230915-ep93xx-v4-0-a1d779dcec10@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 , Alexander Sverdlin X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694765525; l=1963; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=IVmfCvMs//Z2ipPGURGz6saGZ4W56uIvLBfUBFiUyHM=; =?utf-8?q?b=3DKFopxrNEENJG?= =?utf-8?q?HjnrEuKxBqUFYu1RNRbYXM+AX5ixTrEim34Wgrn84WhB5uByN7G6b5MQEuFXyZ4n?= S2P97OacDBOyGeX1RjJ+x2liMKhlKSDOSyg0P+qnVMgo5jCMUw8w 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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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]); Fri, 15 Sep 2023 01:13:19 -0700 (PDT) From: Nikita Shubin Add YAML bindings for ep93xx SoC Ethernet Controller. 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.39.2