All of lore.kernel.org
 help / color / mirror / Atom feed
* Supporting two SMSC9221 interfaces on GPMC in a dts
@ 2015-01-29  2:49 Ash Charles
       [not found] ` <CAK8F28=sANBtwDdg45MuVmrE89SBYtzBsZcPZoXo=AhOv0wpOg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Ash Charles @ 2015-01-29  2:49 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org, Florian Vaussard

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.

This works but seems, well, verbose.  Is there a way to setup multiple
interfaces without having to duplicate the omap-gpmc-smsc9221.dtsi
content?

Any hints much appreciated!  Thanks,

--Ash

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-29 22:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [not found]     ` <20150129162020.GA16250-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-01-29 22:23       ` Ash Charles

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.