From 8a8d3000053615d2d29d729eda60b6ea2003095c Mon Sep 17 00:00:00 2001
From: Marek Vasut <marek.vasut+renesas@gmail.com>
Date: Fri, 16 Feb 2018 01:33:27 +0100
Subject: [PATCH] ARM: dts: rmobile: Make PFC and RST available before reloc

Those two nodes are needed to configure pinmux before relocation
and to configure clock before relocation, since CPG/MSSR needs
access to RST node. This is not noticable on Gen3, but on Gen2
this causes problems in SPL if they are not available early.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 arch/arm/dts/r8a779x-u-boot.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/dts/r8a779x-u-boot.dtsi b/arch/arm/dts/r8a779x-u-boot.dtsi
index 0baac1d2c5..f34cb942ed 100644
--- a/arch/arm/dts/r8a779x-u-boot.dtsi
+++ b/arch/arm/dts/r8a779x-u-boot.dtsi
@@ -20,6 +20,14 @@
 	u-boot,dm-pre-reloc;
 };
 
+&pfc {
+	u-boot,dm-pre-reloc;
+};
+
 &prr {
 	u-boot,dm-pre-reloc;
 };
+
+&rst {
+	u-boot,dm-pre-reloc;
+};
-- 
2.39.5