public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dmytro Bablinyuk <dmytro.bablinyuk@rftechnology.com.au>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] SCMR[PLLMF] and HRCW for MPC8272
Date: Mon, 15 May 2006 14:59:15 +1000	[thread overview]
Message-ID: <e491q8$q7v$1@sea.gmane.org> (raw)

Hello,

I am trying to bring up a custom 8272 board.
I set HRCW to 0x0A74B20A and on output I have

--8<---
MPC8272 Clock Configuration
  - Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq  25-75 , Core Freq 100-300
  - dfbrg 1, corecnf 0x1a, busdf 5, cpmdf 1, plldf 0, pllmf 2
  - vco_out  198000000, scc_clk   49500000, brg_clk   12375000
  - cpu_clk  264000000, cpm_clk   99000000, bus_clk   66000000
  - pci_clk   33000000

CPU:   MPC8272 (HiP7 Rev 14, Mask 1.0 1K50M)@264 MHz
<HANGS HERE..>
--8<---

BUS_CLK=66MHz - Correct.
CPU_CLK=264MHz - Correct
BUSDF=5 - Wrong! Should be BUSDF=3
PLLMF=2 - Wrong! Should be PLLMF=3
CPM_CLK=99MHz - Wrong! Should be 132MHz
( PLLMF = 2(CPM_CLK/CLKIN)-1 => which gives us CPM_CLK = 99MHz )

The problem is that PLLMF should be 3 that will give us CPM_CLK=132MHz.

I am using MODCK_H=1010 and PCI_MODCK=0 which according to clock 
configuration for PCI host mode should give CPM multiplication factor 
equals 2 and PLLMF=3. But PLLMF still gives me 2!

Can anybody help me please, what I am missing? How do I get PLLMF=3 in SCMR?

Thank you

Dimitry

                 reply	other threads:[~2006-05-15  4:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='e491q8$q7v$1@sea.gmane.org' \
    --to=dmytro.bablinyuk@rftechnology.com.au \
    --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