From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=211.20.114.72 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792496064; b=TNT8J5a2K4KkC+12yl6sm8NR4A5zp0xrK5ep7tziP8PK2HxEQ8vWBXj+IagKuZAiw3hi pzIiBNn+obRPe3dj1iHjV6xW+ar0hL6JnQ1Pt0o6gsN2g5MPwOH87b3o2eCDmXRyWXtex IcJ5WOTp4EDcflw24g9f1cVu4gjWBXR15m90O4waR/+3kLbgQc2tls2xfbzecgBecbetx F4V2hgJuh0Fdtyf0rdrODTnRvHep6f3igThyLIaGQnTTN/DnQ0BJ3cq0sKPpFQYxs943A fMMysUhrfOzm/r2CoATSsXr3tUO083BHlhHJEK2NOjiwMqzC7yd4bC9ByIvEqlH00lQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792496064; h=DMARC-Filter:Received:Received:From:Date:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-ID:References: In-Reply-To:To:CC:X-Mailer:X-Developer-Signature:X-Developer-Key; bh=xNYseClBPTDdRiZqNYyY5RGXAVmzRY9VKlPzsTMQiGs=; b=UKOiZiWp9didJGtaV4axB3Bsh5nyCvnfRT0jFi4Gvcpfh9lgPXAkwZwtWJ6Tjh7BPz5u GM/Z/pmKiAgVxJ7OaYl9dgwVxlvP6aV95cB2NcYiw71iJt6hj5QQUROm+mOAGtxG1q8jT hJVQPZhB6w/LKZWD/F5a1PXac9Qh03zJhUD18ULH76Z05wrrtg1hWYLkH/UjYpKGRuer4 mDRZOvawOAuUzlDPLWy54+9ha8selu2fKjJXhHA0TCbfFGNa1yChrvR8IRiRZiONuIn/3 aeaPts438dkVoYhYVpJtLxf/jjB1TE+dUrHildzY2hRDNYMT6c6gJiDh9eDaUYIGnTQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=aspeedtech.com; spf=pass smtp.mailfrom=aspeedtech.com; arc=none smtp.remote-ip=211.20.114.72 Received: from twmbx01.aspeedtech.com (mail.aspeedtech.com [211.20.114.72]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D02B1606A334; Tue, 20 Oct 2026 11:34:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D02B1606A334 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aspeedtech.com Received: from TWMBX01.aspeed.com (192.168.0.62) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Tue, 20 Oct 2026 19:34:13 +0800 Received: from [127.0.1.1] (192.168.10.13) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1748.10 via Frontend Transport; Tue, 20 Oct 2026 19:34:13 +0800 From: Jacky Chou Date: Tue, 20 Oct 2026 19:34:13 +0800 Subject: [PATCH net-next v4 2/7] dt-bindings: net: ftgmac100: Add AST2700 compatible X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20261020-support_ast2700-v4-2-4d36b40939b3@aspeedtech.com> References: <20261020-support_ast2700-v4-0-4d36b40939b3@aspeedtech.com> In-Reply-To: <20261020-support_ast2700-v4-0-4d36b40939b3@aspeedtech.com> To: Andrew Lunn , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Po-Yu Chuang , Eric Dumazet , "Heiner Kallweit" , Russell King , "Eric Dumazet" CC: , , , Jacky Chou X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1792496053; l=1866; i=jacky_chou@aspeedtech.com; s=20251031; h=from:subject:message-id; bh=AiFo1nxrgHZma21meFBvKa02HS2oJ2KKPArhpFXgJFY=; b=H3YLEpIDhXUmtSLVUgiky6wywnhxcyKd3Cyi/j6ndRRmvgeQaohEVO8m0cgDvWuo+ZP6/Gblg fXAHv3YPL3mC8CfHc5uwW465bJWxiAx5edq9YAj6iDFkSyKCdi4p0ko X-Developer-Key: i=jacky_chou@aspeedtech.com; a=ed25519; pk=8XBx7KFM1drEsfCXTH9QC2lbMlGU4XwJTA6Jt9Mabdo= Add AST2700 to the FTGMAC100 compatible list and document that its RMII RCLK gate matches the earlier Aspeed SoCs. Allow the reset line for AST2700 as it follows the same reset requirements as AST2600. Require "phy-mode" to be present in the device tree when the AST2700 compatible is used, matching the driver's probe-time requirement. Add aspeed,ast2700-mac as a standalone compatible, consistent with the other Aspeed compatibles. Signed-off-by: Jacky Chou --- Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml index c870dd0bda7b..0a376b849a91 100644 --- a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml +++ b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml @@ -17,6 +17,7 @@ properties: - aspeed,ast2400-mac - aspeed,ast2500-mac - aspeed,ast2600-mac + - aspeed,ast2700-mac reg: maxItems: 1 @@ -28,7 +29,7 @@ properties: minItems: 1 items: - description: MAC IP clock - - description: RMII RCLK gate for AST2500/2600 + - description: RMII RCLK gate for AST2500/2600/2700 resets: maxItems: 1 @@ -80,12 +81,21 @@ allOf: contains: enum: - aspeed,ast2600-mac + - aspeed,ast2700-mac then: properties: resets: true else: properties: resets: false + - if: + properties: + compatible: + contains: + const: aspeed,ast2700-mac + then: + required: + - phy-mode unevaluatedProperties: false -- 2.34.1