Skip to contentSkip to conversation

arm64: dts: r8a77965: Add SATA controller node

PATCH In review Wolfram Sang 3 participants 4 messages Jul 30, 2018 – Aug 9, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: r8a77965: Add SATA controller node

From: Takeshi Kihara <[email protected]>

This patch adds SATA controller node for the R8A77965 SoC.

---

Changes since v1:
* sorted it according to address (Thanks, Geert!)
* added Geert's tag

 arch/arm64/boot/dts/renesas/r8a77965.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/renesas/r8a77965.dtsi +11 -0
index 0cd44461a0bd..bf22efb82cbf 100644
@@ -1507,6 +1507,17 @@
 			status = "disabled";
 		};
 
+		sata: sata@ee300000 {
+			compatible = "renesas,sata-r8a77965",
+				     "renesas,rcar-gen3-sata";
+			reg = <0 0xee300000 0 0x200000>;
+			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 815>;
+			power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
+			resets = <&cpg 815>;
+			status = "disabled";
+		};
+
 		gic: interrupt-controller@f1010000 {
 			compatible = "arm,gic-400";
 			#interrupt-cells = <3>;
Signature · 1 line
2.11.0
#1 lore raw
Quoted 24 lines · Wolfram Sang

From: Takeshi Kihara <[email protected]>

This patch adds SATA controller node for the R8A77965 SoC.

---

Changes since v1:
* sorted it according to address (Thanks, Geert!)
* added Geert's tag

 arch/arm64/boot/dts/renesas/r8a77965.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/renesas/r8a77965.dtsi +0 -0
index 0cd44461a0bd..bf22efb82cbf 100644
@@ -1507,6 +1507,17 @@
 			status = "disabled";
 		};

arch/arm64/boot/dts/renesas/r8a77965.dtsi line 1518

Quoted 10 lines
arch/arm64/boot/dts/renesas/r8a77965.dtsi +9 -0
 
+		sata: sata@ee300000 {
+			compatible = "renesas,sata-r8a77965",
+				     "renesas,rcar-gen3-sata";
+			reg = <0 0xee300000 0 0x200000>;
+			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 815>;
+			power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
+			resets = <&cpg 815>;
+			status = "disabled";

Is it intentional that there is no iommus property here?

Quoted 8 lines
arch/arm64/boot/dts/renesas/r8a77965.dtsi +2 -0
+		};
+
 		gic: interrupt-controller@f1010000 {
 			compatible = "arm,gic-400";
 			#interrupt-cells = <3>;
Signature · 1 line
2.11.0
#2 lore raw

Hi Simon,

Quoted 25 lines · Simon Horman
Quoted 24 lines · Wolfram Sang

From: Takeshi Kihara <[email protected]> This patch adds SATA controller node for the R8A77965 SoC.

---

Changes since v1:
* sorted it according to address (Thanks, Geert!)
* added Geert's tag

 arch/arm64/boot/dts/renesas/r8a77965.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/renesas/r8a77965.dtsi +0 -0
index 0cd44461a0bd..bf22efb82cbf 100644
@@ -1507,6 +1507,17 @@
                      status = "disabled";
              };
 
Quoted 11 lines

arch/arm64/boot/dts/renesas/r8a77965.dtsi line 1518

Quoted 9 lines
arch/arm64/boot/dts/renesas/r8a77965.dtsi +9 -0
+             sata: sata@ee300000 {
+                     compatible = "renesas,sata-r8a77965",
+                                  "renesas,rcar-gen3-sata";
+                     reg = <0 0xee300000 0 0x200000>;
+                     interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
+                     clocks = <&cpg CPG_MOD 815>;
+                     power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
+                     resets = <&cpg 815>;
+                     status = "disabled";

Is it intentional that there is no iommus property here?

Because none of the other device nodes have iommus properties yet?

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
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
#3 lore raw
Quoted 40 lines · Geert Uytterhoeven

Hi Simon,

Quoted 25 lines · Simon Horman
Quoted 24 lines · Wolfram Sang

From: Takeshi Kihara <[email protected]> This patch adds SATA controller node for the R8A77965 SoC.

---

Changes since v1:
* sorted it according to address (Thanks, Geert!)
* added Geert's tag

 arch/arm64/boot/dts/renesas/r8a77965.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/renesas/r8a77965.dtsi +0 -0
index 0cd44461a0bd..bf22efb82cbf 100644
@@ -1507,6 +1507,17 @@
                      status = "disabled";
              };
 
Quoted 11 lines

arch/arm64/boot/dts/renesas/r8a77965.dtsi line 1518

Quoted 9 lines
arch/arm64/boot/dts/renesas/r8a77965.dtsi +9 -0
+             sata: sata@ee300000 {
+                     compatible = "renesas,sata-r8a77965",
+                                  "renesas,rcar-gen3-sata";
+                     reg = <0 0xee300000 0 0x200000>;
+                     interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
+                     clocks = <&cpg CPG_MOD 815>;
+                     power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
+                     resets = <&cpg 815>;
+                     status = "disabled";

Is it intentional that there is no iommus property here?

Quoted 1 line

Because none of the other device nodes have iommus properties yet?

That is my unstated assumption too.

I've gone ahead and applied this patch for v4.20.