Skip to contentSkip to conversation

ARM: dts: renesas: Add Inter Connect RAM

PATCH New Geert Uytterhoeven 3 participants 11 messages Jul 4, 2017 – Jul 10, 2017 Device tree bindings

lore
Share & tools
lore
#0 lore raw

cover ARM: dts: renesas: Add Inter Connect RAM

Hi Simon, Magnus,

R-Car Gen2 and RZ/G1 SoCs contain two or three blocks of SRAM, which can be used for several purposes. One such purpose is holding a jump stub for CPU core bringup.

This patch series adds the SRAM blocks to the various DTS files, following the generic DT bindings for "mmio-sram" in Documentation/devicetree/bindings/sram/sram.txt. Reserving SRAM for jump stub for CPU core bringup will be handled in a follow-up series.

Thanks!

Geert Uytterhoeven (7):
ARM: dts: r8a7743: Add Inter Connect RAM
ARM: dts: r8a7745: Add Inter Connect RAM
ARM: dts: r8a7790: Add Inter Connect RAM
ARM: dts: r8a7791: Add Inter Connect RAM
ARM: dts: r8a7792: Add Inter Connect RAM
ARM: dts: r8a7793: Add Inter Connect RAM
ARM: dts: r8a7794: Add Inter Connect RAM

 arch/arm/boot/dts/r8a7743.dtsi | 15 +++++++++++++++
 arch/arm/boot/dts/r8a7745.dtsi | 15 +++++++++++++++
 arch/arm/boot/dts/r8a7790.dtsi | 10 ++++++++++
 arch/arm/boot/dts/r8a7791.dtsi | 10 ++++++++++
 arch/arm/boot/dts/r8a7792.dtsi | 10 ++++++++++
 arch/arm/boot/dts/r8a7793.dtsi | 10 ++++++++++
 arch/arm/boot/dts/r8a7794.dtsi | 10 ++++++++++
 7 files changed, 80 insertions(+)
Signature · 12 lines
2.7.4

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
#1 lore raw

PATCH 1/7 ARM: dts: r8a7743: Add Inter Connect RAM

RZ/G1M has 3 regions of Inter Connect RAM (72 + 4 + 256 KiB).

---
 arch/arm/boot/dts/r8a7743.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/arm/boot/dts/r8a7743.dtsi +15 -0
index 0ddac81742e4cdc7..b8ce935f6fb196fe 100644
@@ -468,6 +468,21 @@
 			status = "disabled";
 		};
 
+		icram2:	sram at e6300000 {
+			compatible = "mmio-sram";
+			reg = <0 0xe6300000 0 0x40000>;
+		};
+
+		icram0:	sram at e63a0000 {
+			compatible = "mmio-sram";
+			reg = <0 0xe63a0000 0 0x12000>;
+		};
+
+		icram1:	sram at e63c0000 {
+			compatible = "mmio-sram";
+			reg = <0 0xe63c0000 0 0x1000>;
+		};
+
 		ether: ethernet at ee700000 {
 			compatible = "renesas,ether-r8a7743";
 			reg = <0 0xee700000 0 0x400>;
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/7 ARM: dts: r8a7745: Add Inter Connect RAM

In reply to Geert Uytterhoeven

RZ/G1E has 3 regions of Inter Connect RAM (72 + 4 + 256 KiB).

---
 arch/arm/boot/dts/r8a7745.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/arm/boot/dts/r8a7745.dtsi +15 -0
index 2feb0084bb3b1b51..88cf92bcd2f9b4fc 100644
@@ -468,6 +468,21 @@
 			status = "disabled";
 		};
 
+		icram2:	sram at e6300000 {
+			compatible = "mmio-sram";
+			reg = <0 0xe6300000 0 0x40000>;
+		};
+
+		icram0:	sram at e63a0000 {
+			compatible = "mmio-sram";
+			reg = <0 0xe63a0000 0 0x12000>;
+		};
+
+		icram1:	sram at e63c0000 {
+			compatible = "mmio-sram";
+			reg = <0 0xe63c0000 0 0x1000>;
+		};
+
 		ether: ethernet at ee700000 {
 			compatible = "renesas,ether-r8a7745";
 			reg = <0 0xee700000 0 0x400>;
Signature · 1 line
2.7.4
#3 lore raw

PATCH 3/7 ARM: dts: r8a7790: Add Inter Connect RAM

In reply to Geert Uytterhoeven

R-Car H2 has 2 regions of Inter Connect RAM (72 + 4 KiB).

---
 arch/arm/boot/dts/r8a7790.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/r8a7790.dtsi +10 -0
index 2805a8608d4ba007..4ee34995573cf505 100644
@@ -830,6 +830,16 @@
 		status = "disabled";
 	};
 
+	icram0:	sram at e63a0000 {
+		compatible = "mmio-sram";
+		reg = <0 0xe63a0000 0 0x12000>;
+	};
+
+	icram1:	sram at e63c0000 {
+		compatible = "mmio-sram";
+		reg = <0 0xe63c0000 0 0x1000>;
+	};
+
 	ether: ethernet at ee700000 {
 		compatible = "renesas,ether-r8a7790";
 		reg = <0 0xee700000 0 0x400>;
Signature · 1 line
2.7.4
#4 lore raw

PATCH 4/7 ARM: dts: r8a7791: Add Inter Connect RAM

In reply to Geert Uytterhoeven

R-Car M2-W has 2 regions of Inter Connect RAM (72 + 4 KiB).

---
 arch/arm/boot/dts/r8a7791.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/r8a7791.dtsi +10 -0
index bd93f699ad840987..f4748a9cb0375e4d 100644
@@ -890,6 +890,16 @@
 		status = "disabled";
 	};
 
+	icram0:	sram at e63a0000 {
+		compatible = "mmio-sram";
+		reg = <0 0xe63a0000 0 0x12000>;
+	};
+
+	icram1:	sram at e63c0000 {
+		compatible = "mmio-sram";
+		reg = <0 0xe63c0000 0 0x1000>;
+	};
+
 	ether: ethernet at ee700000 {
 		compatible = "renesas,ether-r8a7791";
 		reg = <0 0xee700000 0 0x400>;
Signature · 1 line
2.7.4
#5 lore raw

PATCH 5/7 ARM: dts: r8a7792: Add Inter Connect RAM

In reply to Geert Uytterhoeven

R-Car V2H has 2 regions of Inter Connect RAM (72 + 4 KiB).

---
 arch/arm/boot/dts/r8a7792.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/r8a7792.dtsi +10 -0
index 0efecb232ee52ce0..136a86ac64974adb 100644
@@ -465,6 +465,16 @@
 			status = "disabled";
 		};
 
+		icram0:	sram at e63a0000 {
+			compatible = "mmio-sram";
+			reg = <0 0xe63a0000 0 0x12000>;
+		};
+
+		icram1:	sram at e63c0000 {
+			compatible = "mmio-sram";
+			reg = <0 0xe63c0000 0 0x1000>;
+		};
+
 		sdhi0: sd at ee100000 {
 			compatible = "renesas,sdhi-r8a7792";
 			reg = <0 0xee100000 0 0x328>;
Signature · 1 line
2.7.4
#6 lore raw

PATCH 6/7 ARM: dts: r8a7793: Add Inter Connect RAM

In reply to Geert Uytterhoeven

R-Car M2-N has 2 regions of Inter Connect RAM (72 + 4 KiB).

---
 arch/arm/boot/dts/r8a7793.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/r8a7793.dtsi +10 -0
index 13b980f27bbc885f..bc6a44272f555215 100644
@@ -848,6 +848,16 @@
 		status = "disabled";
 	};
 
+	icram0:	sram at e63a0000 {
+		compatible = "mmio-sram";
+		reg = <0 0xe63a0000 0 0x12000>;
+	};
+
+	icram1:	sram at e63c0000 {
+		compatible = "mmio-sram";
+		reg = <0 0xe63c0000 0 0x1000>;
+	};
+
 	ether: ethernet at ee700000 {
 		compatible = "renesas,ether-r8a7793";
 		reg = <0 0xee700000 0 0x400>;
Signature · 1 line
2.7.4
#7 lore raw

PATCH 7/7 ARM: dts: r8a7794: Add Inter Connect RAM

In reply to Geert Uytterhoeven

R-Car E2 has 2 regions of Inter Connect RAM (72 + 4 KiB).

---
 arch/arm/boot/dts/r8a7794.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/r8a7794.dtsi +10 -0
index 7d9a81d970d87c6b..78973cee7185ffe6 100644
@@ -588,6 +588,16 @@
 		status = "disabled";
 	};
 
+	icram0:	sram at e63a0000 {
+		compatible = "mmio-sram";
+		reg = <0 0xe63a0000 0 0x12000>;
+	};
+
+	icram1:	sram at e63c0000 {
+		compatible = "mmio-sram";
+		reg = <0 0xe63c0000 0 0x1000>;
+	};
+
 	ether: ethernet at ee700000 {
 		compatible = "renesas,ether-r8a7794";
 		reg = <0 0xee700000 0 0x400>;
Signature · 1 line
2.7.4
#8 lore raw

cover ARM: dts: renesas: Add Inter Connect RAM

In reply to Geert Uytterhoeven
Quoted 6 lines · Geert Uytterhoeven

Hi Simon, Magnus,

R-Car Gen2 and RZ/G1 SoCs contain two or three blocks of SRAM, which can be used for several purposes. One such purpose is holding a jump stub for CPU core bringup.

Quoted 6 lines

This patch series adds the SRAM blocks to the various DTS files, following the generic DT bindings for "mmio-sram" in Documentation/devicetree/bindings/sram/sram.txt. Reserving SRAM for jump stub for CPU core bringup will be handled in a follow-up series.

Thanks!

Geert, these seem nice and clean to me.
Are they ready to be applied?

#9 lore raw

cover ARM: dts: renesas: Add Inter Connect RAM

Hi Simon,

Quoted 10 lines · Simon Horman
Quoted 9 lines · Geert Uytterhoeven

R-Car Gen2 and RZ/G1 SoCs contain two or three blocks of SRAM, which can be used for several purposes. One such purpose is holding a jump stub for CPU core bringup.

This patch series adds the SRAM blocks to the various DTS files, following the generic DT bindings for "mmio-sram" in Documentation/devicetree/bindings/sram/sram.txt. Reserving SRAM for jump stub for CPU core bringup will be handled in a follow-up series.

Quoted 4 lines
Quoted 1 line

Thanks!

Geert, these seem nice and clean to me.
Are they ready to be applied?

I think they are.

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

#10 lore raw

cover ARM: dts: renesas: Add Inter Connect RAM

Quoted 13 lines · Geert Uytterhoeven

Hi Simon,

Quoted 10 lines · Simon Horman
Quoted 9 lines · Geert Uytterhoeven

R-Car Gen2 and RZ/G1 SoCs contain two or three blocks of SRAM, which can be used for several purposes. One such purpose is holding a jump stub for CPU core bringup.

This patch series adds the SRAM blocks to the various DTS files, following the generic DT bindings for "mmio-sram" in Documentation/devicetree/bindings/sram/sram.txt. Reserving SRAM for jump stub for CPU core bringup will be handled in a follow-up series.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Thanks!

Geert, these seem nice and clean to me.
Are they ready to be applied?

I think they are.

Thanks, all patches applied for v4.14.