devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Parvathi Pudi <parvathi@couthit.com>
To: afd <afd@ti.com>
Cc: nm <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
	 tony <tony@atomide.com>, robh <robh@kernel.org>,
	 krzk+dt <krzk+dt@kernel.org>, conor+dt <conor+dt@kernel.org>,
	 richardcochran <richardcochran@gmail.com>,
	 linux-omap <linux-omap@vger.kernel.org>,
	 devicetree <devicetree@vger.kernel.org>,
	 linux-kernel <linux-kernel@vger.kernel.org>,
	 netdev <netdev@vger.kernel.org>, Andrew Lunn <andrew@lunn.ch>,
	 danishanwar <danishanwar@ti.com>, pratheesh <pratheesh@ti.com>,
	 j-rameshbabu <j-rameshbabu@ti.com>, praneeth <praneeth@ti.com>,
	 srk <srk@ti.com>, rogerq <rogerq@ti.com>,
	 krishna <krishna@couthit.com>, mohan <mohan@couthit.com>,
	 pmohan <pmohan@couthit.com>, basharath <basharath@couthit.com>,
	 m-karicheri2 <m-karicheri2@ti.com>,
	parvathi <parvathi@couthit.com>
Subject: Re: [PATCH v2 2/2] arm: dts: ti: Adds support for AM335x and AM437x
Date: Thu, 13 Nov 2025 12:39:06 +0530 (IST)	[thread overview]
Message-ID: <1253388251.49228.1763017746545.JavaMail.zimbra@couthit.local> (raw)
In-Reply-To: <444398864.187812.1762422794296.JavaMail.zimbra@couthit.local>

Hi,

> Hi,
> 
>> On 11/3/25 6:47 AM, Parvathi Pudi wrote:
>>> From: Roger Quadros <rogerq@ti.com>
>>> 
>>> PRU-ICSS instance consists of two PRU cores along with various
>>> peripherals such as the Interrupt Controller (PRU_INTC), the Industrial
>>> Ethernet Peripheral(IEP), the Real Time Media Independent Interface
>>> controller (MII_RT), and the Enhanced Capture (eCAP) event module.
>>> 
>>> The TI Sitara AM335x ICE-V2 consists of single PRU-ICSS instance,
>>> This patch adds the new device tree source file in-order to use
>>> PRU-ICSS instance, along with makefile changes to add the new DTS
>>> file for PRUSS.
>>> 
>>> The TI Sitara AM437x series of devices consists of 2 PRU-ICSS instances
>>> (PRU-ICSS0 and PRU-ICSS1). This patch adds the device tree nodes for the
>>> PRU-ICSS1 instance to support DUAL-MAC mode of operation. Support for
>>> Ethernet over PRU is available only for ICSS1 instance.
>>> 
>>> am33xx-l4.dtsi, am4372.dtsi - Adds IEP and eCAP peripheral as child nodes
>>> of the PRUSS subsystem node.
>>> 
>>> am335x-icev2-prueth.dts, am437x-idk-evm.dts - Adds PRU-ICSS
>>> instance node along with PRU eth port information and corresponding
>>> port configuration. It includes interrupt mapping for packet reception,
>>> HW timestamp collection, and PRU Ethernet ports in MII mode,
>>> 
>>> GPIO configuration, boot strapping along with delay configuration for
>>> individual PRU Ethernet port and other required nodes.
>>> 
>>> Signed-off-by: Roger Quadros <rogerq@ti.com>
>>> Signed-off-by: Andrew F. Davis <afd@ti.com>
>>> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
>>> Signed-off-by: Basharath Hussain Khaja <basharath@couthit.com>
>>> Signed-off-by: Parvathi Pudi <parvathi@couthit.com>
>>> ---
>>>   arch/arm/boot/dts/ti/omap/Makefile            |   1 +
>>>   .../boot/dts/ti/omap/am335x-icev2-prueth.dts  | 533 ++++++++++++++++++
>>>   arch/arm/boot/dts/ti/omap/am33xx-l4.dtsi      |  11 +
>>>   arch/arm/boot/dts/ti/omap/am4372.dtsi         |  11 +
>>>   arch/arm/boot/dts/ti/omap/am437x-idk-evm.dts  | 137 ++++-
>>>   5 files changed, 692 insertions(+), 1 deletion(-)
>>>   create mode 100644 arch/arm/boot/dts/ti/omap/am335x-icev2-prueth.dts
>>> 
>>> diff --git a/arch/arm/boot/dts/ti/omap/Makefile
>>> b/arch/arm/boot/dts/ti/omap/Makefile
>>> index 1aef60eef671..d06dd31d0bb6 100644
>>> --- a/arch/arm/boot/dts/ti/omap/Makefile
>>> +++ b/arch/arm/boot/dts/ti/omap/Makefile
>>> @@ -100,6 +100,7 @@ dtb-$(CONFIG_SOC_AM33XX) += \
>>>   	am335x-evmsk.dtb \
>>>   	am335x-guardian.dtb \
>>>   	am335x-icev2.dtb \
>>> +	am335x-icev2-prueth.dtb \
>> 
>> This new DTB looks to be almost identical to the regular am335x-icev2.dtb, to
>> add an optional node to an existing board use DT overlay, do not clone the
>> whole board DT just to add a node. Maybe that is how we hacked around this
>> in our evil vendor tree back in 2018 but do not take our old hacks and push
>> them upstream as-is.
>> 
>> Andrew
>> 
> 
> Understood. We will review this redundancy and revert back with an update.
> 

We have created a device tree overlay file (am335x-icev2-prueth-overlay.dtso)
that will disable CPSW nodes defined in "am335x-icev2.dts" and enables the PRUETH
nodes at boot time depending on pin configuration. We will update the Makefile to
merge it with the base DTS to generate a device tree binary.

We will post the revised version v3 shortly.

Thanks and Regards,
Parvathi.

      reply	other threads:[~2025-11-13  7:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-03 12:47 [PATCH v2 0/2] Add support for ICSSM Ethernet on AM57x, AM437x, and AM335x Parvathi Pudi
2025-11-03 12:47 ` [PATCH v2 1/2] arm: dts: ti: Adds device tree nodes for PRU Cores, IEP and eCAP modules of PRU-ICSS2 Instance Parvathi Pudi
2025-11-03 12:47 ` [PATCH v2 2/2] arm: dts: ti: Adds support for AM335x and AM437x Parvathi Pudi
2025-11-03 15:41   ` Andrew Davis
2025-11-06  9:53     ` Parvathi Pudi
2025-11-13  7:09       ` Parvathi Pudi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1253388251.49228.1763017746545.JavaMail.zimbra@couthit.local \
    --to=parvathi@couthit.com \
    --cc=afd@ti.com \
    --cc=andrew@lunn.ch \
    --cc=basharath@couthit.com \
    --cc=conor+dt@kernel.org \
    --cc=danishanwar@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=j-rameshbabu@ti.com \
    --cc=krishna@couthit.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=m-karicheri2@ti.com \
    --cc=mohan@couthit.com \
    --cc=netdev@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=pmohan@couthit.com \
    --cc=praneeth@ti.com \
    --cc=pratheesh@ti.com \
    --cc=richardcochran@gmail.com \
    --cc=robh@kernel.org \
    --cc=rogerq@ti.com \
    --cc=srk@ti.com \
    --cc=tony@atomide.com \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).