Hi Sergei, On Fri, Sep 15, 2017 at 7:28 PM, Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx> wrote: > On 09/13/2017 12:19 AM, Sergei Shtylyov wrote: >>> Add the initial device tree for the R8A77970 SoC based Eagle board. >>> The board has 1 debug serial port (SCIF0); include support for it, >>> so that the serial console can work. >>> >>> Based on the original (and large) patch by Vladimir Barinov >>> <vladimir.barinov@xxxxxxxxxxxxxxxxxx>. >>> >>> Signed-off-by: Vladimir Barinov <vladimir.barinov@xxxxxxxxxxxxxxxxxx> >>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx> >>> >> [...] >>> >>> Index: renesas/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts >>> =================================================================== >>> --- /dev/null >>> +++ renesas/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts >>> @@ -0,0 +1,45 @@ >> >> [...] >>> >>> +&extal_clk { >>> + clock-frequency = <16666666>; >>> +}; >>> + >>> +&extalr_clk { >>> + clock-frequency = <32768>; >>> +}; >>> + >> >> Forgot to specify SCIF_CLK -- it's populated. > > Unfortunately, the kernel hangs after ttySC0 is registered if I specify > this frequency... Is the crystal populated? When doing initial bringup of the remote Eagle I have access to, the SCIF registers didn't indicate SCIF_CLK was being used from U-Boot, while it is used on R-Car Gen2 boards that have it populated. 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