From: Peng Ma Date: Wed, 1 Aug 2018 06:15:41 +0000 (+0800) Subject: armv7: dts: fsl-ls1021a: add sata node support enable sata for ls1021a-qds and ls1021... X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=9ed5ec9b53622fd4866ee606348044a26bf2a9bf;p=u-boot.git armv7: dts: fsl-ls1021a: add sata node support enable sata for ls1021a-qds and ls1021a-twr Add sata node to support this feature. Signed-off-by: Peng Ma Reviewed-by: York Sun --- diff --git a/arch/arm/dts/ls1021a-qds.dtsi b/arch/arm/dts/ls1021a-qds.dtsi index fb1af1568b..47c128f16f 100644 --- a/arch/arm/dts/ls1021a-qds.dtsi +++ b/arch/arm/dts/ls1021a-qds.dtsi @@ -212,3 +212,7 @@ &uart1 { status = "okay"; }; + +&sata { + status = "okay"; +}; diff --git a/arch/arm/dts/ls1021a-twr.dtsi b/arch/arm/dts/ls1021a-twr.dtsi index 63f2079ed3..14e0ceafe7 100644 --- a/arch/arm/dts/ls1021a-twr.dtsi +++ b/arch/arm/dts/ls1021a-twr.dtsi @@ -103,3 +103,7 @@ &uart1 { status = "okay"; }; + +&sata { + status = "okay"; +}; diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi index 59c97d5080..7670a39617 100644 --- a/arch/arm/dts/ls1021a.dtsi +++ b/arch/arm/dts/ls1021a.dtsi @@ -403,5 +403,12 @@ ranges = <0x81000000 0x0 0x00000000 0x34020000 0x0 0x00010000 /* downstream I/O */ 0x82000000 0x0 0x38000000 0x38000000 0x0 0x08000000>; /* non-prefetchable memory */ }; + + sata: sata@3200000 { + compatible = "fsl,ls1021a-ahci"; + reg = <0x3200000 0x10000>; + interrupts = <0 101 4>; + status = "disabled"; + }; }; };