Skip to contentSkip to conversation

arm64: renesas: Add support for more R-Car Gen3e SoCs and boards

PATCH In review Geert Uytterhoeven 2 participants 31 messages Aug 12, 2021 – Aug 17, 2021

Subsystems (2)
lore
Share & tools
lore

Geert Uytterhoeven

author maintainer
#0 lore raw

v2 cover arm64: renesas: Add support for more R-Car Gen3e SoCs and boards

Hi all,

The new R-Car Gen3e SoCs are different gradings of the existing R-Car Gen3 SoCs. This patch series adds support for the remaining R-Car Gen3e SoCs.

Changes compared to v1 (not posted publicly):
- Drop "mmc: renesas_sdhi: Add support for more R-Car Gen3e SoCs" (obsoleted by "[PATCH v4] mmc: host: renesas_sdhi: Refactor renesas_sdhi_probe()"[1]),
- Drop "ravb: Add support for R-Car E3e and D3e" (not needed as the affected code is meant for legacy DTBs only),
- Drop "usb: gadget: udc: renesas_usb3: Add support for R-Car E3e" (obsoleted by "[PATCH] usb: gadget: udc: renesas_usb3: Fix soc_device_match() abuse"[2]),
- Typo s/R8A779M/R8A779M0/,
- Add Reviewed-by,
- Drop new soc_rcar_*3*e, just use the existing soc_rcar_*3*.
- Drop bogus "based" in model name,
- Replace "D3" by "D3(e)", and "E3" by "E3(e)".

This has been tested on Salvator-XS with R-Car H3 ES2.0 and M3-N ES1.0, Salvator-X with R-Car M3-W ES1.0, Ebisu-4D with R-Car E3 ES1.0, and Draak with R-Car D3 ES1.0.

For testing, a branch with dependencies and fixups for prototyping R-Car Gen3e development on older Gen3 SoCs can be found at[3].

Thanks for your comments!

[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/r/760981fb4cd110d7cbfc9dcffa365e7c8b25c6e5.1628696960.git.geert+renesas@glider.be
[3] https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/rcar-gen3e-extra-v2

Geert Uytterhoeven (29):
dt-bindings: arm: renesas: Document more R-Car Gen3e Socs and boards
soc: renesas: Identify more R-Car Gen3e SoCs
arm64: dts: renesas: Factor out Draak board support
arm64: dts: renesas: Factor out Ebisu board support
arm64: dts: renesas: Add Renesas R8A779M0 SoC support
arm64: dts: renesas: Add Renesas R8A779M2 SoC support
arm64: dts: renesas: Add Renesas R8A779M4 SoC support
arm64: dts: renesas: Add Renesas R8A779M5 SoC support
arm64: dts: renesas: Add Renesas R8A779M6 SoC support
arm64: dts: renesas: Add Renesas R8A779M7 SoC support
arm64: dts: renesas: Add Renesas R8A779M8 SoC support
arm64: dts: renesas: Add support for Salvator-XS with R-Car H3e
arm64: dts: renesas: Add support for H3ULCB with R-Car H3e
arm64: dts: renesas: Add support for H3ULCB+Kingfisher with R-Car H3e
arm64: dts: renesas: Add support for Salvator-XS with R-Car M3e
arm64: dts: renesas: Add support for M3ULCB with R-Car M3e
arm64: dts: renesas: Add support for M3ULCB+Kingfisher with R-Car M3e
arm64: dts: renesas: Add support for Salvator-XS with R-Car M3Ne
arm64: dts: renesas: Add support for M3NULCB with R-Car M3Ne
arm64: dts: renesas: Add support for M3NULCB+Kingfisher with R-Car
M3Ne
arm64: dts: renesas: Add support for Salvator-XS with R-Car M3Ne-2G
arm64: dts: renesas: Add support for M3NULCB with R-Car M3Ne-2G
arm64: dts: renesas: Add support for M3NULCB+Kingfisher with R-Car

    M3Ne-2G

arm64: dts: renesas: Add support for Ebisu with R-Car E3e
arm64: dts: renesas: Add support for Draak with R-Car D3e
arm64: dts: renesas: Add support for Salvator-XS with R-Car H3Ne
arm64: dts: renesas: Add support for H3ULCB with R-Car H3Ne
arm64: dts: renesas: Add support for H3ULCB+Kingfisher with R-Car H3Ne [RFC] arm64: dts: renesas: r8a779m5: Add Cortex-A57 2 GHz opp

 .../devicetree/bindings/arm/renesas.yaml      |  61 ++
 arch/arm64/boot/dts/renesas/Makefile          |  24 +
 .../{r8a77995-draak.dts => draak.dtsi}        |  10 +-
 .../{r8a77990-ebisu.dts => ebisu.dtsi}        |  10 +-
 .../arm64/boot/dts/renesas/r8a77990-ebisu.dts | 788 +-----------------
 .../arm64/boot/dts/renesas/r8a77995-draak.dts | 671 +--------------
 .../boot/dts/renesas/r8a779m0-salvator-xs.dts |  53 ++
 .../boot/dts/renesas/r8a779m0-ulcb-kf.dts     |  19 +
 arch/arm64/boot/dts/renesas/r8a779m0-ulcb.dts |  53 ++
 arch/arm64/boot/dts/renesas/r8a779m0.dtsi     |  12 +
 .../boot/dts/renesas/r8a779m2-salvator-xs.dts |  46 +
 .../boot/dts/renesas/r8a779m2-ulcb-kf.dts     |  18 +
 arch/arm64/boot/dts/renesas/r8a779m2-ulcb.dts |  45 +
 arch/arm64/boot/dts/renesas/r8a779m2.dtsi     |  12 +
 .../boot/dts/renesas/r8a779m4-salvator-xs.dts |  36 +
 .../boot/dts/renesas/r8a779m4-ulcb-kf.dts     |  19 +
 arch/arm64/boot/dts/renesas/r8a779m4-ulcb.dts |  36 +
 arch/arm64/boot/dts/renesas/r8a779m4.dtsi     |  12 +
 .../boot/dts/renesas/r8a779m5-salvator-xs.dts |  36 +
 .../boot/dts/renesas/r8a779m5-ulcb-kf.dts     |  19 +
 arch/arm64/boot/dts/renesas/r8a779m5-ulcb.dts |  36 +
 arch/arm64/boot/dts/renesas/r8a779m5.dtsi     |  21 +
 .../arm64/boot/dts/renesas/r8a779m6-ebisu.dts |  18 +
 arch/arm64/boot/dts/renesas/r8a779m6.dtsi     |  12 +
 .../arm64/boot/dts/renesas/r8a779m7-draak.dts |  19 +
 arch/arm64/boot/dts/renesas/r8a779m7.dtsi     |  12 +
 .../boot/dts/renesas/r8a779m8-salvator-xs.dts |  53 ++
 .../boot/dts/renesas/r8a779m8-ulcb-kf.dts     |  19 +
 arch/arm64/boot/dts/renesas/r8a779m8-ulcb.dts |  52 ++
 arch/arm64/boot/dts/renesas/r8a779m8.dtsi     |  12 +
 drivers/soc/renesas/Kconfig                   |   7 +-
 drivers/soc/renesas/renesas-soc.c             |   7 +
 32 files changed, 777 insertions(+), 1471 deletions(-)
 copy arch/arm64/boot/dts/renesas/{r8a77995-draak.dts => draak.dtsi} (97%)
 copy arch/arm64/boot/dts/renesas/{r8a77990-ebisu.dts => ebisu.dtsi} (98%)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m0-salvator-xs.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m0-ulcb-kf.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m0-ulcb.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m0.dtsi
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m2-salvator-xs.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m2-ulcb-kf.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m2-ulcb.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m2.dtsi
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m4-salvator-xs.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m4-ulcb-kf.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m4-ulcb.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m4.dtsi
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m5-salvator-xs.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m5-ulcb-kf.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m5-ulcb.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m5.dtsi
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m6-ebisu.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m6.dtsi
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m7-draak.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m7.dtsi
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m8-salvator-xs.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m8-ulcb-kf.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m8-ulcb.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m8.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 Torvalds
author maintainer
#1 lore raw

PATCH v2 1/29 dt-bindings: arm: renesas: Document more R-Car Gen3e Socs and boards

Document the compatible values for the remaining R-Car Gen3e SoCs: R-Car H3e (R8A779M0), M3e (R8A779M2), M3Ne (R8A779M4), M3Ne-2G (R8A779M5), E3e (R8A779M6), D3e (R8A779M7), and H3Ne (R8A779M8). These are different gradings of R-Car Gen3 SoCs.

All R-Car Gen3e on-SoC devices are identical to the devices on the corresponding R-Car Gen3 SoCs, and thus just use the compatible values for the latter. The root compatible properties do gain an additional value, to sort out integration issues if they ever arise.

Document the use of these SoCs on the Salvator-XS, ULCB (with and without Kingfisher extension), Ebisu, and Draak development boards.

---
v2:
- Typo s/R8A779M/R8A779M0/,
- Add Reviewed-by.

---
 .../devicetree/bindings/arm/renesas.yaml      | 61 +++++++++++++++++++
 1 file changed, 61 insertions(+)
Documentation/devicetree/bindings/arm/renesas.yaml +61 -0
index 8a11918866b86482..5172065078014f39 100644
@@ -255,12 +255,19 @@ properties:
               - enum:
                   - renesas,h3ulcb
                   - renesas,m3ulcb
+                  - renesas,m3nulcb
               - enum:
+                  - renesas,r8a779m0
                   - renesas,r8a779m1
+                  - renesas,r8a779m2
                   - renesas,r8a779m3
+                  - renesas,r8a779m4
+                  - renesas,r8a779m5
+                  - renesas,r8a779m8
               - enum:
                   - renesas,r8a7795
                   - renesas,r8a77961
+                  - renesas,r8a77965
 
       - description: R-Car M3-N (R8A77965)
         items:
@@ -308,6 +315,14 @@ properties:
           - const: renesas,falcon-cpu
           - const: renesas,r8a779a0
 
+      - description: R-Car H3e (R8A779M0)
+        items:
+          - enum:
+              - renesas,h3ulcb      # H3ULCB (R-Car Starter Kit Premier)
+              - renesas,salvator-xs # Salvator-XS (Salvator-X 2nd version)
+          - const: renesas,r8a779m0
+          - const: renesas,r8a7795
+
       - description: R-Car H3e-2G (R8A779M1)
         items:
           - enum:
@@ -316,6 +331,14 @@ properties:
           - const: renesas,r8a779m1
           - const: renesas,r8a7795
 
+      - description: R-Car M3e (R8A779M2)
+        items:
+          - enum:
+              - renesas,m3ulcb      # M3ULCB (R-Car Starter Kit Pro)
+              - renesas,salvator-xs # Salvator-XS (Salvator-X 2nd version)
+          - const: renesas,r8a779m2
+          - const: renesas,r8a77961
+
       - description: R-Car M3e-2G (R8A779M3)
         items:
           - enum:
@@ -324,6 +347,44 @@ properties:
           - const: renesas,r8a779m3
           - const: renesas,r8a77961
 
+      - description: R-Car M3Ne (R8A779M4)
+        items:
+          - enum:
+              - renesas,m3nulcb     # M3NULCB (R-Car Starter Kit Pro)
+              - renesas,salvator-xs # Salvator-XS (Salvator-X 2nd version)
+          - const: renesas,r8a779m4
+          - const: renesas,r8a77965
+
+      - description: R-Car M3Ne-2G (R8A779M5)
+        items:
+          - enum:
+              - renesas,m3nulcb     # M3NULCB (R-Car Starter Kit Pro)
+              - renesas,salvator-xs # Salvator-XS (Salvator-X 2nd version)
+          - const: renesas,r8a779m5
+          - const: renesas,r8a77965
+
+      - description: R-Car E3e (R8A779M6)
+        items:
+          - enum:
+              - renesas,ebisu       # Ebisu
+          - const: renesas,r8a779m6
+          - const: renesas,r8a77990
+
+      - description: R-Car D3e (R8A779M7)
+        items:
+          - enum:
+              - renesas,draak       # Draak
+          - const: renesas,r8a779m7
+          - const: renesas,r8a77995
+
+      - description: R-Car H3Ne (R8A779M8)
+        items:
+          - enum:
+              - renesas,h3ulcb      # H3ULCB (R-Car Starter Kit Premier)
+              - renesas,salvator-xs # Salvator-XS (Salvator-X 2nd version)
+          - const: renesas,r8a779m8
+          - const: renesas,r8a7795
+
       - description: RZ/N1D (R9A06G032)
         items:
           - enum:
Signature · 1 line
2.25.1
maintainer Acked-by on v2 1/29
#2 lore raw

Re: [PATCH v2 01/29] dt-bindings: arm: renesas: Document more R-Car Gen3e Socs and boards

Quoted 15 lines · Geert Uytterhoeven

Document the compatible values for the remaining R-Car Gen3e SoCs: R-Car H3e (R8A779M0), M3e (R8A779M2), M3Ne (R8A779M4), M3Ne-2G (R8A779M5), E3e (R8A779M6), D3e (R8A779M7), and H3Ne (R8A779M8). These are different gradings of R-Car Gen3 SoCs.

All R-Car Gen3e on-SoC devices are identical to the devices on the corresponding R-Car Gen3 SoCs, and thus just use the compatible values for the latter. The root compatible properties do gain an additional value, to sort out integration issues if they ever arise.

Document the use of these SoCs on the Salvator-XS, ULCB (with and without Kingfisher extension), Ebisu, and Draak development boards.

Quoted 8 lines

---
v2:
- Typo s/R8A779M/R8A779M0/,
- Add Reviewed-by.

---
 .../devicetree/bindings/arm/renesas.yaml      | 61 +++++++++++++++++++
 1 file changed, 61 insertions(+)
author maintainer
#3 lore raw

PATCH v2 2/29 soc: renesas: Identify more R-Car Gen3e SoCs

In reply to Geert Uytterhoeven

Add support for identifying the remaining R-Car Gen3e SoCs: R-Car H3e (R8A779M0), M3e (R8A779M2), M3Ne (R8A779M4), M3Ne-2G (R8A779M5), E3e (R8A779M6), D3e (R8A779M7), and H3Ne (R8A779M8).

As these are different gradings of the already supported R-Car Gen3 SoCs, support for them is enabled through the existing ARCH_R8A779* configuration symbols.

---
v2:
- Drop new soc_rcar_*3*e, just use the existing soc_rcar_*3*.

---
 drivers/soc/renesas/Kconfig       | 7 +++++--
 drivers/soc/renesas/renesas-soc.c | 7 +++++++
 2 files changed, 12 insertions(+), 2 deletions(-)
drivers/soc/renesas/Kconfig +5 -2
index a736b32555f21904..7f7c8f72d5f2b67a 100644
@@ -191,6 +191,7 @@ config ARCH_R8A77995
 	select SYSC_R8A77995
 	help
 	  This enables support for the Renesas R-Car D3 SoC.
+	  This includes different gradings like R-Car D3e.
 
 config ARCH_R8A77990
 	bool "ARM64 Platform support for R-Car E3"
@@ -198,6 +199,7 @@ config ARCH_R8A77990
 	select SYSC_R8A77990
 	help
 	  This enables support for the Renesas R-Car E3 SoC.
+	  This includes different gradings like R-Car E3e.
 
 config ARCH_R8A77950
 	bool "ARM64 Platform support for R-Car H3 ES1.x"
@@ -213,7 +215,7 @@ config ARCH_R8A77951
 	help
 	  This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and
 	  later).
-	  This includes different gradings like R-Car H3e-2G.
+	  This includes different gradings like R-Car H3e, H3e-2G, and H3Ne.
 
 config ARCH_R8A77965
 	bool "ARM64 Platform support for R-Car M3-N"
@@ -221,6 +223,7 @@ config ARCH_R8A77965
 	select SYSC_R8A77965
 	help
 	  This enables support for the Renesas R-Car M3-N SoC.
+	  This includes different gradings like R-Car M3Ne and M3Ne-2G.
 
 config ARCH_R8A77960
 	bool "ARM64 Platform support for R-Car M3-W"
@@ -235,7 +238,7 @@ config ARCH_R8A77961
 	select SYSC_R8A77961
 	help
 	  This enables support for the Renesas R-Car M3-W+ SoC.
-	  This includes different gradings like R-Car M3e-2G.
+	  This includes different gradings like R-Car M3e and M3e-2G.
 
 config ARCH_R8A77980
 	bool "ARM64 Platform support for R-Car V3H"
drivers/soc/renesas/renesas-soc.c +7 -0
index dab9f5a0aad00233..7961b0be1850922d 100644
@@ -285,17 +285,22 @@ static const struct of_device_id renesas_socs[] __initconst = {
 	{ .compatible = "renesas,r8a7795",	.data = &soc_rcar_h3 },
 #endif
 #ifdef CONFIG_ARCH_R8A77951
+	{ .compatible = "renesas,r8a779m0",	.data = &soc_rcar_h3 },
 	{ .compatible = "renesas,r8a779m1",	.data = &soc_rcar_h3 },
+	{ .compatible = "renesas,r8a779m8",	.data = &soc_rcar_h3 },
 #endif
 #ifdef CONFIG_ARCH_R8A77960
 	{ .compatible = "renesas,r8a7796",	.data = &soc_rcar_m3_w },
 #endif
 #ifdef CONFIG_ARCH_R8A77961
 	{ .compatible = "renesas,r8a77961",	.data = &soc_rcar_m3_w },
+	{ .compatible = "renesas,r8a779m2",	.data = &soc_rcar_m3_w },
 	{ .compatible = "renesas,r8a779m3",	.data = &soc_rcar_m3_w },
 #endif
 #ifdef CONFIG_ARCH_R8A77965
 	{ .compatible = "renesas,r8a77965",	.data = &soc_rcar_m3_n },
+	{ .compatible = "renesas,r8a779m4",	.data = &soc_rcar_m3_n },
+	{ .compatible = "renesas,r8a779m5",	.data = &soc_rcar_m3_n },
 #endif
 #ifdef CONFIG_ARCH_R8A77970
 	{ .compatible = "renesas,r8a77970",	.data = &soc_rcar_v3m },
@@ -305,9 +310,11 @@ static const struct of_device_id renesas_socs[] __initconst = {
 #endif
 #ifdef CONFIG_ARCH_R8A77990
 	{ .compatible = "renesas,r8a77990",	.data = &soc_rcar_e3 },
+	{ .compatible = "renesas,r8a779m6",	.data = &soc_rcar_e3 },
 #endif
 #ifdef CONFIG_ARCH_R8A77995
 	{ .compatible = "renesas,r8a77995",	.data = &soc_rcar_d3 },
+	{ .compatible = "renesas,r8a779m7",	.data = &soc_rcar_d3 },
 #endif
 #ifdef CONFIG_ARCH_R8A779A0
 	{ .compatible = "renesas,r8a779a0",	.data = &soc_rcar_v3u },
Signature · 1 line
2.25.1
author maintainer
#4 lore raw

PATCH v2 3/29 arm64: dts: renesas: Factor out Draak board support

In reply to Geert Uytterhoeven

Move the common parts for the Renesas Draak board to draak.dtsi, to avoid future duplication of board descriptions.

Change a reference in a comment from "r8a77995" to "R-Car D3(e)", to prepare for the advent of "R-Car D3e".

---
v2:
- Drop bogus "based" in model name,
- Replace "D3" by "D3(e)",
- Add Reviewed-by,
- Rebased.

---
 .../{r8a77995-draak.dts => draak.dtsi}        |  10 +-
 .../arm64/boot/dts/renesas/r8a77995-draak.dts | 671 +-----------------
 2 files changed, 5 insertions(+), 676 deletions(-)
 copy arch/arm64/boot/dts/renesas/{r8a77995-draak.dts => draak.dtsi} (97%)
arch/arm64/boot/dts/renesas/draak.dtsi renamed from arch/arm64/boot/dts/renesas/r8a77995-draak.dts +4 -6
similarity index 97%
copy from arch/arm64/boot/dts/renesas/r8a77995-draak.dts
copy to arch/arm64/boot/dts/renesas/draak.dtsi
index 1ac15aa05b823ba9..ff799ab73f8a479d 100644
@@ -1,19 +1,17 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Device Tree Source for the Draak board with R-Car D3
+ * Device Tree Source for the Draak board
  *
  * Copyright (C) 2016-2018 Renesas Electronics Corp.
  * Copyright (C) 2017 Glider bvba
  */
 
-/dts-v1/;
-#include "r8a77995.dtsi"
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
-	model = "Renesas Draak board based on r8a77995";
-	compatible = "renesas,draak", "renesas,r8a77995";
+	model = "Renesas Draak board";
+	compatible = "renesas,draak";
 
 	aliases {
 		serial0 = &scif2;
@@ -253,7 +251,7 @@ phy0: ethernet-phy@0 {
 		 * TX clock internal delay mode is required for reliable
 		 * 1Gbps communication using the KSZ9031RNX phy present on
 		 * the Draak board, however, TX clock internal delay mode
-		 * isn't supported on r8a77995.  Thus, limit speed to
+		 * isn't supported on R-Car D3(e).  Thus, limit speed to
 		 * 100Mbps for reliable communication.
 		 */
 		max-speed = <100>;
arch/arm64/boot/dts/renesas/r8a77995-draak.dts +1 -670

679 lines not on this page · raw message

Signature · 1 line
2.25.1
author maintainer
#5 lore raw

PATCH v2 4/29 arm64: dts: renesas: Factor out Ebisu board support

In reply to Geert Uytterhoeven

Move the common parts for the Renesas Ebisu board to ebisu.dtsi, to avoid future duplication of board descriptions.

Change a reference in a comment from "r8a77990" to "R-Car E3(e)", to prepare for the advent of "R-Car E3e".

---
v2:
- Replace "E3" by "E3(e)",
- Add Reviewed-by,
- Rebased.

---
 .../{r8a77990-ebisu.dts => ebisu.dtsi}        |  10 +-
 .../arm64/boot/dts/renesas/r8a77990-ebisu.dts | 788 +-----------------
 2 files changed, 5 insertions(+), 793 deletions(-)
 copy arch/arm64/boot/dts/renesas/{r8a77990-ebisu.dts => ebisu.dtsi} (98%)
arch/arm64/boot/dts/renesas/ebisu.dtsi renamed from arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts +4 -6
similarity index 98%
copy from arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts
copy to arch/arm64/boot/dts/renesas/ebisu.dtsi
index 9c7146084ea1c779..54f88bb7e5920296 100644
@@ -1,18 +1,16 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Device Tree Source for the Ebisu board with R-Car E3
+ * Device Tree Source for the Ebisu board
  *
  * Copyright (C) 2018 Renesas Electronics Corp.
  */
 
-/dts-v1/;
-#include "r8a77990.dtsi"
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
-	model = "Renesas Ebisu board based on r8a77990";
-	compatible = "renesas,ebisu", "renesas,r8a77990";
+	model = "Renesas Ebisu board";
+	compatible = "renesas,ebisu";
 
 	aliases {
 		serial0 = &scif2;
@@ -313,7 +311,7 @@ phy0: ethernet-phy@0 {
 		 * TX clock internal delay mode is required for reliable
 		 * 1Gbps communication using the KSZ9031RNX phy present on
 		 * the Ebisu board, however, TX clock internal delay mode
-		 * isn't supported on r8a77990.  Thus, limit speed to
+		 * isn't supported on R-Car E3(e).  Thus, limit speed to
 		 * 100Mbps for reliable communication.
 		 */
 		max-speed = <100>;
arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts +1 -787

796 lines not on this page · raw message

Signature · 1 line
2.25.1
author maintainer
#6 lore raw

PATCH v2 5/29 arm64: dts: renesas: Add Renesas R8A779M0 SoC support

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car H3e (R8A779M0) SoC, which is a different grading of the R-Car H3 ES3.0 (R8A77951) SoC.

---
v2:
- No changes.

---
 arch/arm64/boot/dts/renesas/r8a779m0.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m0.dtsi
arch/arm64/boot/dts/renesas/r8a779m0.dtsi new file +12 -0
new file mode 100644
index 0000000000000000..6fb1979cc0414abf
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the R-Car H3e (R8A779M0) SoC
+ *
+ * Copyright (C) 2021 Glider bv
+ */
+
+#include "r8a77951.dtsi"
+
+/ {
+	compatible = "renesas,r8a779m0", "renesas,r8a7795";
+};
Signature · 1 line
2.25.1
author maintainer
#7 lore raw

PATCH v2 6/29 arm64: dts: renesas: Add Renesas R8A779M2 SoC support

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car M3e (R8A779M2) SoC, which is a different grading of the R-Car M3-W+ (R8A77961) SoC.

---
v2:
- No changes.

---
 arch/arm64/boot/dts/renesas/r8a779m2.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m2.dtsi
arch/arm64/boot/dts/renesas/r8a779m2.dtsi new file +12 -0
new file mode 100644
index 0000000000000000..324627340b86ad9e
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the R-Car M3e (R8A779M2) SoC
+ *
+ * Copyright (C) 2021 Glider bv
+ */
+
+#include "r8a77961.dtsi"
+
+/ {
+	compatible = "renesas,r8a779m2", "renesas,r8a77961";
+};
Signature · 1 line
2.25.1
author maintainer
#8 lore raw

PATCH v2 7/29 arm64: dts: renesas: Add Renesas R8A779M4 SoC support

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car M3Ne (R8A779M4) SoC, which is a different grading of the R-Car M3-N (R8A77965) SoC.

---
v2:
- No changes.

---
 arch/arm64/boot/dts/renesas/r8a779m4.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m4.dtsi
arch/arm64/boot/dts/renesas/r8a779m4.dtsi new file +12 -0
new file mode 100644
index 0000000000000000..d7fbb6c05502678c
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the R-Car M3Ne (R8A779M4) SoC
+ *
+ * Copyright (C) 2021 Glider bv
+ */
+
+#include "r8a77965.dtsi"
+
+/ {
+	compatible = "renesas,r8a779m4", "renesas,r8a77965";
+};
Signature · 1 line
2.25.1
author maintainer
#9 lore raw

PATCH v2 8/29 arm64: dts: renesas: Add Renesas R8A779M5 SoC support

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car M3Ne-2G (R8A779M5) SoC, which is a different grading of the R-Car M3-N (R8A77965) SoC.

---
v2:
- No changes.

---
 arch/arm64/boot/dts/renesas/r8a779m5.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m5.dtsi
arch/arm64/boot/dts/renesas/r8a779m5.dtsi new file +12 -0
new file mode 100644
index 0000000000000000..f0ef765f6cf87319
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the R-Car M3Ne-2G (R8A779M5) SoC
+ *
+ * Copyright (C) 2021 Glider bv
+ */
+
+#include "r8a77965.dtsi"
+
+/ {
+	compatible = "renesas,r8a779m5", "renesas,r8a77965";
+};
Signature · 1 line
2.25.1
author maintainer
#10 lore raw

PATCH v2 9/29 arm64: dts: renesas: Add Renesas R8A779M6 SoC support

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car E3e (R8A779M6) SoC, which is a different grading of the R-Car E3 (R8A77990) SoC.

---
v2:
- No changes.

---
 arch/arm64/boot/dts/renesas/r8a779m6.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m6.dtsi
arch/arm64/boot/dts/renesas/r8a779m6.dtsi new file +12 -0
new file mode 100644
index 0000000000000000..afe3cabfb898c6e6
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the R-Car E3e (R8A779M6) SoC
+ *
+ * Copyright (C) 2021 Glider bv
+ */
+
+#include "r8a77990.dtsi"
+
+/ {
+	compatible = "renesas,r8a779m6", "renesas,r8a77990";
+};
Signature · 1 line
2.25.1
author maintainer
#11 lore raw

PATCH v2 10/29 arm64: dts: renesas: Add Renesas R8A779M7 SoC support

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car D3e (R8A779M7) SoC, which is a different grading of the R-Car D3 (R8A77995) SoC.

---
v2:
- No changes.

---
 arch/arm64/boot/dts/renesas/r8a779m7.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m7.dtsi
arch/arm64/boot/dts/renesas/r8a779m7.dtsi new file +12 -0
new file mode 100644
index 0000000000000000..4958babc52fd81ea
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the R-Car D3e (R8A779M7) SoC
+ *
+ * Copyright (C) 2021 Glider bv
+ */
+
+#include "r8a77995.dtsi"
+
+/ {
+	compatible = "renesas,r8a779m7", "renesas,r8a77995";
+};
Signature · 1 line
2.25.1
author maintainer
#12 lore raw

PATCH v2 11/29 arm64: dts: renesas: Add Renesas R8A779M8 SoC support

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car H3Ne (R8A779M8) SoC, which is a different grading of the R-Car H3-N (R8A77951) SoC.

---
v2:
- No changes.

---
 arch/arm64/boot/dts/renesas/r8a779m8.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m8.dtsi
arch/arm64/boot/dts/renesas/r8a779m8.dtsi new file +12 -0
new file mode 100644
index 0000000000000000..752440b0c40f7c22
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the R-Car H3Ne (R8A779M8) SoC
+ *
+ * Copyright (C) 2021 Glider bv
+ */
+
+#include "r8a77951.dtsi"
+
+/ {
+	compatible = "renesas,r8a779m8", "renesas,r8a7795";
+};
Signature · 1 line
2.25.1
author maintainer
#13 lore raw

PATCH v2 12/29 arm64: dts: renesas: Add support for Salvator-XS with R-Car H3e

In reply to Geert Uytterhoeven

Add support for the Renesas Salvator-X 2nd version development board equipped with an R-Car H3e SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  2 +
 .../boot/dts/renesas/r8a779m0-salvator-xs.dts | 53 +++++++++++++++++++
 2 files changed, 55 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m0-salvator-xs.dts
arch/arm64/boot/dts/renesas/Makefile +2 -0
index 15a53b5139669aa6..69bdf8e92a459f1f 100644
@@ -63,6 +63,8 @@ dtb-$(CONFIG_ARCH_R8A77995) += r8a77995-draak.dtb
 
 dtb-$(CONFIG_ARCH_R8A779A0) += r8a779a0-falcon.dtb
 
+dtb-$(CONFIG_ARCH_R8A77951) += r8a779m0-salvator-xs.dtb
+
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-ulcb.dtb
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-ulcb-kf.dtb
arch/arm64/boot/dts/renesas/r8a779m0-salvator-xs.dts new file +53 -0

53 lines not on this page · raw message

Signature · 1 line
2.25.1
author maintainer
#14 lore raw

PATCH v2 13/29 arm64: dts: renesas: Add support for H3ULCB with R-Car H3e

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car Starter Kit Premier equipped with an R-Car H3e SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  1 +
 arch/arm64/boot/dts/renesas/r8a779m0-ulcb.dts | 53 +++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m0-ulcb.dts
arch/arm64/boot/dts/renesas/Makefile +1 -0
index 69bdf8e92a459f1f..a18f9b9d2a335c78 100644
@@ -64,6 +64,7 @@ dtb-$(CONFIG_ARCH_R8A77995) += r8a77995-draak.dtb
 dtb-$(CONFIG_ARCH_R8A779A0) += r8a779a0-falcon.dtb
 
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m0-salvator-xs.dtb
+dtb-$(CONFIG_ARCH_R8A77951) += r8a779m0-ulcb.dtb
 
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-ulcb.dtb
arch/arm64/boot/dts/renesas/r8a779m0-ulcb.dts new file +53 -0

53 lines not on this page · raw message

Signature · 1 line
2.25.1
author maintainer
#15 lore raw

PATCH v2 14/29 arm64: dts: renesas: Add support for H3ULCB+Kingfisher with R-Car H3e

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car Starter Kit Premier and Kingfisher combo equipped with an R-Car H3e SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  1 +
 .../boot/dts/renesas/r8a779m0-ulcb-kf.dts     | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m0-ulcb-kf.dts
arch/arm64/boot/dts/renesas/Makefile +1 -0
index a18f9b9d2a335c78..5b31402f8579b19b 100644
@@ -65,6 +65,7 @@ dtb-$(CONFIG_ARCH_R8A779A0) += r8a779a0-falcon.dtb
 
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m0-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m0-ulcb.dtb
+dtb-$(CONFIG_ARCH_R8A77951) += r8a779m0-ulcb-kf.dtb
 
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-ulcb.dtb
arch/arm64/boot/dts/renesas/r8a779m0-ulcb-kf.dts new file +19 -0
new file mode 100644
index 0000000000000000..76c40d63cf95f1b3
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the H3ULCB Kingfisher board with R-Car H3e
+ *
+ * Copyright (C) 2021 Glider bv
+ *
+ * Based on r8a77951-ulcb-kf.dts
+ * Copyright (C) 2017 Renesas Electronics Corp.
+ * Copyright (C) 2017 Cogent Embedded, Inc.
+ */
+
+#include "r8a779m0-ulcb.dts"
+#include "ulcb-kf.dtsi"
+
+/ {
+	model = "Renesas H3ULCB Kingfisher board based on r8a779m0";
+	compatible = "shimafuji,kingfisher", "renesas,h3ulcb",
+		     "renesas,r8a779m0", "renesas,r8a7795";
+};
Signature · 1 line
2.25.1
author maintainer
#16 lore raw

PATCH v2 15/29 arm64: dts: renesas: Add support for Salvator-XS with R-Car M3e

In reply to Geert Uytterhoeven

Add support for the Renesas Salvator-X 2nd version development board equipped with an R-Car M3e SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  2 +
 .../boot/dts/renesas/r8a779m2-salvator-xs.dts | 46 +++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m2-salvator-xs.dts
arch/arm64/boot/dts/renesas/Makefile +2 -0
index 5b31402f8579b19b..2c542b2f1c9fe092 100644
@@ -71,6 +71,8 @@ dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-ulcb.dtb
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-ulcb-kf.dtb
 
+dtb-$(CONFIG_ARCH_R8A77961) += r8a779m2-salvator-xs.dtb
+
 dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb.dtb
 dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb-kf.dtb
arch/arm64/boot/dts/renesas/r8a779m2-salvator-xs.dts new file +46 -0

46 lines not on this page · raw message

Signature · 1 line
2.25.1
author maintainer
#17 lore raw

PATCH v2 16/29 arm64: dts: renesas: Add support for M3ULCB with R-Car M3e

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car Starter Kit Pro equipped with an R-Car M3e SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  1 +
 arch/arm64/boot/dts/renesas/r8a779m2-ulcb.dts | 45 +++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m2-ulcb.dts
arch/arm64/boot/dts/renesas/Makefile +1 -0
index 2c542b2f1c9fe092..eb744f7876751699 100644
@@ -72,6 +72,7 @@ dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-ulcb.dtb
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-ulcb-kf.dtb
 
 dtb-$(CONFIG_ARCH_R8A77961) += r8a779m2-salvator-xs.dtb
+dtb-$(CONFIG_ARCH_R8A77961) += r8a779m2-ulcb.dtb
 
 dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb.dtb
arch/arm64/boot/dts/renesas/r8a779m2-ulcb.dts new file +45 -0

45 lines not on this page · raw message

Signature · 1 line
2.25.1
author maintainer
#18 lore raw

PATCH v2 17/29 arm64: dts: renesas: Add support for M3ULCB+Kingfisher with R-Car M3e

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car Starter Kit Pro and Kingfisher combo equipped with an R-Car M3e SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile           |  1 +
 .../boot/dts/renesas/r8a779m2-ulcb-kf.dts      | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m2-ulcb-kf.dts
arch/arm64/boot/dts/renesas/Makefile +1 -0
index eb744f7876751699..b55314feb8abdf98 100644
@@ -73,6 +73,7 @@ dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-ulcb-kf.dtb
 
 dtb-$(CONFIG_ARCH_R8A77961) += r8a779m2-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77961) += r8a779m2-ulcb.dtb
+dtb-$(CONFIG_ARCH_R8A77961) += r8a779m2-ulcb-kf.dtb
 
 dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb.dtb
arch/arm64/boot/dts/renesas/r8a779m2-ulcb-kf.dts new file +18 -0
new file mode 100644
index 0000000000000000..27c642553860fdf8
@@ -0,0 +1,18 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the M3ULCB Kingfisher board with R-Car M3e
+ *
+ * Copyright (C) 2021 Glider bv
+ *
+ * Based on r8a77961-ulcb-kf.dts
+ * Copyright (C) 2020 Eugeniu Rosca <[email protected]>
+ */
+
+#include "r8a779m2-ulcb.dts"
+#include "ulcb-kf.dtsi"
+
+/ {
+	model = "Renesas M3ULCB Kingfisher board based on r8a779m2";
+	compatible = "shimafuji,kingfisher", "renesas,m3ulcb",
+		     "renesas,r8a779m2", "renesas,r8a77961";
+};
Signature · 1 line
2.25.1
author maintainer
#19 lore raw

PATCH v2 18/29 arm64: dts: renesas: Add support for Salvator-XS with R-Car M3Ne

In reply to Geert Uytterhoeven

Add support for the Renesas Salvator-X 2nd version development board equipped with an R-Car M3Ne SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  2 ++
 .../boot/dts/renesas/r8a779m4-salvator-xs.dts | 36 +++++++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m4-salvator-xs.dts
arch/arm64/boot/dts/renesas/Makefile +2 -0
index b55314feb8abdf98..2ab938d4b62c1317 100644
@@ -79,4 +79,6 @@ dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb.dtb
 dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb-kf.dtb
 
+dtb-$(CONFIG_ARCH_R8A77965) += r8a779m4-salvator-xs.dtb
+
 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb
arch/arm64/boot/dts/renesas/r8a779m4-salvator-xs.dts new file +36 -0
new file mode 100644
index 0000000000000000..3a283b3ec116f9ca
@@ -0,0 +1,36 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the Salvator-X 2nd version board with R-Car M3Ne
+ *
+ * Copyright (C) 2021 Glider bv
+ *
+ * Based on r8a77965-salvator-xs.dts
+ * Copyright (C) 2017 Renesas Electronics Corp.
+ */
+
+/dts-v1/;
+#include "r8a779m4.dtsi"
+#include "salvator-xs.dtsi"
+
+/ {
+	model = "Renesas Salvator-X 2nd version board based on r8a779m4";
+	compatible = "renesas,salvator-xs", "renesas,r8a779m4",
+		     "renesas,r8a77965";
+
+	memory@48000000 {
+		device_type = "memory";
+		/* first 128MB is reserved for secure area. */
+		reg = <0x0 0x48000000 0x0 0x78000000>;
+	};
+};
+
+&du {
+	clocks = <&cpg CPG_MOD 724>,
+		 <&cpg CPG_MOD 723>,
+		 <&cpg CPG_MOD 721>,
+		 <&versaclock6 1>,
+		 <&x21_clk>,
+		 <&versaclock6 2>;
+	clock-names = "du.0", "du.1", "du.3",
+		      "dclkin.0", "dclkin.1", "dclkin.3";
+};
Signature · 1 line
2.25.1
author maintainer
#20 lore raw

PATCH v2 19/29 arm64: dts: renesas: Add support for M3NULCB with R-Car M3Ne

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car Starter Kit Pro equipped with an R-Car M3Ne SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  1 +
 arch/arm64/boot/dts/renesas/r8a779m4-ulcb.dts | 36 +++++++++++++++++++
 2 files changed, 37 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m4-ulcb.dts
arch/arm64/boot/dts/renesas/Makefile +1 -0
index 2ab938d4b62c1317..45a004035e216c14 100644
@@ -80,5 +80,6 @@ dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb.dtb
 dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb-kf.dtb
 
 dtb-$(CONFIG_ARCH_R8A77965) += r8a779m4-salvator-xs.dtb
+dtb-$(CONFIG_ARCH_R8A77965) += r8a779m4-ulcb.dtb
 
 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb
arch/arm64/boot/dts/renesas/r8a779m4-ulcb.dts new file +36 -0
new file mode 100644
index 0000000000000000..632f1c72ad8fe6e0
@@ -0,0 +1,36 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the M3NULCB (R-Car Starter Kit Pro) with R-Car M3Ne
+ *
+ * Copyright (C) 2021 Glider bv
+ *
+ * Based on r8a77965-ulcb.dts
+ * Copyright (C) 2018 Renesas Electronics Corp.
+ * Copyright (C) 2018 Cogent Embedded, Inc.
+ */
+
+/dts-v1/;
+#include "r8a779m4.dtsi"
+#include "ulcb.dtsi"
+
+/ {
+	model = "Renesas M3NULCB board based on r8a779m4";
+	compatible = "renesas,m3nulcb", "renesas,r8a779m4", "renesas,r8a77965";
+
+	memory@48000000 {
+		device_type = "memory";
+		/* first 128MB is reserved for secure area. */
+		reg = <0x0 0x48000000 0x0 0x78000000>;
+	};
+};
+
+&du {
+	clocks = <&cpg CPG_MOD 724>,
+		 <&cpg CPG_MOD 723>,
+		 <&cpg CPG_MOD 721>,
+		 <&versaclock5 1>,
+		 <&versaclock5 3>,
+		 <&versaclock5 2>;
+	clock-names = "du.0", "du.1", "du.3",
+		      "dclkin.0", "dclkin.1", "dclkin.3";
+};
Signature · 1 line
2.25.1
author maintainer
#21 lore raw

PATCH v2 20/29 arm64: dts: renesas: Add support for M3NULCB+Kingfisher with R-Car M3Ne

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car Starter Kit Pro and Kingfisher combo equipped with an R-Car M3Ne SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  1 +
 .../boot/dts/renesas/r8a779m4-ulcb-kf.dts     | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m4-ulcb-kf.dts
arch/arm64/boot/dts/renesas/Makefile +1 -0
index 45a004035e216c14..2f82cb497ba66a86 100644
@@ -81,5 +81,6 @@ dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb-kf.dtb
 
 dtb-$(CONFIG_ARCH_R8A77965) += r8a779m4-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77965) += r8a779m4-ulcb.dtb
+dtb-$(CONFIG_ARCH_R8A77965) += r8a779m4-ulcb-kf.dtb
 
 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb
arch/arm64/boot/dts/renesas/r8a779m4-ulcb-kf.dts new file +19 -0
new file mode 100644
index 0000000000000000..dd9d97bb2f4edcaf
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the M3NULCB Kingfisher board with R-Car M3Ne
+ *
+ * Copyright (C) 2021 Glider bv
+ *
+ * Based on r8a77965-ulcb-kf.dts
+ * Copyright (C) 2018 Renesas Electronics Corp.
+ * Copyright (C) 2018 Cogent Embedded, Inc.
+ */
+
+#include "r8a779m4-ulcb.dts"
+#include "ulcb-kf.dtsi"
+
+/ {
+	model = "Renesas M3NULCB Kingfisher board based on r8a779m4";
+	compatible = "shimafuji,kingfisher", "renesas,m3nulcb",
+		     "renesas,r8a779m4", "renesas,r8a77965";
+};
Signature · 1 line
2.25.1
author maintainer
#22 lore raw

PATCH v2 21/29 arm64: dts: renesas: Add support for Salvator-XS with R-Car M3Ne-2G

In reply to Geert Uytterhoeven

Add support for the Renesas Salvator-X 2nd version development board equipped with an R-Car M3Ne-2G SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  2 ++
 .../boot/dts/renesas/r8a779m5-salvator-xs.dts | 36 +++++++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m5-salvator-xs.dts
arch/arm64/boot/dts/renesas/Makefile +2 -0
index 2f82cb497ba66a86..5c47615525fc9203 100644
@@ -83,4 +83,6 @@ dtb-$(CONFIG_ARCH_R8A77965) += r8a779m4-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77965) += r8a779m4-ulcb.dtb
 dtb-$(CONFIG_ARCH_R8A77965) += r8a779m4-ulcb-kf.dtb
 
+dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-salvator-xs.dtb
+
 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb
arch/arm64/boot/dts/renesas/r8a779m5-salvator-xs.dts new file +36 -0
new file mode 100644
index 0000000000000000..c0341a88d641c837
@@ -0,0 +1,36 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the Salvator-X 2nd version board with R-Car M3Ne-2G
+ *
+ * Copyright (C) 2021 Glider bv
+ *
+ * Based on r8a77965-salvator-xs.dts
+ * Copyright (C) 2017 Renesas Electronics Corp.
+ */
+
+/dts-v1/;
+#include "r8a779m5.dtsi"
+#include "salvator-xs.dtsi"
+
+/ {
+	model = "Renesas Salvator-X 2nd version board based on r8a779m5";
+	compatible = "renesas,salvator-xs", "renesas,r8a779m5",
+		     "renesas,r8a77965";
+
+	memory@48000000 {
+		device_type = "memory";
+		/* first 128MB is reserved for secure area. */
+		reg = <0x0 0x48000000 0x0 0x78000000>;
+	};
+};
+
+&du {
+	clocks = <&cpg CPG_MOD 724>,
+		 <&cpg CPG_MOD 723>,
+		 <&cpg CPG_MOD 721>,
+		 <&versaclock6 1>,
+		 <&x21_clk>,
+		 <&versaclock6 2>;
+	clock-names = "du.0", "du.1", "du.3",
+		      "dclkin.0", "dclkin.1", "dclkin.3";
+};
Signature · 1 line
2.25.1
author maintainer
#23 lore raw

PATCH v2 22/29 arm64: dts: renesas: Add support for M3NULCB with R-Car M3Ne-2G

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car Starter Kit Pro equipped with an R-Car M3Ne-2 SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  1 +
 arch/arm64/boot/dts/renesas/r8a779m5-ulcb.dts | 36 +++++++++++++++++++
 2 files changed, 37 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m5-ulcb.dts
arch/arm64/boot/dts/renesas/Makefile +1 -0
index 5c47615525fc9203..9bee0eab5e2c2577 100644
@@ -84,5 +84,6 @@ dtb-$(CONFIG_ARCH_R8A77965) += r8a779m4-ulcb.dtb
 dtb-$(CONFIG_ARCH_R8A77965) += r8a779m4-ulcb-kf.dtb
 
 dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-salvator-xs.dtb
+dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-ulcb.dtb
 
 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb
arch/arm64/boot/dts/renesas/r8a779m5-ulcb.dts new file +36 -0
new file mode 100644
index 0000000000000000..17242ec02a65ad93
@@ -0,0 +1,36 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the M3NULCB (R-Car Starter Kit Pro) with R-Car M3Ne-2G
+ *
+ * Copyright (C) 2021 Glider bv
+ *
+ * Based on r8a77965-ulcb.dts
+ * Copyright (C) 2018 Renesas Electronics Corp.
+ * Copyright (C) 2018 Cogent Embedded, Inc.
+ */
+
+/dts-v1/;
+#include "r8a779m5.dtsi"
+#include "ulcb.dtsi"
+
+/ {
+	model = "Renesas M3NULCB board based on r8a779m5";
+	compatible = "renesas,m3nulcb", "renesas,r8a779m5", "renesas,r8a77965";
+
+	memory@48000000 {
+		device_type = "memory";
+		/* first 128MB is reserved for secure area. */
+		reg = <0x0 0x48000000 0x0 0x78000000>;
+	};
+};
+
+&du {
+	clocks = <&cpg CPG_MOD 724>,
+		 <&cpg CPG_MOD 723>,
+		 <&cpg CPG_MOD 721>,
+		 <&versaclock5 1>,
+		 <&versaclock5 3>,
+		 <&versaclock5 2>;
+	clock-names = "du.0", "du.1", "du.3",
+		      "dclkin.0", "dclkin.1", "dclkin.3";
+};
Signature · 1 line
2.25.1
author maintainer
#24 lore raw

PATCH v2 23/29 arm64: dts: renesas: Add support for M3NULCB+Kingfisher with R-Car M3Ne-2G

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car Starter Kit Pro and Kingfisher combo equipped with an R-Car M3Ne-2G SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  1 +
 .../boot/dts/renesas/r8a779m5-ulcb-kf.dts     | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m5-ulcb-kf.dts
arch/arm64/boot/dts/renesas/Makefile +1 -0
index 9bee0eab5e2c2577..13446aecdfccb080 100644
@@ -85,5 +85,6 @@ dtb-$(CONFIG_ARCH_R8A77965) += r8a779m4-ulcb-kf.dtb
 
 dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-ulcb.dtb
+dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-ulcb-kf.dtb
 
 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb
arch/arm64/boot/dts/renesas/r8a779m5-ulcb-kf.dts new file +19 -0
new file mode 100644
index 0000000000000000..79ccf581be1bf5ad
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the M3NULCB Kingfisher board with R-Car M3Ne-2G
+ *
+ * Copyright (C) 2021 Glider bv
+ *
+ * Based on r8a77965-ulcb-kf.dts
+ * Copyright (C) 2018 Renesas Electronics Corp.
+ * Copyright (C) 2018 Cogent Embedded, Inc.
+ */
+
+#include "r8a779m5-ulcb.dts"
+#include "ulcb-kf.dtsi"
+
+/ {
+	model = "Renesas M3NULCB Kingfisher board based on r8a779m5";
+	compatible = "shimafuji,kingfisher", "renesas,m3nulcb",
+		     "renesas,r8a779m5", "renesas,r8a77965";
+};
Signature · 1 line
2.25.1
author maintainer
#25 lore raw

PATCH v2 24/29 arm64: dts: renesas: Add support for Ebisu with R-Car E3e

In reply to Geert Uytterhoeven

Add support for the Renesas Ebisu development board equipped with an R-Car E3e SoC.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile           |  2 ++
 arch/arm64/boot/dts/renesas/r8a779m6-ebisu.dts | 18 ++++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m6-ebisu.dts
arch/arm64/boot/dts/renesas/Makefile +2 -0
index 13446aecdfccb080..c28c36efa10021c5 100644
@@ -87,4 +87,6 @@ dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-ulcb.dtb
 dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-ulcb-kf.dtb
 
+dtb-$(CONFIG_ARCH_R8A77990) += r8a779m6-ebisu.dtb
+
 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb
arch/arm64/boot/dts/renesas/r8a779m6-ebisu.dts new file +18 -0
new file mode 100644
index 0000000000000000..baff1f823546d85e
@@ -0,0 +1,18 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the Ebisu board with R-Car E3e
+ *
+ * Copyright (C) 2021 Glider bv
+ *
+ * Based on r8a77990-ebisu.dts
+ * Copyright (C) 2018 Renesas Electronics Corp.
+ */
+
+/dts-v1/;
+#include "r8a779m6.dtsi"
+#include "ebisu.dtsi"
+
+/ {
+	model = "Renesas Ebisu board based on r8a779m6";
+	compatible = "renesas,ebisu", "renesas,r8a779m6", "renesas,r8a77990";
+};
Signature · 1 line
2.25.1
author maintainer
#26 lore raw

PATCH v2 25/29 arm64: dts: renesas: Add support for Draak with R-Car D3e

In reply to Geert Uytterhoeven

Add support for the Renesas Draak development board equipped with an R-Car D3e SoC.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  2 ++
 .../arm64/boot/dts/renesas/r8a779m7-draak.dts | 19 +++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m7-draak.dts
arch/arm64/boot/dts/renesas/Makefile +2 -0
index c28c36efa10021c5..6c2810d39f5a7871 100644
@@ -89,4 +89,6 @@ dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-ulcb-kf.dtb
 
 dtb-$(CONFIG_ARCH_R8A77990) += r8a779m6-ebisu.dtb
 
+dtb-$(CONFIG_ARCH_R8A77995) += r8a779m7-draak.dtb
+
 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb
arch/arm64/boot/dts/renesas/r8a779m7-draak.dts new file +19 -0
new file mode 100644
index 0000000000000000..cf9005b32aeb8344
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the Draak board with R-Car D3e
+ *
+ * Copyright (C) 2021 Glider bv
+ *
+ * Based on r8a77995-draak.dts
+ * Copyright (C) 2016-2018 Renesas Electronics Corp.
+ * Copyright (C) 2017 Glider bvba
+ */
+
+/dts-v1/;
+#include "r8a779m7.dtsi"
+#include "draak.dtsi"
+
+/ {
+	model = "Renesas Draak board based on r8a779m7";
+	compatible = "renesas,draak", "renesas,r8a779m7", "renesas,r8a77995";
+};
Signature · 1 line
2.25.1
author maintainer
#27 lore raw

PATCH v2 26/29 arm64: dts: renesas: Add support for Salvator-XS with R-Car H3Ne

In reply to Geert Uytterhoeven

Add support for the Renesas Salvator-X 2nd version development board equipped with an R-Car H3Ne SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  2 +
 .../boot/dts/renesas/r8a779m8-salvator-xs.dts | 53 +++++++++++++++++++
 2 files changed, 55 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m8-salvator-xs.dts
arch/arm64/boot/dts/renesas/Makefile +2 -0
index 6c2810d39f5a7871..a14642a9e45a2a4b 100644
@@ -91,4 +91,6 @@ dtb-$(CONFIG_ARCH_R8A77990) += r8a779m6-ebisu.dtb
 
 dtb-$(CONFIG_ARCH_R8A77995) += r8a779m7-draak.dtb
 
+dtb-$(CONFIG_ARCH_R8A77951) += r8a779m8-salvator-xs.dtb
+
 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb
arch/arm64/boot/dts/renesas/r8a779m8-salvator-xs.dts new file +53 -0

53 lines not on this page · raw message

Signature · 1 line
2.25.1
author maintainer
#28 lore raw

PATCH v2 27/29 arm64: dts: renesas: Add support for H3ULCB with R-Car H3Ne

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car Starter Kit Premier equipped with an R-Car H3Ne SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  1 +
 arch/arm64/boot/dts/renesas/r8a779m8-ulcb.dts | 52 +++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m8-ulcb.dts
arch/arm64/boot/dts/renesas/Makefile +1 -0
index a14642a9e45a2a4b..c7d2b91a833b00b8 100644
@@ -92,5 +92,6 @@ dtb-$(CONFIG_ARCH_R8A77990) += r8a779m6-ebisu.dtb
 dtb-$(CONFIG_ARCH_R8A77995) += r8a779m7-draak.dtb
 
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m8-salvator-xs.dtb
+dtb-$(CONFIG_ARCH_R8A77951) += r8a779m8-ulcb.dtb
 
 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb
arch/arm64/boot/dts/renesas/r8a779m8-ulcb.dts new file +52 -0

52 lines not on this page · raw message

Signature · 1 line
2.25.1
author maintainer
#29 lore raw

PATCH v2 28/29 arm64: dts: renesas: Add support for H3ULCB+Kingfisher with R-Car H3Ne

In reply to Geert Uytterhoeven

Add support for the Renesas R-Car Starter Kit Premier and Kingfisher combo equipped with an R-Car H3Ne SiP.

---
v2:
- Add Reviewed-by.

---
 arch/arm64/boot/dts/renesas/Makefile          |  1 +
 .../boot/dts/renesas/r8a779m8-ulcb-kf.dts     | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779m8-ulcb-kf.dts
arch/arm64/boot/dts/renesas/Makefile +1 -0
index c7d2b91a833b00b8..498f1c4a3b271b93 100644
@@ -93,5 +93,6 @@ dtb-$(CONFIG_ARCH_R8A77995) += r8a779m7-draak.dtb
 
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m8-salvator-xs.dtb
 dtb-$(CONFIG_ARCH_R8A77951) += r8a779m8-ulcb.dtb
+dtb-$(CONFIG_ARCH_R8A77951) += r8a779m8-ulcb-kf.dtb
 
 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb
arch/arm64/boot/dts/renesas/r8a779m8-ulcb-kf.dts new file +19 -0
new file mode 100644
index 0000000000000000..3a2c80fb1a3d271f
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: (GPL-2.0 or MIT)
+/*
+ * Device Tree Source for the H3ULCB Kingfisher board with R-Car H3Ne
+ *
+ * Copyright (C) 2021 Glider bv
+ *
+ * Based on r8a77951-ulcb-kf.dts
+ * Copyright (C) 2017 Renesas Electronics Corp.
+ * Copyright (C) 2017 Cogent Embedded, Inc.
+ */
+
+#include "r8a779m8-ulcb.dts"
+#include "ulcb-kf.dtsi"
+
+/ {
+	model = "Renesas H3ULCB Kingfisher board based on r8a779m8";
+	compatible = "shimafuji,kingfisher", "renesas,h3ulcb",
+		     "renesas,r8a779m8", "renesas,r8a7795";
+};
Signature · 1 line
2.25.1
author maintainer
#30 lore raw

RFC PATCH v2 29/29 arm64: dts: renesas: r8a779m5: Add Cortex-A57 2 GHz opp

In reply to Geert Uytterhoeven

Add a preliminary operating point for running the Cortex-A57 CPU cores on R-Car M3Ne-2G at 2 GHz.

The opp-microvolt value depends on a future update of the Electrical Characteristics for R-Car M3Ne-2G.

---
v2:
- Change 2 GHz opp from 1020000 µV to 960000 µV, as per informal communication.

---
 arch/arm64/boot/dts/renesas/r8a779m5.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/renesas/r8a779m5.dtsi +9 -0
index f0ef765f6cf87319..5ab9bbdd419be3cd 100644
@@ -10,3 +10,12 @@
 / {
 	compatible = "renesas,r8a779m5", "renesas,r8a77965";
 };
+
+&cluster0_opp {
+	opp-2000000000 {
+		opp-hz = /bits/ 64 <2000000000>;
+		opp-microvolt = <960000>;	// FIXME TBC
+		clock-latency-ns = <300000>;
+		turbo-mode;
+	};
+};
Signature · 1 line
2.25.1