Skip to contentSkip to conversation

arm64: dts: r8a77965: Add SATA controller node

PATCH Superseded Wolfram Sang 2 participants 2 messages Jul 25, 2018 – Jul 26, 2018

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

From: Takeshi Kihara <[email protected]>

This patch adds SATA controller node for the R8A77965 SoC.

[wsa: rebased to upstream base]
---
 arch/arm64/boot/dts/renesas/r8a77965.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/renesas/r8a77965.dtsi +11 -0
index 0cd44461a0bd..d2144b9b2572 100644
@@ -908,6 +908,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";
+		};
+
 		scif0: serial@e6e60000 {
 			compatible = "renesas,scif-r8a77965",
 				     "renesas,rcar-gen3-scif", "renesas,scif";
Signature · 1 line
2.11.0
Reviewed-by on v1 1/1
#1 lore raw

Hi Wolfram,

Quoted 3 lines · Wolfram Sang

From: Takeshi Kihara <[email protected]>

This patch adds SATA controller node for the R8A77965 SoC.

Thanks for your patch!

Quoted 3 lines
[wsa: rebased to upstream base]

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

Quoted 7 lines
arch/arm64/boot/dts/renesas/r8a77965.dtsi +1 -0
@@ -908,6 +908,17 @@
                        status = "disabled";
                };
 
+               sata: sata@ee300000 {

Please insert this node in between sd@ee160000 and interrupt-controller@f1010000, to preserve sort order (by unit address per device group first, by device index second).

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

Quoted 13 lines
arch/arm64/boot/dts/renesas/r8a77965.dtsi +10 -0
+                       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";
+               };
+
                scif0: serial@e6e60000 {
                        compatible = "renesas,scif-r8a77965",
                                     "renesas,rcar-gen3-scif", "renesas,scif";

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