public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dinh Nguyen <dinguyen@kernel.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/4] arm: dts: socfpga: Add u-boot, dm-pre-reloc for sysmgr and clkmgr nodes
Date: Mon, 16 Sep 2019 09:09:35 -0500	[thread overview]
Message-ID: <3cc15ff9-d2c8-1ae1-8926-01c9d32bd79b@kernel.org> (raw)
In-Reply-To: <1568104683-2609-2-git-send-email-ley.foon.tan@intel.com>



On 9/10/19 3:38 AM, Ley Foon Tan wrote:
> Add u-boot,dm-pre-reloc for sysmgr and clkmgr nodes to use it in SPL.
> In preparation to get base address from DT.
> 
> Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
> ---
>  arch/arm/dts/socfpga-common-u-boot.dtsi          | 8 ++++++++
>  arch/arm/dts/socfpga.dtsi                        | 2 +-
>  arch/arm/dts/socfpga_arria10.dtsi                | 2 +-
>  arch/arm/dts/socfpga_arria10_socdk.dtsi          | 8 ++++++++
>  arch/arm/dts/socfpga_stratix10.dtsi              | 2 +-
>  arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi | 8 ++++++++
>  6 files changed, 27 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/dts/socfpga-common-u-boot.dtsi b/arch/arm/dts/socfpga-common-u-boot.dtsi
> index 322c858c4b..d55460755f 100644
> --- a/arch/arm/dts/socfpga-common-u-boot.dtsi
> +++ b/arch/arm/dts/socfpga-common-u-boot.dtsi
> @@ -10,6 +10,10 @@
>  	};
>  };
>  
> +&clkmgr {
> +	u-boot,dm-pre-reloc;
> +};
> +
>  &rst {
>  	u-boot,dm-pre-reloc;
>  };
> @@ -17,3 +21,7 @@
>  &sdr {
>  	u-boot,dm-pre-reloc;
>  };
> +
> +&sysmgr {
> +	u-boot,dm-pre-reloc;
> +};
> diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
> index 51a6a51b53..eda558f2fe 100644
> --- a/arch/arm/dts/socfpga.dtsi
> +++ b/arch/arm/dts/socfpga.dtsi
> @@ -114,7 +114,7 @@
>  			status = "disabled";
>  		};
>  
> -		clkmgr at ffd04000 {
> +		clkmgr: clkmgr at ffd04000 {
>  				compatible = "altr,clk-mgr";
>  				reg = <0xffd04000 0x1000>;
>  
> diff --git a/arch/arm/dts/socfpga_arria10.dtsi b/arch/arm/dts/socfpga_arria10.dtsi
> index c11a5c0cc1..cc529bcd11 100644
> --- a/arch/arm/dts/socfpga_arria10.dtsi
> +++ b/arch/arm/dts/socfpga_arria10.dtsi
> @@ -96,7 +96,7 @@
>  			fpga-mgr = <&fpga_mgr>;
>  		};
>  
> -		clkmgr at ffd04000 {
> +		clkmgr: clkmgr at ffd04000 {
>  				compatible = "altr,clk-mgr";
>  				reg = <0xffd04000 0x1000>;
>  				u-boot,dm-pre-reloc;
> diff --git a/arch/arm/dts/socfpga_arria10_socdk.dtsi b/arch/arm/dts/socfpga_arria10_socdk.dtsi
> index 6e5578d7bd..ef10708ee8 100644
> --- a/arch/arm/dts/socfpga_arria10_socdk.dtsi
> +++ b/arch/arm/dts/socfpga_arria10_socdk.dtsi
> @@ -180,3 +180,11 @@
>  &l4_sp_clk {
>  	u-boot,dm-pre-reloc;
>  };
> +
> +&clkmgr {
> +	u-boot,dm-pre-reloc;
> +};
> +
> +&sysmgr {
> +	u-boot,dm-pre-reloc;
> +};
> diff --git a/arch/arm/dts/socfpga_stratix10.dtsi b/arch/arm/dts/socfpga_stratix10.dtsi
> index bd68a78a37..91f4e27ef5 100755
> --- a/arch/arm/dts/socfpga_stratix10.dtsi
> +++ b/arch/arm/dts/socfpga_stratix10.dtsi
> @@ -82,7 +82,7 @@
>  		ranges = <0 0 0 0xffffffff>;
>  		u-boot,dm-pre-reloc;
>  
> -		clkmgr at ffd1000 {
> +		clkmgr: clkmgr at ffd1000 {

Missing another zero in the address.

Dinh

  reply	other threads:[~2019-09-16 14:09 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-10  8:37 [U-Boot] [PATCH v2 0/4] arm: socfpga: Convert drivers from struct to defines Ley Foon Tan
2019-09-10  8:38 ` [U-Boot] [PATCH v2 1/4] arm: dts: socfpga: Add u-boot, dm-pre-reloc for sysmgr and clkmgr nodes Ley Foon Tan
2019-09-16 14:09   ` Dinh Nguyen [this message]
2019-09-18  2:32     ` Ley Foon Tan
2019-10-02  9:18   ` Simon Goldschmidt
2019-09-10  8:38 ` [U-Boot] [PATCH v2 2/4] arm: socfpga: Convert reset manager from struct to defines Ley Foon Tan
2019-10-02  9:20   ` Simon Goldschmidt
2019-10-04  3:03     ` Ley Foon Tan
2019-09-10  8:38 ` [U-Boot] [PATCH v2 3/4] arm: socfpga: Convert system " Ley Foon Tan
2019-10-02  9:20   ` Simon Goldschmidt
2019-10-04  3:05     ` Ley Foon Tan
2019-09-10  8:38 ` [U-Boot] [PATCH v2 4/4] arm: socfpga: Convert clock " Ley Foon Tan
2019-10-02  9:22   ` Simon Goldschmidt
2019-10-04  2:57     ` Ley Foon Tan
2019-09-17 22:33 ` [U-Boot] [PATCH v2 0/4] arm: socfpga: Convert drivers " Dinh Nguyen
2019-09-18  2:32   ` Ley Foon Tan
2019-09-18  4:22     ` Simon Goldschmidt
2019-10-02  8:13       ` Ley Foon Tan
2019-10-02  9:23         ` Simon Goldschmidt
2019-10-09 18:42           ` Simon Goldschmidt
2019-10-10  0:47             ` Ley Foon Tan

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=3cc15ff9-d2c8-1ae1-8926-01c9d32bd79b@kernel.org \
    --to=dinguyen@kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox