[PATCH] ARM: dts: socfpga: arria10: add aliases for ethernet
From: Steffen Trumtrar <hidden>
Date: 2018-10-08 09:10:59
Dinh Nguyen [off-list ref] writes:
On 09/28/2018 10:47 AM, Dinh Nguyen wrote:quoted
On 09/28/2018 07:16 AM, Steffen Trumtrar wrote:quoted
The stmmac driver uses the alias id to enumerate multiple ethernet devices. Add the aliases for ethernet, so multiple ethernet ports can be enabled without errors. Signed-off-by: Steffen Trumtrar <redacted> --- arch/arm/boot/dts/socfpga_arria10.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)Applied, thanks!I don't think we can add these ethernet aliases to the base arria10 dtsi file. The reason is that different boards may elect to use other gmacs instead of gmac0. Do you agree?
Ack. I was following socfpga.dtsi, but I'm going to fix it instead of following it ;-) Steffen -- Pengutronix e.K. | Steffen Trumtrar | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany| Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555|