From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Manocha Date: Tue, 4 Apr 2017 16:59:06 -0700 Subject: [U-Boot] [PATCH] ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes Message-ID: <1491350346-18718-1-git-send-email-vikas.manocha@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patch is required for correct SPL device tree creation by fdtgrep as fdtgrep looks for u-boot,dm-pre-reloc property of the node to include it in the spl device tree. Not adding it in these subnodes ignores the pin muxing of peripherals which is almost always in the subnodes. Signed-off-by: Vikas Manocha --- arch/arm/dts/stm32f746-disco.dts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/stm32f746-disco.dts b/arch/arm/dts/stm32f746-disco.dts index 2c7fa79..30c92ef 100644 --- a/arch/arm/dts/stm32f746-disco.dts +++ b/arch/arm/dts/stm32f746-disco.dts @@ -96,15 +96,18 @@ &pinctrl { usart1_pins_a: usart1 at 0 { + u-boot,dm-pre-reloc; pins1 { - pinmux = ; + pinmux = ; bias-disable; drive-push-pull; slew-rate = <2>; + u-boot,dm-pre-reloc; }; pins2 { pinmux = ; bias-disable; + u-boot,dm-pre-reloc; }; }; @@ -136,7 +139,9 @@ }; fmc_pins: fmc at 0 { + u-boot,dm-pre-reloc; pins { + u-boot,dm-pre-reloc; pinmux = , , , @@ -198,6 +203,7 @@ mr-nbanks = <1>; /* Memory configuration from sdram datasheet MT48LC_4M32_B2B5-6A */ bank1: bank at 0 { + u-boot,dm-pre-reloc; st,sdram-control = /bits/ 8 ; -- 1.9.1