Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp442559rwo; Fri, 21 Jul 2023 14:40:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlFru8MCIzvIdT/ryfgLMy4Cuj0TyBbC2qQ16LuF2EPfkfG0Ipqc01AaaNii6c0ZFODo+aQV X-Received: by 2002:a05:6a20:3c89:b0:133:6696:1db with SMTP id b9-20020a056a203c8900b00133669601dbmr4458767pzj.29.1689975609438; Fri, 21 Jul 2023 14:40:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689975609; cv=none; d=google.com; s=arc-20160816; b=aTqhcMBqW1heFDjQAASjXQ8R/C3kt4vi23shv8/JVa1j9RVbBoqBRKsy6C3THe5tWw t3F2m3dIhEPMpXIfrszLf3Hc5izM+ASazyV/lBg/EsmE1t9rGNbomJVdb/tJFUyDkxCy XFGCni6YjaOLc7Z0bU9lUNIeEDDrh1f9W68H+24XyMvjn1d1muICpoMCYo62llUooMkB 0Hg42JPwhT5FbjrqV5/pqOJJ+ZW0FR8d/avinBRCo5xoOzIMA484kE+tgU2L6EKRBYv0 Hlc+bllfFKu6fI7OA+Svb3b3v5+Xh2Zx0QD/kqrmrKODW53MGs3pLMyvXj8DPFX+ychd kOEQ== 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=goQBq6ugKS/BUWjMWs6Q49ZicZEa3mbuoDf4l0njwaU=; fh=kSbt13auWz6/f7g9BzzANFH9WDsh0lXoSikr6/LoHRg=; b=wU4aMv1QekBvLSV4XeS5Xh2ef/hQdTKq+9dkd9lLyS0bNsqG4UbZu9qj9JtjoGSQf4 eNSw+Rlv2WmBxMT7zD67glAKZGRH2zGJOmpNU88aBLv/1DuYNf3avbFHH+DZMjwRB3aa nIC4NM9bwd8pyqB3YL0TM4J9zPdF6RU9bNAPqkLojwcRilkRpd8Xv4nT7zByA2ZbRiYn Q826yxx48IQcRebqtICZs3QXsm2Jjnv966OvU1GwWDEgNehozEPfztoNMdT3tcsTizMq 9yygAxYL0iXBiiTKlqhNoECJu8DjpRtwMdOlhnSArBTaK4cHF3kNrBRvRN1ENnnt5jEe iIIw== 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 cu13-20020a056a00448d00b0066767d61b7esi3742053pfb.331.2023.07.21.14.39.56; Fri, 21 Jul 2023 14:40:09 -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 S229848AbjGUVcI (ORCPT + 99 others); Fri, 21 Jul 2023 17:32:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbjGUVcH (ORCPT ); Fri, 21 Jul 2023 17:32:07 -0400 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1F8B30D4; Fri, 21 Jul 2023 14:32:06 -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 1qMxj7-0004Z0-2c; Fri, 21 Jul 2023 21:31:53 +0000 Date: Fri, 21 Jul 2023 22:31:45 +0100 From: Daniel Golle To: "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 , Greg Ungerer , Florian Fainelli , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH net-next v4 1/9] dt-bindings: net: mediatek,net: add missing mediatek,mt7621-eth Message-ID: <2e73f994d29d0e889231df1886ec4ff431c32e7a.1689974536.git.daniel@makrotopia.org> 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,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 Reviewed-by: Krzysztof Kozlowski --- .../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