arm64: dts: renesas: initial Eagle board device tree
Subsystems (2)
PATCH v2 7/8 arm64: dts: renesas: initial Eagle board device tree
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 <[email protected]>.
--- arch/arm64/boot/dts/renesas/Makefile | 1 arch/arm64/boot/dts/renesas/r8a77970-eagle.dts | 45 +++++++++++++++++++++++++ 2 files changed, 46 insertions(+)
arch/arm64/boot/dts/renesas/Makefile +1 -0
@@ -2,6 +2,7 @@ dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-sa dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-xs.dtb dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-es1-salvator-x.dtb r8a7795-es1-h3ulcb.dtb dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-salvator-x.dtb r8a7796-m3ulcb.dtb +dtb-$(CONFIG_ARCH_R8A77970) += r8a77970-eagle.dtb dtb-$(CONFIG_ARCH_R8A77995) += r8a77995-draak.dtb always := $(dtb-y)
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts new file +45 -0
45 lines not on this page · raw message
PATCH v2 7/8 arm64: dts: renesas: initial Eagle board device tree
Quoted 20 lines · Sergei Shtylyov
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 <[email protected]>.
Signed-off-by Vladimir Barinov <[email protected]>Signed-off-by Sergei Shtylyov <[email protected]>--- arch/arm64/boot/dts/renesas/Makefile | 1 arch/arm64/boot/dts/renesas/r8a77970-eagle.dts | 45 +++++++++++++++++++++++++ 2 files changed, 46 insertions(+)Index: renesas/arch/arm64/boot/dts/renesas/Makefile
===================================================================
arch/arm64/boot/dts/renesas/Makefile dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-sa · line 6
Quoted 5 lines
arch/arm64/boot/dts/renesas/Makefile +1
-0@@ -2,6 +2,7 @@ dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-sa dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-xs.dtb dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-es1-salvator-x.dtb r8a7795-es1-h3ulcb.dtb dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-salvator-x.dtb r8a7796-m3ulcb.dtb +dtb-$(CONFIG_ARCH_R8A77970) += r8a77970-eagle.dtb dtb-$(CONFIG_ARCH_R8A77995) += r8a77995-draak.dtb
Please consider submitting a patch to enable CONFIG_ARCH_R8A77970 in the ARM64 defconfig.
PATCH v2 7/8 arm64: dts: renesas: initial Eagle board device tree
In reply to Sergei ShtylyovQuoted 9 lines · Sergei Shtylyov
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 <[email protected]>.
Signed-off-by Vladimir Barinov <[email protected]>Signed-off-by Sergei Shtylyov <[email protected]>
Quoted 29 lines
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts new file +26
-0@@ -0,0 +1,45 @@ +/* + * Device Tree Source for the Eagle board + * + * Copyright (C) 2016-2017 Renesas Electronics Corp. + * Copyright (C) 2017 Cogent Embedded, Inc. + * + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of any + * kind, whether express or implied. + */ + +/dts-v1/; +#include "r8a77970.dtsi" + +/ { + model = "Renesas Eagle board based on r8a77970"; + compatible = "renesas,eagle", "renesas,r8a77970"; + + aliases { + serial0 = &scif0; + }; + + chosen { + bootargs = "ignore_loglevel"; + stdout-path = "serial0:115200n8"; + };
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts line 36
Quoted 10 lines
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts new file +10
-0+ + memory at 48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x38000000>; + }; +}; + +&extal_clk { + clock-frequency = <16666666>;
Nitpicking: the schematics say 16.6666 MHz
At 100 ppm accuracy that's the same, though.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
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
PATCH v2 7/8 arm64: dts: renesas: initial Eagle board device tree
Hello!
Quoted 46 lines · Geert Uytterhoeven
Quoted 9 lines
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 <[email protected]>.
Signed-off-by Vladimir Barinov <[email protected]>Signed-off-by Sergei Shtylyov <[email protected]>Reviewed-by Geert Uytterhoeven <[email protected]>Quoted 34 lines
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts new file +31
-0@@ -0,0 +1,45 @@ +/* + * Device Tree Source for the Eagle board + * + * Copyright (C) 2016-2017 Renesas Electronics Corp. + * Copyright (C) 2017 Cogent Embedded, Inc. + * + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of any + * kind, whether express or implied. + */ + +/dts-v1/; +#include "r8a77970.dtsi" + +/ { + model = "Renesas Eagle board based on r8a77970"; + compatible = "renesas,eagle", "renesas,r8a77970"; + + aliases { + serial0 = &scif0; + }; + + chosen { + bootargs = "ignore_loglevel"; + stdout-path = "serial0:115200n8"; + }; + + memory at 48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x38000000>;
Quoted 8 lines
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts line 36
Quoted 5 lines
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts new file +5
-0+ }; +}; + +&extal_clk { + clock-frequency = <16666666>;Nitpicking: the schematics say 16.6666 MHz
At 100 ppm accuracy that's the same, though.
So, you still want me to change this freq?
Quoted 3 lines
Gr{oetje,eeting}s,
Geert
MBR, Sergei
PATCH v2 7/8 arm64: dts: renesas: initial Eagle board device tree
Hi Sergei,
Quoted 16 lines · Sergei Shtylyov
Quoted 14 lines · Geert Uytterhoeven
Quoted 9 lines
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 <[email protected]>.
Signed-off-by Vladimir Barinov <[email protected]>Signed-off-by Sergei Shtylyov <[email protected]>Reviewed-by Geert Uytterhoeven <[email protected]>Quoted 2 lines
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts new file +0
-0
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
+&extal_clk {
+ clock-frequency = <16666666>;Nitpicking: the schematics say 16.6666 MHz
At 100 ppm accuracy that's the same, though.So, you still want me to change this freq?
I don't think that's really needed, as the difference is smaller than the accuracy anyway.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
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
PATCH v2 7/8 arm64: dts: renesas: initial Eagle board device tree
Quoted 24 lines · Geert Uytterhoeven
Hi Sergei,
Quoted 20 lines · Sergei Shtylyov
Quoted 19 lines · Geert Uytterhoeven
Quoted 9 lines
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 <[email protected]>.
Signed-off-by Vladimir Barinov <[email protected]>Signed-off-by Sergei Shtylyov <[email protected]>Reviewed-by Geert Uytterhoeven <[email protected]>Quoted 5 lines
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts new file +2
-0+&extal_clk { + clock-frequency = <16666666>;
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Nitpicking: the schematics say 16.6666 MHz
At 100 ppm accuracy that's the same, though.So, you still want me to change this freq?
I don't think that's really needed, as the difference is smaller than the accuracy anyway.
Thanks, I have applied this patch for v4.15.