On Mon, Jul 01, 2013 at 06:02:52PM +0800, Richard Zhu wrote: > Only imx6q has the ahci sata controller, enable > it on imx6q platforms. > > Signed-off-by: Richard Zhu <r65037@xxxxxxxxxxxxx> > --- > arch/arm/boot/dts/imx6q-sabreauto.dts | 4 ++++ > arch/arm/boot/dts/imx6q-sabrelite.dts | 4 ++++ > arch/arm/boot/dts/imx6q-sabresd.dts | 4 ++++ > arch/arm/boot/dts/imx6q.dtsi | 9 +++++++++ > 4 files changed, 21 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/boot/dts/imx6q-sabreauto.dts b/arch/arm/boot/dts/imx6q-sabreauto.dts > index 09a7580..dd40f00 100644 > --- a/arch/arm/boot/dts/imx6q-sabreauto.dts > +++ b/arch/arm/boot/dts/imx6q-sabreauto.dts > @@ -20,6 +20,10 @@ > compatible = "fsl,imx6q-sabreauto", "fsl,imx6q"; > }; > > +&ahci { /* AHCI SATA */ All these "AHCI SATA" comments are not so useful. Please just drop them. Shawn > + status = "okay"; > +}; > + > &iomuxc { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_hog>; > diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts > index 6a00066..fde2afd 100644 > --- a/arch/arm/boot/dts/imx6q-sabrelite.dts > +++ b/arch/arm/boot/dts/imx6q-sabrelite.dts > @@ -65,6 +65,10 @@ > }; > }; > > +&ahci { /* AHCI SATA */ > + status = "okay"; > +}; > + > &ecspi1 { > fsl,spi-num-chipselects = <1>; > cs-gpios = <&gpio3 19 0>; > diff --git a/arch/arm/boot/dts/imx6q-sabresd.dts b/arch/arm/boot/dts/imx6q-sabresd.dts > index 0038228..e9b6825 100644 > --- a/arch/arm/boot/dts/imx6q-sabresd.dts > +++ b/arch/arm/boot/dts/imx6q-sabresd.dts > @@ -20,6 +20,10 @@ > compatible = "fsl,imx6q-sabresd", "fsl,imx6q"; > }; > > +&ahci { /* AHCI SATA */ > + status = "okay"; > +}; > + > &iomuxc { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_hog>; > diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi > index e7dd2c4..7c1af2b 100644 > --- a/arch/arm/boot/dts/imx6q.dtsi > +++ b/arch/arm/boot/dts/imx6q.dtsi > @@ -424,6 +424,15 @@ > }; > }; > > + ahci: 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 > -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html