From patchwork Sun Jun 8 21:14:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 895077 Received: from mxout2.routing.net (mxout2.routing.net [134.0.28.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 915CA2566E9; Sun, 8 Jun 2025 21:22:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=134.0.28.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749417777; cv=none; b=kXslOjPOwZJo66zTVs3DFq6gp0SSyOx5MTJUkOkwFiIESZw52cKs91H4sfhpzrnGLUcvNz/cAk2fWjnbO9v/rl23TeWPohezU85iSlMK7otnNbHJ4pXLAzk/Lsm+ibwOZgX1dWrFEeqZUGKJGaawVeoCqtRYHOmb7iIwHXd0BSY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749417777; c=relaxed/simple; bh=KUptXbnPKHGzwLVXsR2MOAE6xaN+4oai3C2lhhh1EZs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rCGolBxrqD7LUdbhHmw6pW6HiylRGHsIIiVDb0GyA1VObYBL5fL8Pd6SF+8AevcnQBQHDw612ObezRkEYOddnpe49mPEwkBD67W34ClhNhr6zbweHev1i0Z0rjB2e5L6kbcNkvNav5vSeNvMc7AXjtXOjU4Tc2DGXYM/UuVsDrk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de; spf=pass smtp.mailfrom=fw-web.de; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b=FaBfUCWT; arc=none smtp.client-ip=134.0.28.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fw-web.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b="FaBfUCWT" Received: from mxbulk.masterlogin.de (unknown [192.168.10.85]) by mxout2.routing.net (Postfix) with ESMTP id 6E0CF5FBBE; Sun, 8 Jun 2025 21:14:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1749417299; 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=0381grodRVRFsH6VaXu9QlDnRGqdCCl09dt2UIl4dD8=; b=FaBfUCWTlLYX1QDXgDARMm+du1ny79LjtRaEMDY23TcZ02T9IJuLpEghTTBmj3xMsddlIk NLHW+oJR3ON2i+xShh+KgjtwvJi1YE3R7mjXY4lsY7VzremWpaSrhjXieqeL9IrJLI1Pzp 9l8zJTrlZcR5rJJg6yqKFAaJxsp/FUA= Received: from frank-u24.. (fttx-pool-80.245.77.166.bambit.de [80.245.77.166]) by mxbulk.masterlogin.de (Postfix) with ESMTPSA id 0EB291226F5; Sun, 8 Jun 2025 21:14:59 +0000 (UTC) From: Frank Wunderlich To: MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno Cc: Frank Wunderlich , Jia-Wei Chang , Johnson Wang , =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= , Landen Chao , DENG Qingfang , Sean Wang , Daniel Golle , Lorenzo Bianconi , Felix Fietkau , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v3 01/13] dt-bindings: net: mediatek,net: update for mt7988 Date: Sun, 8 Jun 2025 23:14:34 +0200 Message-ID: <20250608211452.72920-2-linux@fw-web.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250608211452.72920-1-linux@fw-web.de> References: <20250608211452.72920-1-linux@fw-web.de> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Frank Wunderlich Update binding for mt7988 which has 3 gmac and 2 reg items. Signed-off-by: Frank Wunderlich Reviewed-by: Rob Herring (Arm) --- 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: