diff mbox series

arm64: dts: ti: iot2050: Add icssg-prueth nodes for PG1 devices

Message ID 20240409164314.157602-1-diogo.ivo@siemens.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: ti: iot2050: Add icssg-prueth nodes for PG1 devices | expand

Commit Message

Diogo Ivo April 9, 2024, 4:43 p.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

Add the required nodes to enable ICSSG SR1.0 based prueth networking.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Diogo Ivo <diogo.ivo@siemens.com>
---
 .../dts/ti/k3-am65-iot2050-common-pg1.dtsi    | 32 ++++++++++++++++---
 1 file changed, 28 insertions(+), 4 deletions(-)

Comments

Diogo Ivo April 17, 2024, 8:48 a.m. UTC | #1
On 4/9/24 5:43 PM, Diogo Ivo wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> Add the required nodes to enable ICSSG SR1.0 based prueth networking.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> Signed-off-by: Diogo Ivo <diogo.ivo@siemens.com>
> ---
>   .../dts/ti/k3-am65-iot2050-common-pg1.dtsi    | 32 ++++++++++++++++---
>   1 file changed, 28 insertions(+), 4 deletions(-)

Hello,

Gentle ping on this patch.

Thanks,
Diogo
Nishanth Menon April 26, 2024, 10:38 p.m. UTC | #2
Hi Diogo Ivo,

On Tue, 09 Apr 2024 17:43:14 +0100, Diogo Ivo wrote:
> Add the required nodes to enable ICSSG SR1.0 based prueth networking.
> 
> 

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/1] arm64: dts: ti: iot2050: Add icssg-prueth nodes for PG1 devices
      commit: 02b4967cf4ec544ba911404c150e9bc75f38f4b1

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
diff mbox series

Patch

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";
 };