From: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
To: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
Cc: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
bones-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 2/2] ARM: Tegra: Seaboard: Add devicetree support
Date: Sun, 1 May 2011 07:57:44 -0700 [thread overview]
Message-ID: <20110501145744.GD19918@quad.lixom.net> (raw)
In-Reply-To: <BANLkTimOJFxQGmPHMb2KPKQikL2sWZoQKQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Sun, May 01, 2011 at 08:46:04AM -0600, Grant Likely wrote:
> On Sun, May 1, 2011 at 8:38 AM, Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org> wrote:
> > Hi,
> >
> > On Fri, Apr 29, 2011 at 10:12:31PM -0600, Stephen Warren wrote:
> >> Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> >> ---
> >> arch/arm/boot/dts/tegra-seaboard.dts | 33 +++++++++++++++++++++++++++++++++
> >> arch/arm/mach-tegra/Makefile.boot | 1 +
> >> 2 files changed, 34 insertions(+), 0 deletions(-)
> >> create mode 100644 arch/arm/boot/dts/tegra-seaboard.dts
> >>
> >> diff --git a/arch/arm/boot/dts/tegra-seaboard.dts b/arch/arm/boot/dts/tegra-seaboard.dts
> >> new file mode 100644
> >> index 0000000..d5c9ad7
> >> --- /dev/null
> >> +++ b/arch/arm/boot/dts/tegra-seaboard.dts
> >> @@ -0,0 +1,33 @@
> >> +/dts-v1/;
> >> +/include/ "tegra250.dts"
> >> +
> >> +/ {
> >> + model = "NVIDIA Harmony";
> >
> > NVIDIA Seaboard?
> >
> >> + compatible = "nvidia,seaboard", "nvidia,tegra250";
> >> +
> >> + chosen {
> >> + bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk1p3 rw rootdelay=2";
> >
> > I'm partial to rootwait instead of rootdelay, a little less fragile for slow
> > devices.
> >
> >> + memory {
> >> + device_type = "memory";
> >> + reg = < 0x00000000 0x1C000000
> >> + 0x20000000 0x20000000 >;
> >> + };
> >
> > I guess a node for the graphics memory could be warranted
>
> I've modified this in devicetree test to specify the entire memory
> range, and carve out 0x1c000000..0x1fffffff with a memreserve section.
>
> >
> >> +
> >> + serial@70006300 {
> >> + status = "ok";
> >> + clock-frequency = < 216000000 >;
> >> + };
> >> +
> >> + sdhci@c8000400 {
> >> + status = "ok";
> >> + gpios = <&gpio 69 0>, /* cd, gpio PI5 */
> >> + <&gpio 57 0>, /* wp, gpio PH1 */
> >> + <&gpio 70 0>; /* power, gpio PI6 */
> >
> > How would you represent just one missing gpio here? It might be better
> > to have separate properties for each.
>
> The gpio binding allows for empty entries by using '0' for the phandle.
Hm, I'm still not much a fan of an opaque 3-entry array instead of named
entries but I'm ok with either I suppose. How do other bindings do similar things?
-Olof
next prev parent reply other threads:[~2011-05-01 14:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-30 4:12 [PATCH 1/2] ARM: Tegra: dt: Split out separate Tegra SoC DT Stephen Warren
[not found] ` <1304136751-11629-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-04-30 4:12 ` [PATCH 2/2] ARM: Tegra: Seaboard: Add devicetree support Stephen Warren
[not found] ` <1304136751-11629-2-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-05-01 14:38 ` Olof Johansson
[not found] ` <20110501143825.GB19918-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
2011-05-01 14:46 ` Grant Likely
[not found] ` <BANLkTimOJFxQGmPHMb2KPKQikL2sWZoQKQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-01 14:57 ` Olof Johansson [this message]
2011-05-01 14:55 ` [PATCH 1/2] ARM: Tegra: dt: Split out separate Tegra SoC DT Olof Johansson
[not found] ` <20110501145546.GC19918-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
2011-05-02 18:00 ` Stephen Warren
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF0497F1B198-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-05-02 20:15 ` Grant Likely
[not found] ` <BANLkTikC9bAWiGsLP48djMB-jTR767JeNg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-12 16:40 ` Stephen Warren
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF04986AA33D-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-05-12 23:01 ` Grant Likely
[not found] ` <BANLkTimHcXOZa61yC5F=TDoiaUk4cA3=4g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-13 19:28 ` Stephen Warren
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF04986AA65C-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-05-13 22:56 ` Grant Likely
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=20110501145744.GD19918@quad.lixom.net \
--to=olof-nzht3qvonbneowh0uzbu5w@public.gmane.org \
--cc=bones-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
/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