armv8: dts: fsl-lx2160a: add sata node support
PATCH 1/2 armv8: dts: fsl-lx2160a: add sata node support
One lx2160A, there is one SATA 3.0 advanced host controller interface which is a high-performance SATA solution that delivers comprehensive and fully-compliant generation 3 (1.5 Gb/s - 6.0 Gb/s) serial ATA capabilities, in accordance with the serial ATA revision 3.0 of Serial ATA International Organization.
---
Depends on:
- https://patchwork.ozlabs.org/project/uboot/list/?series=72964
- https://patchwork.ozlabs.org/project/uboot/list/?series=78759
arch/arm/dts/fsl-lx2160a-rdb.dts | 16 ++++++++++++++++ arch/arm/dts/fsl-lx2160a.dtsi | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 0 deletions(-)
arch/arm/dts/fsl-lx2160a-rdb.dts +16 -0
@@ -53,3 +53,19 @@ &esdhc1 { status = "okay"; }; + +&sata0 { + status = "okay"; +}; + +&sata1 { + status = "okay"; +}; + +&sata2 { + status = "okay"; +}; + +&sata3 { + status = "okay"; +};
arch/arm/dts/fsl-lx2160a.dtsi +37 -0
@@ -238,4 +238,41 @@ bus-range = <0x0 0xff>; ranges = <0x82000000 0x0 0x40000000 0xa8 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ }; + + sata0: sata at 3200000 { + compatible = "fsl,ls2080a-ahci"; + reg = <0x0 0x3200000 0x0 0x10000>; + interrupts = <0 133 4>; + clocks = <&clockgen 4 3>; + status = "disabled"; + + }; + + sata1: sata at 3210000 { + compatible = "fsl,ls2080a-ahci"; + reg = <0x0 0x3210000 0x0 0x10000>; + interrupts = <0 136 4>; + clocks = <&clockgen 4 3>; + status = "disabled"; + + }; + + sata2: sata at 3220000 { + compatible = "fsl,ls2080a-ahci"; + reg = <0x0 0x3220000 0x0 0x10000>; + interrupts = <0 97 4>; + clocks = <&clockgen 4 3>; + status = "disabled"; + + }; + + sata3: sata at 3230000 { + compatible = "fsl,ls2080a-ahci"; + reg = <0x0 0x3230000 0x0 0x10000>; + interrupts = <0 100 4>; + clocks = <&clockgen 4 3>; + status = "disabled"; + + }; + };
Signature · 1 line
1.7.1
PATCH 2/2 arm64: lx2160ardb: enable DM support for sata
Enable related configs to support sata DM feature.
---
Depends on:
- https://patchwork.ozlabs.org/project/uboot/list/?series=78759
configs/lx2160ardb_tfa_defconfig | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
configs/lx2160ardb_tfa_defconfig +3 -0
@@ -81,3 +81,6 @@ CONFIG_PHY_INPHI=y CONFIG_INPHI_25G=y CONFIG_HUSH_PARSER=y CONFIG_EMC2305=y +CONFIG_DM_SCSI=y +CONFIG_SATA_CEVA=y +CONFIG_AHCI=y
Signature · 1 line
1.7.1
PATCH 1/2 armv8: dts: fsl-lx2160a: add sata node support
In reply to Peng MaQuoted 11 lines
-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Peng Ma
Sent: Friday, November 30, 2018 9:15 AM
To: York Sun <[email protected]>
Cc: Xiaowei Bao <[email protected]>; Priyanka Jain <[email protected]>; Z.q. Hou <[email protected]>; Peng Ma <[email protected]>; u-boot at lists.denx.de; Rajat Srivastava <[email protected]>; Yinbo Zhu <[email protected]>
Subject: [U-Boot] [v1 1/2] armv8: dts: fsl-lx2160a: add sata node support
Quoted 8 lines
One lx2160A, there is one SATA 3.0 advanced host controller interface which is a high-performance SATA solution that delivers comprehensive and fully- compliant generation 3 (1.5 Gb/s - 6.0 Gb/s) serial ATA capabilities, in accordance with the serial ATA revision 3.0 of Serial ATA International Organization.
Signed-off-by Peng Ma <[email protected]>---
Squashed with lx2rdb board and applied to fsl-qoriq master, awaiting upstream.
--pk