On 09/15/2017 09:44 PM, Geert Uytterhoeven 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?
It should be, with 14.7456MHz chrystal. But it's connected to SCIF_CLK_B
pin -- perhaps that's the problem...
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.
Perhaps PFC is just not configured properly?
Gr{oetje,eeting}s,
Geert
MBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html