linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chen-Yu Tsai <wens@csie.org>
To: Gregory CLEMENT <gregory.clement@free-electrons.com>,
	Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: 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 <yhf@merrii.com>,
	ctl <ctl@merrii.com>, linux-sunxi <linux-sunxi@googlegroups.com>
Subject: Re: [linux-sunxi] Re: [PATCH 3/6] ARM: dts: sunxi: Add Allwinner A80 dtsi
Date: Wed, 24 Sep 2014 19:53:33 +0800	[thread overview]
Message-ID: <CAGb2v64yGmdLeWmA=+nxD85DbQf_xxUNx3n3oedFZi51uc50+w@mail.gmail.com> (raw)
In-Reply-To: <54227038.2020805@free-electrons.com>

On Wed, Sep 24, 2014 at 3:18 PM, Gregory CLEMENT
<gregory.clement@free-electrons.com> wrote:
> 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

Thanks for the tip. Before I send v2, I do have a question. I'm using

    ranges = <0 0 0 0x20000000>;

in the clocks and soc node to avoid having to use 64bit values for all
addresses and sizes. Would this be undesirable, even bad practice maybe?

http://linux-sunxi.org/A80/Memory_map is a document I pieced together
from Allwinner's SDK header files. AFAIK only the memory goes above
the 4GB limit. All peripherals are under 512 MB, 256MB even.


Thanks
ChenYu

  parent reply	other threads:[~2014-09-24 11:53 UTC|newest]

Thread overview: 17+ 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 ` [PATCH 1/6] ARM: sunxi: Introduce Allwinner A80 support 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-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-24  6:37   ` Maxime Ripard
2014-09-24  7:14     ` [linux-sunxi] " Chen-Yu Tsai
2014-09-24  7:18       ` Gregory CLEMENT
2014-09-24  7:27         ` Chen-Yu Tsai
2014-09-24 11:53         ` Chen-Yu Tsai [this message]
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 ` [PATCH 5/6] devicetree: bindings: Add vendor prefix for Merrii Technology Co., Ltd Chen-Yu Tsai
2014-09-21 14:58 ` [PATCH 6/6] devicetree: bindings: Document supported Allwinner sunxi SoCs 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 10:40   ` Chen-Yu Tsai
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='CAGb2v64yGmdLeWmA=+nxD85DbQf_xxUNx3n3oedFZi51uc50+w@mail.gmail.com' \
    --to=wens@csie.org \
    --cc=ctl@merrii.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=gregory.clement@free-electrons.com \
    --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=maxime.ripard@free-electrons.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=shuge@allwinnertech.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).