All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: Stefan Roese <sr@denx.de>, Tony Dinh <mibodhi@gmail.com>
Cc: "Marek Behún" <kabel@kernel.org>,
	"Luka Kovacic" <luka.kovacic@sartura.hr>,
	"Luka Perkov" <luka.perkov@sartura.hr>,
	"Robert Marko" <robert.marko@sartura.hr>,
	"Michael Trimarchi" <michael@amarulasolutions.com>,
	"Mark Kettenis" <kettenis@openbsd.org>,
	"Simon Glass" <sjg@chromium.org>,
	"Jaehoon Chung" <jh80.chung@samsung.com>,
	u-boot@lists.denx.de
Subject: [PATCH 2/5] arm: mvebu: Introduce mvebu-u-boot.dtsi for 32-bit Armada SoCs
Date: Wed,  3 Aug 2022 13:00:50 +0200	[thread overview]
Message-ID: <20220803110053.22598-3-pali@kernel.org> (raw)
In-Reply-To: <20220803110053.22598-1-pali@kernel.org>

Set u-boot,dm-pre-reloc for /soc/, /soc/internal-regs/ and &uart0 nodes as
it is required on every 32-bit Armada SoCs. And set also u-boot,dm-pre-reloc
for &spi0 when going to boot from SPI because otherwise SPL SPI drivers do
not load.

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 arch/arm/dts/mvebu-u-boot.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 arch/arm/dts/mvebu-u-boot.dtsi

diff --git a/arch/arm/dts/mvebu-u-boot.dtsi b/arch/arm/dts/mvebu-u-boot.dtsi
new file mode 100644
index 000000000000..5538f95148de
--- /dev/null
+++ b/arch/arm/dts/mvebu-u-boot.dtsi
@@ -0,0 +1,24 @@
+#include <config.h>
+
+#ifdef CONFIG_ARMADA_32BIT
+
+/ {
+	soc {
+		u-boot,dm-pre-reloc;
+		internal-regs {
+			u-boot,dm-pre-reloc;
+		};
+	};
+};
+
+&uart0 {
+	u-boot,dm-pre-reloc;
+};
+
+#ifdef CONFIG_SPL_SPI
+&spi0 {
+	u-boot,dm-pre-reloc;
+};
+#endif
+
+#endif
-- 
2.20.1


  parent reply	other threads:[~2022-08-03 11:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03 11:00 [PATCH 0/5] arm: mvebu: Cleanup u-boot,dm-pre-reloc code Pali Rohár
2022-08-03 11:00 ` [PATCH 1/5] arm: mvebu: a7040/a8040/cn9130: Add spi0 dts reference Pali Rohár
2022-08-04 14:51   ` Stefan Roese
2022-08-04 15:07     ` Pali Rohár
2022-08-05 10:25       ` Stefan Roese
2022-08-05 10:48         ` Pali Rohár
2022-08-05 10:51           ` Stefan Roese
2022-08-05 10:55             ` Pali Rohár
2022-08-05 11:38               ` Pali Rohár
2022-08-05 10:49         ` Pali Rohár
2022-08-03 11:00 ` Pali Rohár [this message]
2022-08-04 14:52   ` [PATCH 2/5] arm: mvebu: Introduce mvebu-u-boot.dtsi for 32-bit Armada SoCs Stefan Roese
2022-08-03 11:00 ` [PATCH 3/5] arm: mvebu: Remove redundant u-boot, dm-pre-reloc from all " Pali Rohár
2022-08-04 14:54   ` Stefan Roese
2022-08-03 11:00 ` [PATCH 4/5] arm: mvebu: armada-xp-theadorable.dts: Move u-boot, dm-pre-reloc to -u-boot.dtsi Pali Rohár
2022-08-04 14:42   ` [PATCH 4/5] arm: mvebu: armada-xp-theadorable.dts: Move u-boot,dm-pre-reloc " Stefan Roese
2022-08-03 11:00 ` [PATCH 5/5] arm: mvebu: armada-38x-controlcenterdc.dts: Move u-boot, dm-pre-reloc " Pali Rohár
2022-08-04 14:54   ` [PATCH 5/5] arm: mvebu: armada-38x-controlcenterdc.dts: Move u-boot,dm-pre-reloc " Stefan Roese
2022-08-04  1:24 ` [PATCH 0/5] arm: mvebu: Cleanup u-boot,dm-pre-reloc code Tony Dinh
2022-08-09 11:34 ` Stefan Roese

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=20220803110053.22598-3-pali@kernel.org \
    --to=pali@kernel.org \
    --cc=jh80.chung@samsung.com \
    --cc=kabel@kernel.org \
    --cc=kettenis@openbsd.org \
    --cc=luka.kovacic@sartura.hr \
    --cc=luka.perkov@sartura.hr \
    --cc=mibodhi@gmail.com \
    --cc=michael@amarulasolutions.com \
    --cc=robert.marko@sartura.hr \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.