public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Keerthy <j-keerthy@ti.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 08/10] arm: dts: k3-am65-main: Add pruss nodes for ICSSG2
Date: Tue, 18 Feb 2020 10:40:02 +0530	[thread overview]
Message-ID: <20200218051004.32524-9-j-keerthy@ti.com> (raw)
In-Reply-To: <20200218051004.32524-1-j-keerthy@ti.com>

Add pruss nodes. This is based 4.19 DT with interrupt properties
removed from pur/rtu nodes.

Signed-off-by: Keerthy <j-keerthy@ti.com>
---
 arch/arm/dts/k3-am65-main.dtsi | 162 +++++++++++++++++++++++++++++++++
 1 file changed, 162 insertions(+)

diff --git a/arch/arm/dts/k3-am65-main.dtsi b/arch/arm/dts/k3-am65-main.dtsi
index 71a540376f..7499bab309 100644
--- a/arch/arm/dts/k3-am65-main.dtsi
+++ b/arch/arm/dts/k3-am65-main.dtsi
@@ -8,6 +8,8 @@
 #include <dt-bindings/phy/phy-am654-serdes.h>
 #include <dt-bindings/phy/phy.h>
 
+#include <dt-bindings/dma/k3-udma.h>
+
 &cbass_main {
 	msmc_ram: sram at 70000000 {
 		compatible = "mmio-sram";
@@ -358,4 +360,164 @@
 		#phy-cells = <0>;
 		ti,dis-chg-det-quirk;
 	};
+
+	icssg2: icssg at b200000 {
+		compatible = "ti,am654-icssg";
+		power-domains = <&k3_pds 64 TI_SCI_PD_EXCLUSIVE>;
+		reg = <0xb200000 0x80000>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+		dma-ranges;
+		ti,psil-base = <0x4300>;	/* ICSSG2 PSIL thread start */
+
+		ti,psil-config0 {
+			linux,udma-mode = <UDMA_PKT_MODE>;
+			statictr-type = <PSIL_STATIC_TR_NONE>;
+			ti,needs-epib;
+			ti,psd-size = <16>;
+		};
+
+		ti,psil-config1 {
+			linux,udma-mode = <UDMA_PKT_MODE>;
+			statictr-type = <PSIL_STATIC_TR_NONE>;
+			ti,needs-epib;
+			ti,psd-size = <16>;
+		};
+
+		ti,psil-config2 {
+			linux,udma-mode = <UDMA_PKT_MODE>;
+			statictr-type = <PSIL_STATIC_TR_NONE>;
+			ti,needs-epib;
+			ti,psd-size = <16>;
+		};
+
+		ti,psil-config3 {
+			linux,udma-mode = <UDMA_PKT_MODE>;
+			statictr-type = <PSIL_STATIC_TR_NONE>;
+			ti,needs-epib;
+			ti,psd-size = <16>;
+		};
+
+		ti,psil-config4 {
+			linux,udma-mode = <UDMA_PKT_MODE>;
+			statictr-type = <PSIL_STATIC_TR_NONE>;
+			ti,needs-epib;
+			ti,psd-size = <16>;
+		};
+
+		ti,psil-config5 {
+			linux,udma-mode = <UDMA_PKT_MODE>;
+			statictr-type = <PSIL_STATIC_TR_NONE>;
+			ti,needs-epib;
+			ti,psd-size = <16>;
+		};
+
+		ti,psil-config6 {
+			linux,udma-mode = <UDMA_PKT_MODE>;
+			statictr-type = <PSIL_STATIC_TR_NONE>;
+			ti,needs-epib;
+			ti,psd-size = <16>;
+		};
+
+		ti,psil-config7 {
+			linux,udma-mode = <UDMA_PKT_MODE>;
+			statictr-type = <PSIL_STATIC_TR_NONE>;
+			ti,needs-epib;
+			ti,psd-size = <16>;
+		};
+
+		icssg2_mem: memories at b200000 {
+			reg = <0xb200000 0x2000>,
+			      <0xb202000 0x2000>,
+			      <0xb210000 0x10000>;
+			reg-names = "dram0", "dram1",
+				    "shrdram2";
+		};
+
+		icssg2_cfg: cfg at b226000 {
+			compatible = "syscon";
+			reg = <0xb226000 0x200>;
+		};
+
+		icssg2_iep: iep at b22e000 {
+			compatible = "syscon";
+			reg = <0xb22e000 0x1000>;
+		};
+
+		icssg2_mii_rt: mii-rt at b232000 {
+			compatible = "syscon";
+			reg = <0xb232000 0x100>;
+		};
+
+		icssg2_mii_g_rt: mii-g-rt at b233000 {
+			compatible = "syscon";
+			reg = <0xb233000 0x1000>;
+		};
+
+		icssg2_intc: interrupt-controller at b220000 {
+			compatible = "ti,am654-icssg-intc";
+			reg = <0xb220000 0x2000>;
+			interrupt-controller;
+			#interrupt-cells = <1>;
+			interrupts = <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "host2", "host3", "host4",
+					  "host5", "host6", "host7",
+					  "host8", "host9";
+		};
+
+		pru2_0: pru at b234000 {
+			compatible = "ti,am654-pru";
+			reg = <0xb234000 0x4000>,
+			      <0xb222000 0x100>,
+			      <0xb222400 0x100>;
+			reg-names = "iram", "control", "debug";
+			firmware-name = "am65x-pru2_0-fw";
+		};
+
+		rtu2_0: rtu at b204000 {
+			compatible = "ti,am654-rtu";
+			reg = <0xb204000 0x2000>,
+			      <0xb223000 0x100>,
+			      <0xb223400 0x100>;
+			reg-names = "iram", "control", "debug";
+			firmware-name = "am65x-rtu2_0-fw";
+		};
+
+		pru2_1: pru at b238000 {
+			compatible = "ti,am654-pru";
+			reg = <0xb238000 0x4000>,
+			      <0xb224000 0x100>,
+			      <0xb224400 0x100>;
+			reg-names = "iram", "control", "debug";
+			firmware-name = "am65x-pru2_1-fw";
+		};
+
+		rtu2_1: rtu at b206000 {
+			compatible = "ti,am654-rtu";
+			reg = <0xb206000 0x2000>,
+			      <0xb223800 0x100>,
+			      <0xb223c00 0x100>;
+			reg-names = "iram", "control", "debug";
+			firmware-name = "am65x-rtu2_1-fw";
+		};
+
+		icssg2_mdio: mdio at b232400 {
+			compatible = "ti,davinci_mdio";
+			reg = <0xb232400 0x100>;
+			clocks = <&k3_clks 64 3>;
+			clock-names = "fck";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			bus_freq = <1000000>;
+			status = "disabled";
+		};
+	};
 };
-- 
2.17.1

  parent reply	other threads:[~2020-02-18  5:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18  5:09 [PATCH v2 00/10] net: ti: icssg: Add prueth support Keerthy
2020-02-18  5:09 ` [PATCH v2 01/10] net: eth-uclass: eth_get_dev based on SEQ_ALIAS instead of probe order Keerthy
2020-02-18 18:31   ` Simon Glass
2020-02-18  5:09 ` [PATCH v2 02/10] soc: ti: pruss: add a misc driver for PRUSS in TI SoCs Keerthy
2020-02-18  5:09 ` [PATCH v2 03/10] remoteproc: pruss: add PRU remoteproc driver Keerthy
2020-02-18  5:09 ` [PATCH v2 04/10] net: ti: icssg-prueth: Add ICSSG ethernet driver Keerthy
2020-02-18  5:09 ` [PATCH v2 05/10] arm: dts: k3-am65-main: Add msmc_ram node Keerthy
2020-02-18  5:10 ` [PATCH v2 06/10] arm: dts: k3-am654-base-board-u-boot: Add icssg specific msmc_ram carveout nodes Keerthy
2020-02-18  5:10 ` [PATCH v2 07/10] arm: dts: k3-am65-main: Add scm_conf node Keerthy
2020-02-18  5:10 ` Keerthy [this message]
2020-02-18  5:10 ` [PATCH v2 09/10] arm64: dts: ti: am654-base-board: add ICSSG2 Ethernet support Keerthy
2020-02-18  5:10 ` [PATCH v2 10/10] configs: am65x_evm_a53_defconfig: Enable CONFIG_TI_AM64_ICSSG_PRUETH Keerthy
2020-02-20  9:18 ` [PATCH v2 00/10] net: ti: icssg: Add prueth support Keerthy
2020-10-26 12:37   ` Christian Gmeiner
2020-10-26 12:47     ` Roger Quadros

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=20200218051004.32524-9-j-keerthy@ti.com \
    --to=j-keerthy@ti.com \
    --cc=u-boot@lists.denx.de \
    /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