From: Kumar Gala <galak@kernel.crashing.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] powerpc/p4080: Add setting of clock-frequency for clockgen node
Date: Thu, 15 Jul 2010 00:05:35 -0500 [thread overview]
Message-ID: <1279170338-25813-4-git-send-email-galak@kernel.crashing.org> (raw)
In-Reply-To: <1279170338-25813-3-git-send-email-galak@kernel.crashing.org>
On QorIQ CoreNet based devices we have a global clocking block. We want
to keep track of SYSCLK frequency as it is what is used to derive all
other frequencies in the SoC
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
arch/powerpc/cpu/mpc85xx/fdt.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c b/arch/powerpc/cpu/mpc85xx/fdt.c
index b4354f9..932466e 100644
--- a/arch/powerpc/cpu/mpc85xx/fdt.c
+++ b/arch/powerpc/cpu/mpc85xx/fdt.c
@@ -403,6 +403,11 @@ void ft_cpu_setup(void *blob, bd_t *bd)
"clock-frequency", bd->bi_brgfreq, 1);
#endif
+#ifdef CONFIG_FSL_CORENET
+ do_fixup_by_compat_u32(blob, "fsl,qoriq-clockgen-1.0",
+ "clock-frequency", CONFIG_SYS_CLK_FREQ, 1);
+#endif
+
fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
#ifdef CONFIG_MP
--
1.6.0.6
next prev parent reply other threads:[~2010-07-15 5:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-15 5:05 [U-Boot] [PATCH] powerpc/85xx: Add additional p4080 platform related defines/structs Kumar Gala
2010-07-15 5:05 ` [U-Boot] [PATCH] powerpc/fsl_fman: Add initial fman immap structures Kumar Gala
2010-07-15 5:05 ` [U-Boot] [PATCH] powerpc/85xx: Use fdt_node_offset_by_compat_reg for clock-frequency updates Kumar Gala
2010-07-15 5:05 ` Kumar Gala [this message]
2010-07-15 5:05 ` [U-Boot] [PATCH] powerpc/mpc85xx: Report FMAN # to match user manual Kumar Gala
2010-07-15 5:05 ` [U-Boot] [PATCH] powerpc/p5020: Add various p5020 related defines (and p5010) Kumar Gala
2010-07-15 5:05 ` [U-Boot] [PATCH] powerpc/p3041: Add various p3041 related defines Kumar Gala
2010-07-21 5:37 ` Kumar Gala
2010-07-21 5:37 ` [U-Boot] [PATCH] powerpc/p5020: Add various p5020 related defines (and p5010) Kumar Gala
2010-07-21 5:37 ` [U-Boot] [PATCH] powerpc/mpc85xx: Report FMAN # to match user manual Kumar Gala
2010-07-21 5:36 ` [U-Boot] [PATCH] powerpc/p4080: Add setting of clock-frequency for clockgen node Kumar Gala
2010-07-21 5:36 ` [U-Boot] [PATCH] powerpc/85xx: Use fdt_node_offset_by_compat_reg for clock-frequency updates Kumar Gala
2010-07-26 13:50 ` [U-Boot] [PATCH] powerpc/fsl_fman: Add initial fman immap structures Kumar Gala
2010-07-21 5:42 ` [U-Boot] [PATCH v2] powerpc/85xx: Add additional p4080 platform related defines/structs Kumar Gala
2010-07-26 13:50 ` Kumar Gala
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=1279170338-25813-4-git-send-email-galak@kernel.crashing.org \
--to=galak@kernel.crashing.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