Supporting two SMSC9221 interfaces on GPMC in a dts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux