Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5684976rwi; Tue, 18 Oct 2022 02:39:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7hzIGTiBwGF+Im6bXJmd9xou1L1SO6POlGMOlnnUTwp16Ah0BnCOc5vjVIGe/x4drh3p1d X-Received: by 2002:a63:6905:0:b0:43c:d4:eef4 with SMTP id e5-20020a636905000000b0043c00d4eef4mr1892058pgc.126.1666085986899; Tue, 18 Oct 2022 02:39:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666085986; cv=none; d=google.com; s=arc-20160816; b=dakDyrJ+P6YjR77FeupP+HIo89DY4jooqnfAZqaACzc6v9nW8TCTqK6JDWj8e2MHPc ot1xpHH4nFi0KgzYUOpOE4iKc0taOfnRtjzEeq5wzjt/ZSzDcWblKhLS/EpPIS0oo+gi Tnf62wstxs4qazsz9NXlqZG3XZE8cAR8u6mSEKudWK13Ngi7wOg8HAn6WgS83KJX8698 MB3BE8WwZtnFWRTS1UDqIkxyZOaxyabaXq+1PHObP+hJeRT8Y0fMABc+CgbOgYvxaKNy K2NfVudTeVC0WDm8sjw2kAu/pq4yieledrFfN5AaPxObLuOQuld8DZDkBSH8WTzsAY+5 02bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fiJqSuC8rqk4lF90DGjukNBCSWf2butQagXjLdw25pw=; b=u93fa6aeCbTauHN6RNv2XXMA9vPfnenSVVA5Ljy9PWTOAoxNTRf7aB+VsJSBes9c2B YIAlr2r1JoYNQDnrYH3ZIE2N1ElH9JKdQ+xrridexv8tNFY3g6X7ScC/w1LmLSf1ObfW PItYnB2wqOgHoykAXaxOVXur+0tekD3XIJGepnpKwIZFcUgLWU94SUuwHZStlDpe2Hnw ke13CvCU+BEcSe187pAqa6umTtfXLqzdG/re3Mvsp9uocUEr6X8E/K4VoD9gfKAg1YYl H02qQewmPKboo0M+v5RPaqE+jxPFGJcIlcTTZGy/uP08IoaIFg8u4bH+grydCzn3BMMW TF0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=UD34uEE5; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r7-20020a635d07000000b0044c634e3051si14880623pgb.274.2022.10.18.02.39.35; Tue, 18 Oct 2022 02:39:46 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=UD34uEE5; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231202AbiJRI65 (ORCPT + 99 others); Tue, 18 Oct 2022 04:58:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231137AbiJRI6q (ORCPT ); Tue, 18 Oct 2022 04:58:46 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB97B5601B; Tue, 18 Oct 2022 01:58:44 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29I8wKVS043072; Tue, 18 Oct 2022 03:58:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666083500; bh=fiJqSuC8rqk4lF90DGjukNBCSWf2butQagXjLdw25pw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=UD34uEE5FF+e7q48GYYHr2joWia1WkYWGYJG3ogPrvRlCNAPe9TPOoK2jDvEmtd9f w6zQfdtbHJktURQF8Yj6gmlkVRaJ3oQG2AJrmbzX24JN4bP/uQbyYQbZiQFJmMxm5z xOkUN3CGk+0Gc9OcIR3rmLlmXyDOrEk/g0DD2+to= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29I8wKk2014881 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 18 Oct 2022 03:58:20 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Tue, 18 Oct 2022 03:58:20 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Tue, 18 Oct 2022 03:58:20 -0500 Received: from uda0492258.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 29I8wAcP010100; Tue, 18 Oct 2022 03:58:15 -0500 From: Siddharth Vadapalli To: , , , , , , , , , , CC: , , , , Subject: [PATCH v2 1/3] dt-bindings: net: ti: k3-am654-cpsw-nuss: Update bindings for J721e CPSW9G Date: Tue, 18 Oct 2022 14:28:08 +0530 Message-ID: <20221018085810.151327-2-s-vadapalli@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221018085810.151327-1-s-vadapalli@ti.com> References: <20221018085810.151327-1-s-vadapalli@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 Update bindings for TI K3 J721e SoC which contains 9 ports (8 external ports) CPSW9G module and add compatible for it. Changes made: - Add new compatible ti,j721e-cpswxg-nuss for CPSW9G. - Extend pattern properties for new compatible. - Change maximum number of CPSW ports to 8 for new compatible. Signed-off-by: Siddharth Vadapalli --- .../bindings/net/ti,k3-am654-cpsw-nuss.yaml | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml b/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml index 821974815dec..ec4b57e43e88 100644 --- a/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml +++ b/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml @@ -57,6 +57,7 @@ properties: - ti,am654-cpsw-nuss - ti,j7200-cpswxg-nuss - ti,j721e-cpsw-nuss + - ti,j721e-cpswxg-nuss - ti,am642-cpsw-nuss reg: @@ -111,7 +112,7 @@ properties: const: 0 patternProperties: - "^port@[1-4]$": + "^port@[1-8]$": type: object description: CPSWxG NUSS external ports @@ -121,7 +122,7 @@ properties: properties: reg: minimum: 1 - maximum: 4 + maximum: 8 description: CPSW port number phys: @@ -181,6 +182,21 @@ required: - '#size-cells' allOf: + - if: + not: + properties: + compatible: + contains: + const: ti,j721e-cpswxg-nuss + then: + properties: + ethernet-ports: + patternProperties: + "^port@[5-8]$": false + properties: + reg: + maximum: 4 + - if: not: properties: @@ -192,6 +208,9 @@ allOf: ethernet-ports: patternProperties: "^port@[3-4]$": false + properties: + reg: + maximum: 2 additionalProperties: false -- 2.25.1