Skip to contentSkip to conversation

arm: dts: ti: Add device tree nodes for PRU-ICSS1 instance on AM571x

PATCH Applied Parvathi Pudi 3 participants 3 messages Jul 23 – Aug 31

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: ti: Add device tree nodes for PRU-ICSS1 instance on AM571x

From: Roger Quadros <[email protected]>

The TI Sitara AM571x device has two PRU-ICSS subsystems: PRU-ICSS1 and PRU-ICSS2. DUAL-MAC Ethernet support is already available on PRU-ICSS2. This patch adds device tree support to enable DUAL-MAC mode on PRU-ICSS1 for the AM571x IDK board.

Each PRU-ICSS contains two PRU cores and several peripherals, including the Interrupt Controller, IEP, MII_RT, MDIO, and eCAP. This patch also adds the IEP and eCAP child nodes for PRU-ICSS1, making its layout consistent with PRU-ICSS2.

am57-pruss.dtsi: Adds the IEP and eCAP child nodes for PRU-ICSS1.

am571x-idk.dts: Adds the PRU-ICSS1 DUAL-MAC Ethernet node, enables the PRU-ICSS1 MDIO bus, adds the two external PHYs, and configures the required pin multiplexing and interrupts.

---
 arch/arm/boot/dts/ti/omap/am57-pruss.dtsi | 11 ++++
 arch/arm/boot/dts/ti/omap/am571x-idk.dts  | 65 ++++++++++++++++++++++-
 2 files changed, 75 insertions(+), 1 deletion(-)
arch/arm/boot/dts/ti/omap/am57-pruss.dtsi +11 -0
index f73316625608..1579f284cb6e 100644
@@ -61,6 +61,17 @@ pruss1_iepclk_mux: iepclk-mux@30 {
 				};
 			};
 
+			pruss1_iep: iep@2e000 {
+				compatible = "ti,am5728-icss-iep";
+				reg = <0x2e000 0x31c>;
+				clocks = <&pruss1_iepclk_mux>;
+			};
+
+			pruss1_ecap: ecap@30000 {
+				compatible = "ti,pruss-ecap";
+				reg = <0x30000 0x60>;
+			};
+
 			pruss1_mii_rt: mii-rt@32000 {
 				compatible = "ti,pruss-mii", "syscon";
 				reg = <0x32000 0x58>;
arch/arm/boot/dts/ti/omap/am571x-idk.dts +64 -1

77 lines not on this page · raw message

Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 14 lines · Parvathi Pudi

From: Roger Quadros <[email protected]>

The TI Sitara AM571x device has two PRU-ICSS subsystems: PRU-ICSS1 and PRU-ICSS2. DUAL-MAC Ethernet support is already available on PRU-ICSS2. This patch adds device tree support to enable DUAL-MAC mode on PRU-ICSS1 for the AM571x IDK board.

Each PRU-ICSS contains two PRU cores and several peripherals, including the Interrupt Controller, IEP, MII_RT, MDIO, and eCAP. This patch also adds the IEP and eCAP child nodes for PRU-ICSS1, making its layout consistent with PRU-ICSS2.

am57-pruss.dtsi: Adds the IEP and eCAP child nodes for PRU-ICSS1.

Quoted 8 lines

am571x-idk.dts: Adds the PRU-ICSS1 DUAL-MAC Ethernet node, enables the PRU-ICSS1 MDIO bus, adds the two external PHYs, and configures the required pin multiplexing and interrupts.

Signature · 2 lines
Thanks and Regards,
Danish
maintainer Applied
#2 lore raw
In reply to Parvathi Pudi
Quoted 11 lines · Parvathi Pudi

The TI Sitara AM571x device has two PRU-ICSS subsystems: PRU-ICSS1 and PRU-ICSS2. DUAL-MAC Ethernet support is already available on PRU-ICSS2. This patch adds device tree support to enable DUAL-MAC mode on PRU-ICSS1 for the AM571x IDK board.

Each PRU-ICSS contains two PRU cores and several peripherals, including the Interrupt Controller, IEP, MII_RT, MDIO, and eCAP. This patch also adds the IEP and eCAP child nodes for PRU-ICSS1, making its layout consistent with PRU-ICSS2.

[...]

Applied, thanks!

[1/1] arm: dts: ti: Add device tree nodes for PRU-ICSS1 instance on AM571x

      commit: fad89162c71bc2f81f99191d93edc63d5f6397a7

Best regards,

Signature · 1 line
Kevin Hilman (TI) <[email protected]>