From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Mon, 6 Jul 2015 15:10:29 +0200 Subject: [U-Boot] rpi USB address question In-Reply-To: References: Message-ID: <20150706151029.2f624fca@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Simon, On Mon, 6 Jul 2015 06:35:23 -0600, Simon Glass 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.