From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Mon, 31 Aug 2015 13:30:07 +0200 Subject: [U-Boot] [PATCH 11/13] arm: zynq: dts: Add U-Boot device tree additions In-Reply-To: <1440861022-22674-12-git-send-email-sjg@chromium.org> References: <1440861022-22674-1-git-send-email-sjg@chromium.org> <1440861022-22674-12-git-send-email-sjg@chromium.org> Message-ID: <55E43ABF.5070609@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/29/2015 05:10 PM, Simon Glass wrote: > We need to mark some device tree nodes so that they are available before > relocation. This enables driver model to find these automatically. In the > case of SPL it ensures that these nodes will be retained in SPL. > > Signed-off-by: Simon Glass > --- > > arch/arm/dts/zynq-7000.dtsi | 1 + > arch/arm/dts/zynq-microzed.dts | 5 +++++ > arch/arm/dts/zynq-picozed.dts | 5 +++++ > arch/arm/dts/zynq-zc702.dts | 1 + > arch/arm/dts/zynq-zc706.dts | 1 + > arch/arm/dts/zynq-zc770-xm010.dts | 1 + > arch/arm/dts/zynq-zc770-xm011.dts | 1 + > arch/arm/dts/zynq-zc770-xm012.dts | 1 + > arch/arm/dts/zynq-zc770-xm013.dts | 1 + > arch/arm/dts/zynq-zed.dts | 1 + > arch/arm/dts/zynq-zybo.dts | 1 + > 11 files changed, 19 insertions(+) > > diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi > index 0b62cb0..12614f2 100644 > --- a/arch/arm/dts/zynq-7000.dtsi > +++ b/arch/arm/dts/zynq-7000.dtsi > @@ -54,6 +54,7 @@ > }; > > amba: amba { > + u-boot,dm-pre-reloc; > compatible = "simple-bus"; > #address-cells = <1>; > #size-cells = <1>; > diff --git a/arch/arm/dts/zynq-microzed.dts b/arch/arm/dts/zynq-microzed.dts > index c373a2c..5dff18e6 100644 > --- a/arch/arm/dts/zynq-microzed.dts > +++ b/arch/arm/dts/zynq-microzed.dts > @@ -21,3 +21,8 @@ > reg = <0 0x40000000>; > }; > }; > + > +&uart1 { > + u-boot,dm-pre-reloc; Was this reviewed on DT mailing list? TBH adding this to every node seems to me a lot of work. Why not just add one more uboot property to chosen with list of IPs which needs to be relocated? Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: