devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bhadram Varka <vbhadram@nvidia.com>
To: <netdev@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-tegra@vger.kernel.org>
Cc: <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>,
	<thierry.reding@gmail.com>, <jonathanh@nvidia.com>,
	<kuba@kernel.org>, <catalin.marinas@arm.com>, <will@kernel.org>,
	<pabeni@redhat.com>, <davem@davemloft.net>, <edumazet@google.com>,
	Thierry Reding <treding@nvidia.com>,
	Bhadram Varka <vbhadram@nvidia.com>
Subject: [PATCH net-next v2 3/9] dt-bindings: memory: Add Tegra234 MGBE memory clients
Date: Wed, 6 Jul 2022 08:42:53 +0530	[thread overview]
Message-ID: <20220706031259.53746-4-vbhadram@nvidia.com> (raw)
In-Reply-To: <20220706031259.53746-1-vbhadram@nvidia.com>

From: Thierry Reding <treding@nvidia.com>

Add the memory client and stream ID definitions for the MGBE hardware
found on Tegra234 SoCs.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bhadram Varka <vbhadram@nvidia.com>
---
 include/dt-bindings/memory/tegra234-mc.h | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/include/dt-bindings/memory/tegra234-mc.h b/include/dt-bindings/memory/tegra234-mc.h
index e3b0e9da295d..8b0ddcb715ff 100644
--- a/include/dt-bindings/memory/tegra234-mc.h
+++ b/include/dt-bindings/memory/tegra234-mc.h
@@ -11,11 +11,16 @@
 /* NISO0 stream IDs */
 #define TEGRA234_SID_APE	0x02
 #define TEGRA234_SID_HDA	0x03
+#define TEGRA234_SID_GPCDMA	0x04
+#define TEGRA234_SID_MGBE	0x06
 #define TEGRA234_SID_PCIE0	0x12
 #define TEGRA234_SID_PCIE4	0x13
 #define TEGRA234_SID_PCIE5	0x14
 #define TEGRA234_SID_PCIE6	0x15
 #define TEGRA234_SID_PCIE9	0x1f
+#define TEGRA234_SID_MGBE_VF1	0x49
+#define TEGRA234_SID_MGBE_VF2	0x4a
+#define TEGRA234_SID_MGBE_VF3	0x4b
 
 /* NISO1 stream IDs */
 #define TEGRA234_SID_SDMMC4	0x02
@@ -61,8 +66,24 @@
 #define TEGRA234_MEMORY_CLIENT_PCIE10AR1 0x48
 /* PCIE7r1 read clients */
 #define TEGRA234_MEMORY_CLIENT_PCIE7AR1 0x49
+/* MGBE0 read client */
+#define TEGRA234_MEMORY_CLIENT_MGBEARD 0x58
+/* MGBEB read client */
+#define TEGRA234_MEMORY_CLIENT_MGBEBRD 0x59
+/* MGBEC read client */
+#define TEGRA234_MEMORY_CLIENT_MGBECRD 0x5a
+/* MGBED read client */
+#define TEGRA234_MEMORY_CLIENT_MGBEDRD 0x5b
+/* MGBE0 write client */
+#define TEGRA234_MEMORY_CLIENT_MGBEAWR 0x5c
+/* MGBEB write client */
+#define TEGRA234_MEMORY_CLIENT_MGBEBWR 0x5f
+/* MGBEC write client */
+#define TEGRA234_MEMORY_CLIENT_MGBECWR 0x61
 /* sdmmcd memory read client */
 #define TEGRA234_MEMORY_CLIENT_SDMMCRAB 0x63
+/* MGBED write client */
+#define TEGRA234_MEMORY_CLIENT_MGBEDWR 0x65
 /* sdmmcd memory write client */
 #define TEGRA234_MEMORY_CLIENT_SDMMCWAB 0x67
 /* BPMP read client */
-- 
2.17.1


  parent reply	other threads:[~2022-07-06  3:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-06  3:12 [PATCH net-next v2 0/9] tegra: Add support for MGBE controller Bhadram Varka
2022-07-06  3:12 ` [PATCH net-next v2 1/9] dt-bindings: power: Add Tegra234 MGBE power domains Bhadram Varka
2022-07-06  7:35   ` Krzysztof Kozlowski
2022-07-06  7:40     ` Krzysztof Kozlowski
2022-07-06  3:12 ` [PATCH net-next v2 2/9] dt-bindings: Add Tegra234 MGBE clocks and resets Bhadram Varka
2022-07-06  7:36   ` Krzysztof Kozlowski
2022-07-06  3:12 ` Bhadram Varka [this message]
2022-07-06  7:37   ` [PATCH net-next v2 3/9] dt-bindings: memory: Add Tegra234 MGBE memory clients Krzysztof Kozlowski
2022-07-06  3:12 ` [PATCH net-next v2 4/9] memory: tegra: Add MGBE memory clients for Tegra234 Bhadram Varka
2022-07-06  7:38   ` Krzysztof Kozlowski
2022-07-06  3:12 ` [PATCH net-next v2 5/9] dt-bindings: net: Add Tegra234 MGBE Bhadram Varka
2022-07-06  7:39   ` Krzysztof Kozlowski
2022-07-06  3:12 ` [PATCH net-next v2 6/9] arm64: tegra: Add MGBE nodes on Tegra234 Bhadram Varka
2022-07-06  3:12 ` [PATCH net-next v2 7/9] arm64: tegra: Enable MGBE on Jetson AGX Orin Developer Kit Bhadram Varka
2022-07-06  3:12 ` [PATCH net-next v2 8/9] arm64: defconfig: Enable Tegra MGBE driver Bhadram Varka
2022-07-06  3:12 ` [PATCH net-next v2 9/9] stmmac: tegra: Add MGBE support Bhadram Varka
2022-07-06  7:37 ` [PATCH net-next v2 0/9] tegra: Add support for MGBE controller Krzysztof Kozlowski
2022-07-06 20:49 ` Thierry Reding

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=20220706031259.53746-4-vbhadram@nvidia.com \
    --to=vbhadram@nvidia.com \
    --cc=catalin.marinas@arm.com \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=jonathanh@nvidia.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=kuba@kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=robh+dt@kernel.org \
    --cc=thierry.reding@gmail.com \
    --cc=treding@nvidia.com \
    --cc=will@kernel.org \
    /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).