($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: abdellatif.elkhlifi@arm.com
To: meta-arm@lists.yoctoproject.org, Jon.Mason@arm.com
Cc: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Subject: [PATCH 2/3] arm-bsp/u-boot: corstone1000: add external system DTS node
Date: Fri, 26 Apr 2024 16:20:13 +0100	[thread overview]
Message-ID: <20240426152014.356666-3-abdellatif.elkhlifi@arm.com> (raw)
In-Reply-To: <20240426152014.356666-1-abdellatif.elkhlifi@arm.com>

From: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>

describe the external system as a remoteproc node in the device tree

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
---
 .../u-boot/u-boot-corstone1000.inc            |  5 +--
 ...efi-corstone1000-fwu-update-RPC-ABI.patch} |  0
 ...e1000-Change-MMCOMM-buffer-location.patch} |  0
 ...one1000-dts-add-external-system-node.patch | 34 +++++++++++++++++++
 4 files changed, 37 insertions(+), 2 deletions(-)
 rename meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/{0044-efi-corstone1000-fwu-update-RPC-ABI.patch => 0045-efi-corstone1000-fwu-update-RPC-ABI.patch} (100%)
 rename meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/{0045-Corstone1000-Change-MMCOMM-buffer-location.patch => 0046-Corstone1000-Change-MMCOMM-buffer-location.patch} (100%)
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0047-corstone1000-dts-add-external-system-node.patch

diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot-corstone1000.inc b/meta-arm-bsp/recipes-bsp/u-boot/u-boot-corstone1000.inc
index 43c19b84..4b45fbbf 100644
--- a/meta-arm-bsp/recipes-bsp/u-boot/u-boot-corstone1000.inc
+++ b/meta-arm-bsp/recipes-bsp/u-boot/u-boot-corstone1000.inc
@@ -60,8 +60,9 @@ SRC_URI:append = " \
     file://0042-corstone1000-enable-virtio-net-support.patch		  \
     file://0043-firmware-psci-Fix-bind_smccc_features-psci-check.patch		  \
     file://0044-corstone1000-set-unique-GUID-for-fvp-and-mps3.patch		  \
-    file://0045-Corstone1000-Change-MMCOMM-buffer-location.patch		  \
-    file://0044-efi-corstone1000-fwu-update-RPC-ABI.patch			  \
+    file://0045-efi-corstone1000-fwu-update-RPC-ABI.patch			  \
+    file://0046-Corstone1000-Change-MMCOMM-buffer-location.patch		  \
+    file://0047-corstone1000-dts-add-external-system-node.patch \
     "
 
 do_configure:append() {
diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0044-efi-corstone1000-fwu-update-RPC-ABI.patch b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0045-efi-corstone1000-fwu-update-RPC-ABI.patch
similarity index 100%
rename from meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0044-efi-corstone1000-fwu-update-RPC-ABI.patch
rename to meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0045-efi-corstone1000-fwu-update-RPC-ABI.patch
diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0045-Corstone1000-Change-MMCOMM-buffer-location.patch b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0046-Corstone1000-Change-MMCOMM-buffer-location.patch
similarity index 100%
rename from meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0045-Corstone1000-Change-MMCOMM-buffer-location.patch
rename to meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0046-Corstone1000-Change-MMCOMM-buffer-location.patch
diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0047-corstone1000-dts-add-external-system-node.patch b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0047-corstone1000-dts-add-external-system-node.patch
new file mode 100644
index 00000000..1c873001
--- /dev/null
+++ b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0047-corstone1000-dts-add-external-system-node.patch
@@ -0,0 +1,34 @@
+From 03df80671f1f2102b04baa810b59ffb6edaece0b Mon Sep 17 00:00:00 2001
+From: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
+Date: Mon, 18 Mar 2024 17:00:56 +0000
+Subject: [PATCH] corstone1000: dts: add external system node
+
+add the external system node
+
+Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
+Upstream-Status: Pending [Not submitted to upstream yet]
+---
+ arch/arm/dts/corstone1000.dtsi | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/arch/arm/dts/corstone1000.dtsi b/arch/arm/dts/corstone1000.dtsi
+index 077673dd44..5cc4c26bac 100644
+--- a/arch/arm/dts/corstone1000.dtsi
++++ b/arch/arm/dts/corstone1000.dtsi
+@@ -122,6 +122,13 @@
+ 		interrupt-parent = <&gic>;
+ 		ranges;
+ 
++		extsys0: remoteproc@1a010310 {
++			compatible = "arm,corstone1000-extsys";
++			reg = <0x1a010310 0x4>, <0x1a010314 0x4>;
++			reg-names = "reset-control", "reset-status";
++			firmware-name = "es_flashfw.elf";
++		};
++
+ 		timer@1a220000 {
+ 			compatible = "arm,armv7-timer-mem";
+ 			reg = <0x1a220000 0x1000>;
+-- 
+2.25.1
+
-- 
2.25.1



  parent reply	other threads:[~2024-04-26 15:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-26 15:20 [PATCH 0/3] arm-bsp/corstone1000: add external system control support abdellatif.elkhlifi
2024-04-26 15:20 ` [PATCH 1/3] arm-bsp/external-system: costone1000: install the firmware in the filesystem abdellatif.elkhlifi
2024-04-26 15:20 ` abdellatif.elkhlifi [this message]
2024-04-26 15:20 ` [PATCH 3/3] arm-bsp/linux-yocto: corstone1000: add external system control support abdellatif.elkhlifi
2024-04-30  3:21 ` [PATCH 0/3] arm-bsp/corstone1000: " Jon Mason

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=20240426152014.356666-3-abdellatif.elkhlifi@arm.com \
    --to=abdellatif.elkhlifi@arm.com \
    --cc=Jon.Mason@arm.com \
    --cc=meta-arm@lists.yoctoproject.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 read-only IMAP folder(s) and NNTP newsgroup(s).