lkml.org 
[lkml]   [2014]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 03/18] AT91: G45: DT: Declare a second ram controller
Hi,

On 07/07/2014 at 16:25:16 +0200, Maxime Ripard wrote :
> The G45 has two identical ram controller, that are defined as a single one,
> with two reg cells.
>
> The proper way to support such a case is to have two separate DT nodes.
>

This is also the case for the sam9263, please fix it there too.

> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
> arch/arm/boot/dts/at91sam9g45.dtsi | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi
> index ace6bf197b70..6f648b85b725 100644
> --- a/arch/arm/boot/dts/at91sam9g45.dtsi
> +++ b/arch/arm/boot/dts/at91sam9g45.dtsi
> @@ -75,8 +75,12 @@
>
> ramc0: ramc@ffffe400 {
> compatible = "atmel,at91sam9g45-ddramc";
> - reg = <0xffffe400 0x200
> - 0xffffe600 0x200>;
> + reg = <0xffffe400 0x200>;
> + };
> +
> + ramc1: ramc@ffffe600 {
> + compatible = "atmel,at91sam9g45-ddramc";
> + reg = <0xffffe600 0x200>;
> };
>
> pmc: pmc@fffffc00 {
> --
> 2.0.1
>

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


\
 
 \ /
  Last update: 2014-07-07 17:41    [W:1.859 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site