From: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
To: Ash Charles <ashcharles-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Florian Vaussard <florian.vaussard-p8DiymsW2f8@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Supporting two SMSC9221 interfaces on GPMC in a dts
Date: Thu, 29 Jan 2015 08:20:20 -0800 [thread overview]
Message-ID: <20150129162020.GA16250@atomide.com> (raw)
In-Reply-To: <CAK8F28=sANBtwDdg45MuVmrE89SBYtzBsZcPZoXo=AhOv0wpOg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Hi,
Adding devicetree list to Cc as well if somebody has a good solution.
* Ash Charles <ashcharles-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [150128 18:54]:
> Hi,
>
> The Gumstix Tobi-Duo board has two SMSC9221 NICs attached to the GPMC
> interface of an OMAP3. I'm trying to figure out how best to include
> both interfaces in the device tree file.
> With just one interface, I can #include "omap-gpmc-smsc9221.dtsi", add
> the extra board specific settings in to "ethernet@gpmc" in the board
> file as well as any settings needed for the gpmc.
>
> For two interfaces though, I can setup the gpmc details, configure one
> "ethernet@gpmc" node as before but then, need to manually create (i.e.
> copy the meat from the "omap-gpmc-smsc9221.dtsi") a second node.
Yeah I think this is how we did it for omap3-sbc-*.dts*.
> This works but seems, well, verbose. Is there a way to setup multiple
> interfaces without having to duplicate the omap-gpmc-smsc9221.dtsi
> content?
Hmm I wonder if the "[PATCH] dtc: parser: Add label while overriding
nodes" would help with this too?
I agree it would be nice to be able to have device specific .dtsi
file that can be included multiple times for the most common devices.
Regards,
Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-01-29 16:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-29 2:49 Supporting two SMSC9221 interfaces on GPMC in a dts Ash Charles
[not found] ` <CAK8F28=sANBtwDdg45MuVmrE89SBYtzBsZcPZoXo=AhOv0wpOg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-29 16:20 ` Tony Lindgren [this message]
[not found] ` <20150129162020.GA16250-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-01-29 22:23 ` Ash Charles
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=20150129162020.GA16250@atomide.com \
--to=tony-4v6ys6ai5vpbdgjk7y7tuq@public.gmane.org \
--cc=ashcharles-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=florian.vaussard-p8DiymsW2f8@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@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 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.