Hi Magnus, Uli, On Tue, Mar 20, 2018 at 9:20 AM, Magnus Damm <magnus.damm@xxxxxxxxx> wrote: > From: Magnus Damm <damm+renesas@xxxxxxxxxxxxx> > > The on-board ethernet on r8a7778 Bock-W does not work out of the > box. Booting with initramfs and trying to do ifconfig up/down will > show that something is busted. > > Judging by the board schematics the IRQ signal from the LAN89218 > chip gets routed to some magic board-specific FPGA and if the stars > happen to be aligned this signal may also reach the r8a7778 SoC. > > This temporary hack tries to use the on-chip GPIO device in r8a7778 for > interrupts however on r8a7778 all the GPIO devices share the same interrupt > line in the GIC but I wonder if this really has been tested. I recall > writing the GPIO driver on r8a7779 and r8a73a4 and then extending to > R-Car Gen2 and Gen3. Not sure if it will work on r8a7778 or not. > > Most likely the PFC needs to be configured to configure the IRQ0 signal > to use the irqpin driver, or the GPIO device may be used in a similar > fashion as this patch. > > Unfortunately more effort is needed to track this down. A perhaps related > issue on Bock-W is that it sometimes hangs on boot without output on > the serial console. Yum. > > Not for upstream merge. > > Not-Yet-Signed-off-by: Magnus Damm <damm+renesas@xxxxxxxxxxxxx> Is this the issue "[PATCH v3 0/5] r8a7778/bockw: fix SMSC Ethernet for MP" (https://marc.info/?l=linux-sh&m=144172695421685&w=2) was meant to fix? irqchip: renesas-intc-irqpin: r8a7778 IRLM setup support ARM: shmobile: r8a7778: enable IRLM setup via DT ARM: shmobile: bockw dts: enable SMSC interrupt ARM: shmobile_defconfig: enable PINCTRL_SINGLE ARM: multi_v7_defconfig: enable PINCTRL_SINGLE Seems like only the first patch in that series ever made it upstream. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds