From patchwork Tue Apr 9 16:43:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Diogo Ivo X-Patchwork-Id: 13622956 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 9F855C67861 for ; Tue, 9 Apr 2024 16:43:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=NlowXIsGn93W927VXSx3jLlX6U+2w2tY2gj58kxqp84=; b=Sja/PrDpAf+qAN E1QsIpeQHZGdRzkl+Ehxhgmtbh76KB1Iu4E/vCUTxOYR2k0qcO6aRGOK9iCPWgrHKWO7GH+cZiSvn LgiZLzHIL206/WkBxo7UNkM2QKNKY2Qydoz02YAIqsJyxJKmlpcdRzDGjqp1AaZqw8ruY4FQtmhGa x26Wd3upbVYF5mNjtpiLgzX94TpAgf5ETEGWNo+RElJmeyYf6yqn4FW1odOeSWZXkyTf6hHZ8k1ui 49jZgK3RO4ucu2MLv/CIEhPd0hBxSH51pGaYsToe+UcIvuxvViVhK1VSDv5m/cPfCSV0F+ntndEc6 5L84TcWOiypWW+Uu0iEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ruEZR-00000002zb1-0COg; Tue, 09 Apr 2024 16:43:41 +0000 Received: from mta-65-227.siemens.flowmailer.net ([185.136.65.227]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ruEZN-00000002zYo-1bjw for linux-arm-kernel@lists.infradead.org; Tue, 09 Apr 2024 16:43:39 +0000 Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 20240409164329c078ec798d44287f06 for ; Tue, 09 Apr 2024 18:43:29 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=diogo.ivo@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc; bh=xw+poDxsql1XeHyN2qonEufALyjEJo1ofchmylGmT0M=; b=DpYmHGPrVi7cijL645BA9nR6ZxvkNkLkoBNxynJFRCxskkl9nFEakgyOZrt/sODqf+6837 a73TmY8xe5wQak4/hTSs/g2z067MkvC9B+h9TGqVrw8UzYJeh1p5vNZ2O/u8gEkW4J/NHabm PeiQ7jk4f8jvC9u0CzLLeEu+d2H04=; From: Diogo Ivo To: nm@ti.com, vigneshr@ti.com, kristo@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Jan Kiszka , diogo.ivo@siemens.com Subject: [PATCH] arm64: dts: ti: iot2050: Add icssg-prueth nodes for PG1 devices Date: Tue, 9 Apr 2024 17:43:14 +0100 Message-ID: <20240409164314.157602-1-diogo.ivo@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1320519:519-21489:flowmailer X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240409_094338_118734_21F6B4F0 X-CRM114-Status: UNSURE ( 7.67 ) 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: Jan Kiszka Add the required nodes to enable ICSSG SR1.0 based prueth networking. Signed-off-by: Jan Kiszka Signed-off-by: Diogo Ivo --- .../dts/ti/k3-am65-iot2050-common-pg1.dtsi | 32 ++++++++++++++++--- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg1.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg1.dtsi index c50a585dd638..ef7897763ef8 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg1.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg1.dtsi @@ -43,9 +43,33 @@ &tx_pru2_1 { }; &icssg0_eth { - status = "disabled"; -}; + compatible = "ti,am654-sr1-icssg-prueth"; -&icssg0_mdio { - status = "disabled"; + ti,prus = <&pru0_0>, <&rtu0_0>, <&pru0_1>, <&rtu0_1>; + firmware-name = "ti-pruss/am65x-pru0-prueth-fw.elf", + "ti-pruss/am65x-rtu0-prueth-fw.elf", + "ti-pruss/am65x-pru1-prueth-fw.elf", + "ti-pruss/am65x-rtu1-prueth-fw.elf"; + + ti,pruss-gp-mux-sel = <2>, /* MII mode */ + <2>, + <2>, /* MII mode */ + <2>; + + dmas = <&main_udmap 0xc100>, /* egress slice 0 */ + <&main_udmap 0xc101>, /* egress slice 0 */ + <&main_udmap 0xc102>, /* egress slice 0 */ + <&main_udmap 0xc103>, /* egress slice 0 */ + <&main_udmap 0xc104>, /* egress slice 1 */ + <&main_udmap 0xc105>, /* egress slice 1 */ + <&main_udmap 0xc106>, /* egress slice 1 */ + <&main_udmap 0xc107>, /* egress slice 1 */ + <&main_udmap 0x4100>, /* ingress slice 0 */ + <&main_udmap 0x4101>, /* ingress slice 1 */ + <&main_udmap 0x4102>, /* mgmnt rsp slice 0 */ + <&main_udmap 0x4103>; /* mgmnt rsp slice 1 */ + dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3", + "tx1-0", "tx1-1", "tx1-2", "tx1-3", + "rx0", "rx1", + "rxmgm0", "rxmgm1"; };