public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] rpi USB address question
Date: Mon, 6 Jul 2015 15:10:29 +0200	[thread overview]
Message-ID: <20150706151029.2f624fca@lilith> (raw)
In-Reply-To: <CAPnjgZ2gKiA6qr0A-+HhCyLkitxH3SS7rW0M3aB9OsDzV79c4w@mail.gmail.com>

Hello Simon,

On Mon, 6 Jul 2015 06:35:23 -0600, Simon Glass <sjg@chromium.org> wrote:
> Hi Stephen,
> 
> I see in the kernel device tree that the rpi uses address 0x7e980000
> for the DWC2 USB controller. But in U-Boot CONFIG_USB_DWC2_REG_ADDR is
> set to 0x20980000. Is there some sort of translation going on here?

https://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf

Section 1.2.3 / page 6

"Physical addresses range from 0x20000000 to 0x20FFFFFF for peripherals.
The bus addresses for peripherals are set up to map onto the peripheral
bus address range starting at 0x7E000000. Thus a peripheral advertised
here at bus address 0x7Ennnnnn is available at physical address
0x20nnnnnn"

Amicalement,
-- 
Albert.

  reply	other threads:[~2015-07-06 13:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-06 12:35 [U-Boot] rpi USB address question Simon Glass
2015-07-06 13:10 ` Albert ARIBAUD [this message]
2015-07-07 13:52   ` Simon Glass

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=20150706151029.2f624fca@lilith \
    --to=albert.u.boot@aribaud.net \
    --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