* [PATCH 0/2] ARM: dts: r8a7773/gose: enable SATA
@ 2016-03-16 17:11 Ulrich Hecht
2016-03-16 17:11 ` [PATCH 1/2] ARM: dts: r8a7793: Add SATA controller node Ulrich Hecht
2016-03-16 17:11 ` [PATCH 2/2] ARM: dts: gose: Enable SATA controller Ulrich Hecht
0 siblings, 2 replies; 4+ messages in thread
From: Ulrich Hecht @ 2016-03-16 17:11 UTC (permalink / raw)
To: horms; +Cc: linux-renesas-soc, linux-ide, magnus.damm, Ulrich Hecht
Hi!
This enables SATA on the Gose board.
CU
Uli
Ulrich Hecht (2):
ARM: dts: r8a7793: Add SATA controller node
ARM: dts: gose: Enable SATA controller
arch/arm/boot/dts/r8a7793-gose.dts | 4 ++++
arch/arm/boot/dts/r8a7793.dtsi | 16 ++++++++++++++++
2 files changed, 20 insertions(+)
--
2.6.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] ARM: dts: r8a7793: Add SATA controller node
2016-03-16 17:11 [PATCH 0/2] ARM: dts: r8a7773/gose: enable SATA Ulrich Hecht
@ 2016-03-16 17:11 ` Ulrich Hecht
2016-03-17 1:23 ` Simon Horman
2016-03-16 17:11 ` [PATCH 2/2] ARM: dts: gose: Enable SATA controller Ulrich Hecht
1 sibling, 1 reply; 4+ messages in thread
From: Ulrich Hecht @ 2016-03-16 17:11 UTC (permalink / raw)
To: horms; +Cc: linux-renesas-soc, linux-ide, magnus.damm, Ulrich Hecht
Adds SATA device node to r8a7793.dtsi.
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
---
arch/arm/boot/dts/r8a7793.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi
index 3ebe7d4..abb6851 100644
--- a/arch/arm/boot/dts/r8a7793.dtsi
+++ b/arch/arm/boot/dts/r8a7793.dtsi
@@ -775,6 +775,22 @@
status = "disabled";
};
+ sata0: sata@ee300000 {
+ compatible = "renesas,sata-r8a7793";
+ reg = <0 0xee300000 0 0x2000>;
+ interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp8_clks R8A7793_CLK_SATA0>;
+ status = "disabled";
+ };
+
+ sata1: sata@ee500000 {
+ compatible = "renesas,sata-r8a7793";
+ reg = <0 0xee500000 0 0x2000>;
+ interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp8_clks R8A7793_CLK_SATA1>;
+ status = "disabled";
+ };
+
qspi: spi@e6b10000 {
compatible = "renesas,qspi-r8a7793", "renesas,qspi";
reg = <0 0xe6b10000 0 0x2c>;
--
2.6.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 1/2] ARM: dts: r8a7793: Add SATA controller node
2016-03-16 17:11 ` [PATCH 1/2] ARM: dts: r8a7793: Add SATA controller node Ulrich Hecht
@ 2016-03-17 1:23 ` Simon Horman
0 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2016-03-17 1:23 UTC (permalink / raw)
To: Ulrich Hecht; +Cc: linux-renesas-soc, linux-ide, magnus.damm
On Wed, Mar 16, 2016 at 06:11:07PM +0100, Ulrich Hecht wrote:
> Adds SATA device node to r8a7793.dtsi.
>
> Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
> ---
> arch/arm/boot/dts/r8a7793.dtsi | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi
> index 3ebe7d4..abb6851 100644
> --- a/arch/arm/boot/dts/r8a7793.dtsi
> +++ b/arch/arm/boot/dts/r8a7793.dtsi
> @@ -775,6 +775,22 @@
> status = "disabled";
> };
>
> + sata0: sata@ee300000 {
> + compatible = "renesas,sata-r8a7793";
> + reg = <0 0xee300000 0 0x2000>;
> + interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&mstp8_clks R8A7793_CLK_SATA0>;
I think you also need a power domains property:
power-domains = <&cpg_clocks>;
> + status = "disabled";
> + };
> +
> + sata1: sata@ee500000 {
> + compatible = "renesas,sata-r8a7793";
> + reg = <0 0xee500000 0 0x2000>;
> + interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&mstp8_clks R8A7793_CLK_SATA1>;
Here too.
> + status = "disabled";
> + };
> +
> qspi: spi@e6b10000 {
> compatible = "renesas,qspi-r8a7793", "renesas,qspi";
> reg = <0 0xe6b10000 0 0x2c>;
> --
> 2.6.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: dts: gose: Enable SATA controller
2016-03-16 17:11 [PATCH 0/2] ARM: dts: r8a7773/gose: enable SATA Ulrich Hecht
2016-03-16 17:11 ` [PATCH 1/2] ARM: dts: r8a7793: Add SATA controller node Ulrich Hecht
@ 2016-03-16 17:11 ` Ulrich Hecht
1 sibling, 0 replies; 4+ messages in thread
From: Ulrich Hecht @ 2016-03-16 17:11 UTC (permalink / raw)
To: horms; +Cc: linux-renesas-soc, linux-ide, magnus.damm, Ulrich Hecht
Turns on r8a7793 SATA on the Gose board.
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
---
arch/arm/boot/dts/r8a7793-gose.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts
index 87e89ec..b7e8bd9 100644
--- a/arch/arm/boot/dts/r8a7793-gose.dts
+++ b/arch/arm/boot/dts/r8a7793-gose.dts
@@ -310,6 +310,10 @@
status = "okay";
};
+&sata0 {
+ status = "okay";
+};
+
&scif0 {
pinctrl-0 = <&scif0_pins>;
pinctrl-names = "default";
--
2.6.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-03-17 1:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16 17:11 [PATCH 0/2] ARM: dts: r8a7773/gose: enable SATA Ulrich Hecht
2016-03-16 17:11 ` [PATCH 1/2] ARM: dts: r8a7793: Add SATA controller node Ulrich Hecht
2016-03-17 1:23 ` Simon Horman
2016-03-16 17:11 ` [PATCH 2/2] ARM: dts: gose: Enable SATA controller Ulrich Hecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).