arm64: dts: renesas: Add support for R-Car H3Ne-1.7G
Subsystems (2)
Geert Uytterhoeven
maintainercover arm64: dts: renesas: Add support for R-Car H3Ne-1.7G
Hi all,
This patch series adds support for the R-Car H3Ne-1.7G SoC (R8A779MB), which is a different grading of the R-Car H3-N (R8A77951) SoC. Board support includes the Salvator-XS and H3ULCB development boards, and the H3ULCB+Kingfisher board combo. Note that unlike R-Car H3Ne (R8A779M8), R-Car H3Ne-1.7G does support running the Cortex-A57 CPU cores at 1.7 GHz[1].
The last 3 patches are marked RFC, as I do not know which boards will actually be produced with this SoC.
This has been prototyped and tested on Salvator-XS with R-Car H3 ES2.0.
I plan to queue (most) of this in renesas-devel for v5.21.
Thanks for your comments!
[1] [PATCH] arm64: dts: renesas: r8a779m8: Drop operating points above 1.5 GHz
https://lore.kernel.org/r/aeb4530f7fbac8329b334dcb169382c836a5f32d.1655458564.git.geert+renesas@glider.be/
Geert Uytterhoeven (6):
dt-bindings: arm: renesas: Document R-Car H3Ne-1.7G SoC and boards
soc: renesas: Identify R-Car H3Ne-1.7G
arm64: dts: renesas: Add Renesas R8A779MB SoC support
arm64: dts: renesas: Add support for Salvator-XS with R-Car H3Ne-1.7G
arm64: dts: renesas: Add support for H3ULCB with R-Car H3Ne-1.7G
arm64: dts: renesas: Add support for H3ULCB+Kingfisher with R-Car
H3Ne-1.7G
.../devicetree/bindings/arm/renesas.yaml | 9 ++++ arch/arm64/boot/dts/renesas/Makefile | 4 ++ .../boot/dts/renesas/r8a779mb-salvator-xs.dts | 53 +++++++++++++++++++ .../boot/dts/renesas/r8a779mb-ulcb-kf.dts | 19 +++++++ arch/arm64/boot/dts/renesas/r8a779mb-ulcb.dts | 53 +++++++++++++++++++ arch/arm64/boot/dts/renesas/r8a779mb.dtsi | 12 +++++ drivers/soc/renesas/renesas-soc.c | 1 + 7 files changed, 151 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb-salvator-xs.dts create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb-ulcb-kf.dts create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb-ulcb.dts create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb.dtsi
Signature · 12 lines
2.25.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
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 TorvaldsGeert Uytterhoeven
maintainerPATCH 1/6 dt-bindings: arm: renesas: Document R-Car H3Ne-1.7G SoC and boards
Document the compatible values for the R-Car H3Ne-1.7G (R8A779MB) SoC. This is a different grading of the R-Car H3-N (R8A77951) SoC.
All R-Car H3Ne-1.7G on-SoC devices are identical to the corresponding devices on the R-Car H3-N SoC, and thus just use the compatible values for the latter. The root compatible property does gain an additional value, to sort out integration issues if they ever arise.
Document the use of this SoC on the Salvator-XS and ULCB (with and without Kingfisher) development boards.
--- Documentation/devicetree/bindings/arm/renesas.yaml | 9 +++++++++ 1 file changed, 9 insertions(+)
Documentation/devicetree/bindings/arm/renesas.yaml +9 -0
@@ -264,6 +264,7 @@ properties: - renesas,r8a779m4 - renesas,r8a779m5 - renesas,r8a779m8 + - renesas,r8a779mb - enum: - renesas,r8a7795 - renesas,r8a77961
@@ -409,6 +410,14 @@ properties: - const: renesas,r8a779m8 - const: renesas,r8a7795 + - description: R-Car H3Ne-1.7G (R8A779MB) + items: + - enum: + - renesas,h3ulcb # H3ULCB (R-Car Starter Kit Premier) + - renesas,salvator-xs # Salvator-XS (Salvator-X 2nd version) + - const: renesas,r8a779mb + - const: renesas,r8a7795 + - description: RZ/N1D (R9A06G032) items: - enum:
Signature · 1 line
2.25.1
Re: [PATCH 1/6] dt-bindings: arm: renesas: Document R-Car H3Ne-1.7G SoC and boards
Quoted 11 lines · Geert Uytterhoeven
Document the compatible values for the R-Car H3Ne-1.7G (R8A779MB) SoC. This is a different grading of the R-Car H3-N (R8A77951) SoC.
All R-Car H3Ne-1.7G on-SoC devices are identical to the corresponding devices on the R-Car H3-N SoC, and thus just use the compatible values for the latter. The root compatible property does gain an additional value, to sort out integration issues if they ever arise.
Document the use of this SoC on the Salvator-XS and ULCB (with and without Kingfisher) development boards.
Best regards,
Krzysztof
Geert Uytterhoeven
maintainerPATCH 2/6 soc: renesas: Identify R-Car H3Ne-1.7G
In reply to Geert UytterhoevenAdd support for identifying the R-Car H3Ne-1.7G (R8A779MB) SoC.
As this is a different grading of the already supported R-Car H3-N ES3.0 (R8A77951) SoC, support for it is enabled through the existing ARCH_R8A77951 configuration symbol.
--- drivers/soc/renesas/renesas-soc.c | 1 + 1 file changed, 1 insertion(+)
drivers/soc/renesas/renesas-soc.c +1 -0
@@ -320,6 +320,7 @@ static const struct of_device_id renesas_socs[] __initconst = { { .compatible = "renesas,r8a779m0", .data = &soc_rcar_h3 }, { .compatible = "renesas,r8a779m1", .data = &soc_rcar_h3 }, { .compatible = "renesas,r8a779m8", .data = &soc_rcar_h3 }, + { .compatible = "renesas,r8a779mb", .data = &soc_rcar_h3 }, #endif #ifdef CONFIG_ARCH_R8A77960 { .compatible = "renesas,r8a7796", .data = &soc_rcar_m3_w },
Signature · 1 line
2.25.1
Geert Uytterhoeven
maintainerPATCH 3/6 arm64: dts: renesas: Add Renesas R8A779MB SoC support
In reply to Geert UytterhoevenAdd support for the Renesas R-Car H3Ne-1.7G (R8A779MB) SoC, which is a different grading of the R-Car H3-N (R8A77951) SoC.
--- arch/arm64/boot/dts/renesas/r8a779mb.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb.dtsi
arch/arm64/boot/dts/renesas/r8a779mb.dtsi new file +12 -0
@@ -0,0 +1,12 @@ +// SPDX-License-Identifier: (GPL-2.0 or MIT) +/* + * Device Tree Source for the R-Car H3Ne-1.7G (R8A779MB) SoC + * + * Copyright (C) 2022 Glider bv + */ + +#include "r8a77951.dtsi" + +/ { + compatible = "renesas,r8a779mb", "renesas,r8a7795"; +};
Signature · 1 line
2.25.1
Geert Uytterhoeven
maintainerPATCH 4/6 arm64: dts: renesas: Add support for Salvator-XS with R-Car H3Ne-1.7G
In reply to Geert UytterhoevenAdd support for the Renesas Salvator-X 2nd version development board equipped with an R-Car H3Ne-1.7G SiP.
--- arch/arm64/boot/dts/renesas/Makefile | 2 + .../boot/dts/renesas/r8a779mb-salvator-xs.dts | 53 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb-salvator-xs.dts
arch/arm64/boot/dts/renesas/Makefile +2 -0
@@ -77,6 +77,8 @@ dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb-kf.dtb dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-salvator-xs.dtb +dtb-$(CONFIG_ARCH_R8A77951) += r8a779mb-salvator-xs.dtb + dtb-$(CONFIG_ARCH_R9A07G043) += r9a07g043u11-smarc.dtb dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044c2-smarc.dtb
arch/arm64/boot/dts/renesas/r8a779mb-salvator-xs.dts new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
2.25.1
Geert Uytterhoeven
maintainerPATCH 5/6 arm64: dts: renesas: Add support for H3ULCB with R-Car H3Ne-1.7G
In reply to Geert UytterhoevenAdd support for the Renesas R-Car Starter Kit Premier equipped with an R-Car H3Ne-1.7G SiP.
--- arch/arm64/boot/dts/renesas/Makefile | 1 + arch/arm64/boot/dts/renesas/r8a779mb-ulcb.dts | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb-ulcb.dts
arch/arm64/boot/dts/renesas/Makefile +1 -0
@@ -78,6 +78,7 @@ dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb-kf.dtb dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-salvator-xs.dtb dtb-$(CONFIG_ARCH_R8A77951) += r8a779mb-salvator-xs.dtb +dtb-$(CONFIG_ARCH_R8A77951) += r8a779mb-ulcb.dtb dtb-$(CONFIG_ARCH_R9A07G043) += r9a07g043u11-smarc.dtb
arch/arm64/boot/dts/renesas/r8a779mb-ulcb.dts new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
2.25.1
Geert Uytterhoeven
maintainerPATCH 6/6 arm64: dts: renesas: Add support for H3ULCB+Kingfisher with R-Car H3Ne-1.7G
In reply to Geert UytterhoevenAdd support for the Renesas R-Car Starter Kit Premier and Kingfisher combo equipped with an R-Car H3Ne-1.7G SiP.
--- arch/arm64/boot/dts/renesas/Makefile | 1 + .../boot/dts/renesas/r8a779mb-ulcb-kf.dts | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb-ulcb-kf.dts
arch/arm64/boot/dts/renesas/Makefile +1 -0
@@ -79,6 +79,7 @@ dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-salvator-xs.dtb dtb-$(CONFIG_ARCH_R8A77951) += r8a779mb-salvator-xs.dtb dtb-$(CONFIG_ARCH_R8A77951) += r8a779mb-ulcb.dtb +dtb-$(CONFIG_ARCH_R8A77951) += r8a779mb-ulcb-kf.dtb dtb-$(CONFIG_ARCH_R9A07G043) += r9a07g043u11-smarc.dtb
arch/arm64/boot/dts/renesas/r8a779mb-ulcb-kf.dts new file +19 -0
@@ -0,0 +1,19 @@ +// SPDX-License-Identifier: (GPL-2.0 or MIT) +/* + * Device Tree Source for the H3ULCB Kingfisher board with R-Car H3Ne-1.7G + * + * Copyright (C) 2022 Glider bv + * + * Based on r8a77951-ulcb-kf.dts + * Copyright (C) 2017 Renesas Electronics Corp. + * Copyright (C) 2017 Cogent Embedded, Inc. + */ + +#include "r8a779mb-ulcb.dts" +#include "ulcb-kf.dtsi" + +/ { + model = "Renesas H3ULCB Kingfisher board based on r8a779mb"; + compatible = "shimafuji,kingfisher", "renesas,h3ulcb", + "renesas,r8a779mb", "renesas,r8a7795"; +};
Signature · 1 line
2.25.1
Hi Geert-san,
Thank you for the patches!
Quoted 11 lines
From: Geert Uytterhoeven, Sent: Wednesday, July 20, 2022 5:08 PM
Hi all,
This patch series adds support for the R-Car H3Ne-1.7G SoC (R8A779MB), which is a different grading of the R-Car H3-N (R8A77951) SoC. Board support includes the Salvator-XS and H3ULCB development boards, and the H3ULCB+Kingfisher board combo. Note that unlike R-Car H3Ne (R8A779M8), R-Car H3Ne-1.7G does support running the Cortex-A57 CPU cores at 1.7 GHz[1].
Quoted 2 lines
The last 3 patches are marked RFC, as I do not know which boards will actually be produced with this SoC.
I'm sorry I should have informed you about this topic before. Like r8a779m8 (R-Car H3Ne), we don't have any actual board for now. So, please drop these supports.
Best regards,
Yoshihiro Shimoda
Quoted 8 lines
This has been prototyped and tested on Salvator-XS with R-Car H3 ES2.0.
I plan to queue (most) of this in renesas-devel for v5.21.
Thanks for your comments!
[1] [PATCH] arm64: dts: renesas: r8a779m8: Drop operating points above 1.5 GHz
<snip URL>
Quoted 36 lines
Geert Uytterhoeven (6):
dt-bindings: arm: renesas: Document R-Car H3Ne-1.7G SoC and boards
soc: renesas: Identify R-Car H3Ne-1.7G
arm64: dts: renesas: Add Renesas R8A779MB SoC support
arm64: dts: renesas: Add support for Salvator-XS with R-Car H3Ne-1.7G
arm64: dts: renesas: Add support for H3ULCB with R-Car H3Ne-1.7G
arm64: dts: renesas: Add support for H3ULCB+Kingfisher with R-CarH3Ne-1.7G.../devicetree/bindings/arm/renesas.yaml | 9 ++++ arch/arm64/boot/dts/renesas/Makefile | 4 ++ .../boot/dts/renesas/r8a779mb-salvator-xs.dts | 53 +++++++++++++++++++ .../boot/dts/renesas/r8a779mb-ulcb-kf.dts | 19 +++++++ arch/arm64/boot/dts/renesas/r8a779mb-ulcb.dts | 53 +++++++++++++++++++ arch/arm64/boot/dts/renesas/r8a779mb.dtsi | 12 +++++ drivers/soc/renesas/renesas-soc.c | 1 + 7 files changed, 151 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb-salvator-xs.dts create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb-ulcb-kf.dts create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb-ulcb.dts create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb.dtsi--
2.25.1Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]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