Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp577526rwp; Wed, 12 Jul 2023 19:21:05 -0700 (PDT) X-Google-Smtp-Source: APBJJlGO2XzoH43BHjdKkZYIowbiYLnKaGke2gn+cyRm2HUN9Gci9her/jkUa9HTnu4JvmuTDRIF X-Received: by 2002:a05:6808:23c7:b0:3a4:1b66:5494 with SMTP id bq7-20020a05680823c700b003a41b665494mr358665oib.44.1689214865658; Wed, 12 Jul 2023 19:21:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689214865; cv=none; d=google.com; s=arc-20160816; b=FcCxGJujFs4pNnMyBwDDLvFfu6LaIZprRS+geuTOAV6xpb1VxrfE6cpYJY9/OLfUy/ J82SzT9vVc+4WfmUkwXwNnap2hHuBPmJCgm8xtVgryUeSYkOLV9nz0jCsie/PcxpwzL7 HIj8VbgSc9vPkM0YaueLyttFFL2ibNLbATXRIxaTqlv4/tbWJQxdnbFWuYkIUvofL7eV KXYsRB4RGaPn1iVUEbNicuqMYB8Pzf2rOAB9D5H4W+oY6e7YX8M1cBjbGlCo2brBNosT vaHlj4w18jIPV+LCVUt5hjqp/y1qF0ENae+RCOZz/9rO3DIrK0rDCU4ChRg0cMixu42b iCPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date; bh=3uP38N4edhYc6jbyZJhb19nVnp21geTftrXEV8gLQfM=; fh=9pKblXLHR4b0iqJeNGezDe9eB2gLZXksRAVo2lkFWAw=; b=KrCScQQtyjcGRHNvcr/Ge0dJ7iNyqUji0OXUVag0MFPgD4Bb7m2EUUxxfb/WwyfQdD SesMeJPzTPkE+s8+UU7QrR/bssoTyTDMuckJtXQ6mp/wq2CSyXvYN2bjmYCwxgMAIGBi iyPhAQyPw9VIvbhyNpWSSNl68m50yuV+Ewh+UGE8sZ2v+x5MH11L06geYz+QOF6AiWuJ QrHSPcWmyqtjQWBCmSBsJeNC2LHCARRWkJi1pPGC3MRG1uu3iNz0fz7TqeCBry10EeNc R9fFIL5uRaIchOpHrwaupTFIuDCgIirGtIqnOPBo7sBQqdnB61yWCKUuFFzlYI35Mx8I CfEQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f10-20020a63de0a000000b005538fca55f5si4128501pgg.874.2023.07.12.19.20.53; Wed, 12 Jul 2023 19:21:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233545AbjGMCRs (ORCPT + 99 others); Wed, 12 Jul 2023 22:17:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233527AbjGMCRq (ORCPT ); Wed, 12 Jul 2023 22:17:46 -0400 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C380211C; Wed, 12 Jul 2023 19:17:39 -0700 (PDT) Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1qJlth-0005VH-1B; Thu, 13 Jul 2023 02:17:37 +0000 Date: Thu, 13 Jul 2023 03:17:24 +0100 From: Daniel Golle To: netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , =?iso-8859-1?Q?Bj=F8rn?= Mork , Florian Fainelli , Greg Ungerer Subject: [PATCH v2 net-next 1/9] dt-bindings: net: mediatek,net: add missing mediatek,mt7621-eth Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Document the Ethernet controller found in the MediaTek MT7621 MIPS SoC family which is supported by the mtk_eth_soc driver. Fixes: 889bcbdeee57 ("net: ethernet: mediatek: support MT7621 SoC ethernet hardware") Signed-off-by: Daniel Golle --- .../devicetree/bindings/net/mediatek,net.yaml | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml index acb2b2ac4fe1e..38aa3d97ee234 100644 --- a/Documentation/devicetree/bindings/net/mediatek,net.yaml +++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml @@ -19,6 +19,7 @@ properties: enum: - mediatek,mt2701-eth - mediatek,mt7623-eth + - mediatek,mt7621-eth - mediatek,mt7622-eth - mediatek,mt7629-eth - mediatek,mt7981-eth @@ -32,7 +33,7 @@ properties: clock-names: true interrupts: - minItems: 3 + minItems: 1 maxItems: 4 power-domains: @@ -131,6 +132,30 @@ allOf: mediatek,wed-pcie: false + - if: + properties: + compatible: + contains: + enum: + - mediatek,mt7621-eth + then: + properties: + interrupts: + maxItems: 1 + + clocks: + minItems: 2 + maxItems: 2 + + clock-names: + items: + - const: ethif + - const: fe + + mediatek,wed: false + + mediatek,wed-pcie: false + - if: properties: compatible: -- 2.41.0