From: Richard Zhu <richard.zhuhongxing@gmail.com>
To: shawn.guo@linaro.org
Cc: linux-arm-kernel@lists.infradead.org, jgarzik@pobox.com,
linux-ide@vger.kernel.org, Richard Zhu <r65037@freescale.com>
Subject: [v1 1/3] ARM: dtsi: enable ahci sata on imx6q platforms
Date: Mon, 17 Jun 2013 17:52:45 +0800 [thread overview]
Message-ID: <1371462767-16630-2-git-send-email-r65037@freescale.com> (raw)
In-Reply-To: <1371462767-16630-1-git-send-email-r65037@freescale.com>
Only imx6q has the ahci sata controller, enable
it on imx6q platforms.
Signed-off-by: Richard Zhu <r65037@freescale.com>
---
arch/arm/boot/dts/imx6q-sabreauto.dts | 6 ++++++
arch/arm/boot/dts/imx6q-sabrelite.dts | 6 ++++++
arch/arm/boot/dts/imx6q-sabresd.dts | 6 ++++++
arch/arm/boot/dts/imx6q.dtsi | 9 +++++++++
4 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/imx6q-sabreauto.dts b/arch/arm/boot/dts/imx6q-sabreauto.dts
index 09a7580..79643cc 100644
--- a/arch/arm/boot/dts/imx6q-sabreauto.dts
+++ b/arch/arm/boot/dts/imx6q-sabreauto.dts
@@ -18,6 +18,12 @@
/ {
model = "Freescale i.MX6 Quad SABRE Automotive Board";
compatible = "fsl,imx6q-sabreauto", "fsl,imx6q";
+
+ soc {
+ ahci@02200000 { /* AHCI SATA */
+ status = "okay";
+ };
+ }
};
&iomuxc {
diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts
index 6a00066..dac40af 100644
--- a/arch/arm/boot/dts/imx6q-sabrelite.dts
+++ b/arch/arm/boot/dts/imx6q-sabrelite.dts
@@ -21,6 +21,12 @@
reg = <0x10000000 0x40000000>;
};
+ soc {
+ ahci@02200000 { /* AHCI SATA */
+ status = "okay";
+ };
+ }
+
regulators {
compatible = "simple-bus";
diff --git a/arch/arm/boot/dts/imx6q-sabresd.dts b/arch/arm/boot/dts/imx6q-sabresd.dts
index 0038228..ecae151 100644
--- a/arch/arm/boot/dts/imx6q-sabresd.dts
+++ b/arch/arm/boot/dts/imx6q-sabresd.dts
@@ -18,6 +18,12 @@
/ {
model = "Freescale i.MX6 Quad SABRE Smart Device Board";
compatible = "fsl,imx6q-sabresd", "fsl,imx6q";
+
+ soc {
+ ahci@02200000 { /* AHCI SATA */
+ status = "okay";
+ };
+ };
};
&iomuxc {
diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi
index e7dd2c4..e13ff30 100644
--- a/arch/arm/boot/dts/imx6q.dtsi
+++ b/arch/arm/boot/dts/imx6q.dtsi
@@ -424,6 +424,15 @@
};
};
+ ahci@02200000 { /* AHCI SATA */
+ compatible = "snps,imx-ahci";
+ reg = <0x02200000 0x4000>;
+ interrupts = <0 39 0x04>;
+ clocks = <&clks 154>, <&clks 187>;
+ clock-names = "sata", "sata_ref_100m";
+ status = "disabled";
+ };
+
ipu2: ipu@02800000 {
#crtc-cells = <1>;
compatible = "fsl,imx6q-ipu";
--
1.7.5.4
next prev parent reply other threads:[~2013-06-17 9:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-17 9:52 [PATCH V1 0/3] ahci: enable ahci sata support on imx6q Richard Zhu
2013-06-17 9:52 ` Richard Zhu [this message]
2013-06-18 2:06 ` [v1 1/3] ARM: dtsi: enable ahci sata on imx6q platforms Shawn Guo
2013-06-18 2:20 ` Zhu Richard-R65037
2013-06-17 9:52 ` [v1 2/3] ata: ahci_platform: enable imx6q ahci sata support Richard Zhu
2013-06-17 18:27 ` Tejun Heo
2013-06-18 2:01 ` Shawn Guo
2013-06-18 2:19 ` Zhu Richard-R65037
2013-06-18 2:32 ` Shawn Guo
2013-06-17 9:52 ` [v1 3/3] imx: ahci: enable ahci sata on imx6q platforms Richard Zhu
2013-06-18 3:03 ` Shawn Guo
2013-06-18 5:00 ` Zhu Richard-R65037
2013-06-18 5:59 ` Shawn Guo
2013-06-18 19:56 ` Sascha Hauer
2013-06-19 2:38 ` Zhu Richard-R65037
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1371462767-16630-2-git-send-email-r65037@freescale.com \
--to=richard.zhuhongxing@gmail.com \
--cc=jgarzik@pobox.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-ide@vger.kernel.org \
--cc=r65037@freescale.com \
--cc=shawn.guo@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).