From: Marek Vasut Date: Sun, 13 Sep 2015 15:39:05 +0200 Subject: [U-Boot] [PATCH 1/2] nios2: remap and translate reg address in device tree In-Reply-To: <1442133130-11174-1-git-send-email-thomas@wytron.com.tw> References: <1442133130-11174-1-git-send-email-thomas@wytron.com.tw> Message-ID: <201509131539.05547.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sunday, September 13, 2015 at 10:32:09 AM, Thomas Chou wrote: > As the io space remapping ioremap() and bridge address > translation fdt_translate_address() are not usually used > in u-boot driver model by dev_get_addr(). We would better > convert the reg address map in the device tree of nios2 > boards, so that it is io mapped and bridge translated. > > Signed-off-by: Thomas Chou I'm not opposed. btw. It might be just about time to split the DT bits into nios2.dtsi and nios2_3c120_devboard.dts , where the former would contain the generic bits of the binding and the later would only fill in the necessary address ranges and such. I do understand though, that the problem here might be that the hardware is just too flexible. Best regards, Marek Vasut