All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gregory CLEMENT <gregory.clement@free-electrons.com>
To: Chen-Yu Tsai <wens@csie.org>
Cc: linux-sunxi <linux-sunxi@googlegroups.com>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	devicetree <devicetree@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Shuge <shuge@allwinnertech.com>,
	Meng Zhang <kevin@allwinnertech.com>,
	yhf@merrii.com, ctl@merrii.com
Subject: Re: [linux-sunxi] Re: [PATCH 3/6] ARM: dts: sunxi: Add Allwinner A80 dtsi
Date: Wed, 24 Sep 2014 09:18:16 +0200	[thread overview]
Message-ID: <54227038.2020805@free-electrons.com> (raw)
In-Reply-To: <CAGb2v64voZpK_82wtkErRowR0vjEUALNUwvCx_sd8Q5wb4Hq-g@mail.gmail.com>

Hi Chen-Yu,


>>> +
>>> +     memory {
>>> +             reg = <0x20000000 0x40000000>;
>>
>> Usually, what we put there was the maximum amount of RAM that can be
>> handled by the SoC. I think that it can go above 1GB
> 
> With LPAE, it can handle 8GB. But the DT won't take 64bit values.
> I'm not sure how to get it in. I'll look around for examples.

You can have a look on what we did for Armada XP:

arch/arm/boot/dts/armada-370-xp.dtsi
arch/arm/boot/dts/armada-xp.dtsi
arch/arm/boot/dts/armada-xp-gp.dts

I created a skeleton64.dtsi for this case

Gregory


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

WARNING: multiple messages have this Message-ID (diff)
From: Gregory CLEMENT <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
Cc: linux-sunxi <linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	linux-arm-kernel
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
	devicetree <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-kernel
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Shuge <shuge-0TFLnhJekD6UEPyfVivIlAC/G2K4zDHf@public.gmane.org>,
	Meng Zhang
	<kevin-0TFLnhJekD6UEPyfVivIlAC/G2K4zDHf@public.gmane.org>,
	yhf-HcjymKqD97rQT0dZR+AlfA@public.gmane.org,
	ctl-HcjymKqD97rQT0dZR+AlfA@public.gmane.org
Subject: Re: Re: [PATCH 3/6] ARM: dts: sunxi: Add Allwinner A80 dtsi
Date: Wed, 24 Sep 2014 09:18:16 +0200	[thread overview]
Message-ID: <54227038.2020805@free-electrons.com> (raw)
In-Reply-To: <CAGb2v64voZpK_82wtkErRowR0vjEUALNUwvCx_sd8Q5wb4Hq-g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hi Chen-Yu,


>>> +
>>> +     memory {
>>> +             reg = <0x20000000 0x40000000>;
>>
>> Usually, what we put there was the maximum amount of RAM that can be
>> handled by the SoC. I think that it can go above 1GB
> 
> With LPAE, it can handle 8GB. But the DT won't take 64bit values.
> I'm not sure how to get it in. I'll look around for examples.

You can have a look on what we did for Armada XP:

arch/arm/boot/dts/armada-370-xp.dtsi
arch/arm/boot/dts/armada-xp.dtsi
arch/arm/boot/dts/armada-xp-gp.dts

I created a skeleton64.dtsi for this case

Gregory


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

WARNING: multiple messages have this Message-ID (diff)
From: gregory.clement@free-electrons.com (Gregory CLEMENT)
To: linux-arm-kernel@lists.infradead.org
Subject: [linux-sunxi] Re: [PATCH 3/6] ARM: dts: sunxi: Add Allwinner A80 dtsi
Date: Wed, 24 Sep 2014 09:18:16 +0200	[thread overview]
Message-ID: <54227038.2020805@free-electrons.com> (raw)
In-Reply-To: <CAGb2v64voZpK_82wtkErRowR0vjEUALNUwvCx_sd8Q5wb4Hq-g@mail.gmail.com>

Hi Chen-Yu,


>>> +
>>> +     memory {
>>> +             reg = <0x20000000 0x40000000>;
>>
>> Usually, what we put there was the maximum amount of RAM that can be
>> handled by the SoC. I think that it can go above 1GB
> 
> With LPAE, it can handle 8GB. But the DT won't take 64bit values.
> I'm not sure how to get it in. I'll look around for examples.

You can have a look on what we did for Armada XP:

arch/arm/boot/dts/armada-370-xp.dtsi
arch/arm/boot/dts/armada-xp.dtsi
arch/arm/boot/dts/armada-xp-gp.dts

I created a skeleton64.dtsi for this case

Gregory


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2014-09-24  7:18 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-21 14:58 [PATCH 0/6] ARM: sunxi: Add basic support for Allwinner A80 SoC Chen-Yu Tsai
2014-09-21 14:58 ` Chen-Yu Tsai
2014-09-21 14:58 ` Chen-Yu Tsai
2014-09-21 14:58 ` [PATCH 1/6] ARM: sunxi: Introduce Allwinner A80 support Chen-Yu Tsai
2014-09-21 14:58   ` Chen-Yu Tsai
2014-09-21 14:58   ` Chen-Yu Tsai
2014-09-21 14:58 ` [PATCH 2/6] ARM: sunxi: Add debug uart used by sun9i (Allwinner A80) Chen-Yu Tsai
2014-09-21 14:58   ` Chen-Yu Tsai
2014-09-21 14:58   ` Chen-Yu Tsai
2014-09-24  6:39   ` Maxime Ripard
2014-09-24  6:39     ` Maxime Ripard
2014-09-24  6:39     ` Maxime Ripard
2014-09-21 14:58 ` [PATCH 3/6] ARM: dts: sunxi: Add Allwinner A80 dtsi Chen-Yu Tsai
2014-09-21 14:58   ` Chen-Yu Tsai
2014-09-21 14:58   ` Chen-Yu Tsai
2014-09-24  6:37   ` Maxime Ripard
2014-09-24  6:37     ` Maxime Ripard
2014-09-24  6:37     ` Maxime Ripard
2014-09-24  7:14     ` [linux-sunxi] " Chen-Yu Tsai
2014-09-24  7:14       ` Chen-Yu Tsai
2014-09-24  7:14       ` Chen-Yu Tsai
2014-09-24  7:18       ` Gregory CLEMENT [this message]
2014-09-24  7:18         ` [linux-sunxi] " Gregory CLEMENT
2014-09-24  7:18         ` Gregory CLEMENT
2014-09-24  7:27         ` [linux-sunxi] " Chen-Yu Tsai
2014-09-24  7:27           ` Chen-Yu Tsai
2014-09-24  7:27           ` Chen-Yu Tsai
2014-09-24 11:53         ` [linux-sunxi] " Chen-Yu Tsai
2014-09-24 11:53           ` Chen-Yu Tsai
2014-09-24 11:53           ` Chen-Yu Tsai
2014-09-24 12:36           ` [linux-sunxi] " Gregory CLEMENT
2014-09-24 12:36             ` Gregory CLEMENT
2014-09-24 12:36             ` Gregory CLEMENT
2014-09-21 14:58 ` [PATCH 4/6] ARM: dts: sun9i: Add A80 Optimus Board support Chen-Yu Tsai
2014-09-21 14:58   ` Chen-Yu Tsai
2014-09-21 14:58   ` Chen-Yu Tsai
2014-09-21 14:58 ` [PATCH 5/6] devicetree: bindings: Add vendor prefix for Merrii Technology Co., Ltd Chen-Yu Tsai
2014-09-21 14:58   ` Chen-Yu Tsai
2014-09-21 14:58   ` Chen-Yu Tsai
2014-09-21 14:58 ` [PATCH 6/6] devicetree: bindings: Document supported Allwinner sunxi SoCs Chen-Yu Tsai
2014-09-21 14:58   ` Chen-Yu Tsai
2014-09-21 14:58   ` Chen-Yu Tsai
2014-09-24  6:41 ` [PATCH 0/6] ARM: sunxi: Add basic support for Allwinner A80 SoC Maxime Ripard
2014-09-24  6:41   ` Maxime Ripard
2014-09-24  6:41   ` Maxime Ripard
2014-09-24 10:40   ` Chen-Yu Tsai
2014-09-24 10:40     ` Chen-Yu Tsai
2014-09-24 10:40     ` Chen-Yu Tsai
2014-09-24 13:28     ` Maxime Ripard
2014-09-24 13:28       ` Maxime Ripard
2014-09-24 13:28       ` Maxime Ripard

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=54227038.2020805@free-electrons.com \
    --to=gregory.clement@free-electrons.com \
    --cc=ctl@merrii.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=kevin@allwinnertech.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=shuge@allwinnertech.com \
    --cc=wens@csie.org \
    --cc=yhf@merrii.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.