From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C28C9C3ABC9 for ; Fri, 16 May 2025 18:14:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dZjEuyh2G5sxy6qtccp1RgU2gBOin5GQse31yIdv+F4=; b=KtlWPhV1sHcLCkZEnQ3pfbXrSk 2IctsYYLu0KEhYmTCb7rerJb72WvwlOsE/VWO9lBsScGFnjt8c6JIJjberTP5gWP17vOqITuUW9uQ 7cqjp+GCiTw1g27q1uuds06QJ/vRoLipIfd+4QvfW0Ix/vipir/bJfT6+irMjxoqsx9JQ0mHlwj95 Bh8EXhzqgNIAWb4IQgA+9a0R/Aczd92TAAjS/+47GEA7IR08lWmydtHc1baLCI5xbjTsvjut9iNz8 HhuX2R90uvevOygYw/Vib9Yt/Nh9LuFh2JHnKn4s+xXaRAbTAOrqfjXKfRZwH3k33N5fW0fisi4Gl x977B2bw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uFzZm-00000004Hk8-3gH6; Fri, 16 May 2025 18:14:30 +0000 Received: from mxout3.routing.net ([2a03:2900:1:a::8]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uFzNh-00000004FKF-1QfA; Fri, 16 May 2025 18:02:04 +0000 Received: from mxbulk.masterlogin.de (unknown [192.168.10.85]) by mxout3.routing.net (Postfix) with ESMTP id 624F1604B8; Fri, 16 May 2025 18:01:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1747418515; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dZjEuyh2G5sxy6qtccp1RgU2gBOin5GQse31yIdv+F4=; b=D+CsnZos9bPYNjbt9hbRg5umCa4SR1ooviOqyn49n3P3sQ4mhbhdqDu+s66lA6dAO46bMF mcA6CfQoSDPTH3pJ2ONLqgn5s/ggzmVn+rgWl5UWJ3vA1eO/greO4tk9h16n9mUwCDDUeE /bbRhjrh5sMilOeYTFtviElWq4zgyAw= Received: from frank-u24.. (fttx-pool-157.180.226.139.bambit.de [157.180.226.139]) by mxbulk.masterlogin.de (Postfix) with ESMTPSA id 159DA1226F2; Fri, 16 May 2025 18:01:55 +0000 (UTC) From: Frank Wunderlich To: Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: Frank Wunderlich , =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= , Landen Chao , DENG Qingfang , Sean Wang , Daniel Golle , Lorenzo Bianconi , Felix Fietkau , 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 v2 01/14] dt-bindings: net: mediatek,net: update for mt7988 Date: Fri, 16 May 2025 20:01:31 +0200 Message-ID: <20250516180147.10416-2-linux@fw-web.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250516180147.10416-1-linux@fw-web.de> References: <20250516180147.10416-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250516_110201_526457_FE00376B X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Frank Wunderlich Update binding for mt7988 which has 3 gmac and 2 reg items. Signed-off-by: Frank Wunderlich --- v2: - change reg to list of items --- .../devicetree/bindings/net/mediatek,net.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml index 9e02fd80af83..e5dc35cfe4e4 100644 --- a/Documentation/devicetree/bindings/net/mediatek,net.yaml +++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml @@ -28,7 +28,10 @@ properties: - ralink,rt5350-eth reg: - maxItems: 1 + items: + - description: Register for accessing the MACs. + - description: SoC internal SRAM used for DMA operations. + minItems: 1 clocks: minItems: 2 @@ -381,8 +384,11 @@ allOf: - const: xgp2 - const: xgp3 + reg: + minItems: 2 + patternProperties: - "^mac@[0-1]$": + "^mac@[0-2]$": type: object unevaluatedProperties: false allOf: -- 2.43.0