Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp192160imu; Fri, 25 Jan 2019 00:16:14 -0800 (PST) X-Google-Smtp-Source: ALg8bN7ek3irTGoc3AcOdnH4lYltlc+cmwShyHNmn/TnO5NQU0y8keWNb03aOhDVfLFoIBhWrC1m X-Received: by 2002:a63:ba4d:: with SMTP id l13mr9028655pgu.194.1548404174771; Fri, 25 Jan 2019 00:16:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548404174; cv=none; d=google.com; s=arc-20160816; b=CNpb4b2VUU09xhNs9FwEPbHOjJK2+LY7Hx87U6/38WVs3z3JuRDMgyjwz48ZPHquyH haSycy1S73TLiM99ssKzsuyRL+BW3C2wcywymNgwiF4eeyuOMun+AxWKC14VgZD1JwfN agRsS17eYJDZRgcdPk/vQIR9NEvCSEwLu9FhQAgQpVV2hxkr43UVsyKFQZ88NtpM2vIw ssVF2tVS55sFc0pZYTFmrofXaAQWmmgbTMuw73B5WfwKkBy0YKzw3Np+2zCZq85KtiqN P5L46WfZla00Ioh+X1BEAI6xa29ZwwFrJkI5stP6G2WRr9LgNFeqA53a9aouBwqODkgf VD4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=mqkRxAdsDEj8tG7WItZqZt9cXgDE0UoCznxabmmB9o0=; b=h63pQCNnsK5oNyZPvt/sWNgsBD78JZpcK7IjU0/TvFif4w2PntKRTT+5QnzfXZRl3a ASgC/WQjm3vP+gITDcdQEiEuMkp1SBghMQ0e3VgUrxsTEqidcL9uPOtQ7/nIOzH2M5MI iXnWSOEd6rRNxfuNqCgYnuE96c6eL3HMhb+CepnF54GIaob47sSpDVwCAT8fu/IhejNW OOmAV7N137bSF1gmQYKcKMF4g4Di/zhqzYFBrD5vKKrdpSAu1+3aYRJBIf2yJxOLGkEc DkCZimOu1N+ZoriYBjgl5RvzxcwYDVD04o4H6k4eNszxCZjbd+cWCe/s8Qgfwn8xNtg5 yISQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si20905204pga.556.2019.01.25.00.15.58; Fri, 25 Jan 2019 00:16:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728517AbfAYIPy (ORCPT + 99 others); Fri, 25 Jan 2019 03:15:54 -0500 Received: from inva021.nxp.com ([92.121.34.21]:46678 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726200AbfAYIPx (ORCPT ); Fri, 25 Jan 2019 03:15:53 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id B1653200042; Fri, 25 Jan 2019 09:15:50 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 96CF2200006; Fri, 25 Jan 2019 09:15:45 +0100 (CET) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 19BCD402D9; Fri, 25 Jan 2019 16:15:39 +0800 (SGT) From: Peng Ma To: axboe@kernel.dk, shawnguo@kernel.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, leoyang.li@nxp.com, linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, andy.tang@nxp.com, Peng Ma Subject: [v5 2/2] arm64: dts: lx2160a: add sata node support Date: Fri, 25 Jan 2019 08:10:13 +0000 Message-Id: <20190125081013.21663-2-peng.ma@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20190125081013.21663-1-peng.ma@nxp.com> References: <20190125081013.21663-1-peng.ma@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add SATA device nodes for fsl-lx2160a and enable support for QDS and RDB boards. Signed-off-by: Peng Ma --- changed for V5: - no change arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 16 +++++++ arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 16 +++++++ arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 44 +++++++++++++++++++++ 3 files changed, 76 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts index 99a22ab..1a5acf6 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts @@ -95,6 +95,22 @@ }; }; +&sata0 { + status = "okay"; +}; + +&sata1 { + status = "okay"; +}; + +&sata2 { + status = "okay"; +}; + +&sata3 { + status = "okay"; +}; + &uart0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts index 6481e5f..5b6799e 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts @@ -102,6 +102,22 @@ }; }; +&sata0 { + status = "okay"; +}; + +&sata1 { + status = "okay"; +}; + +&sata2 { + status = "okay"; +}; + +&sata3 { + status = "okay"; +}; + &uart0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi index a79f5c1..592034b 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi @@ -671,6 +671,50 @@ status = "disabled"; }; + sata0: sata@3200000 { + compatible = "fsl,lx2160a-ahci"; + reg = <0x0 0x3200000 0x0 0x10000>, + <0x7 0x100520 0x0 0x4>; + reg-names = "ahci", "sata-ecc"; + interrupts = ; + clocks = <&clockgen 4 3>; + dma-coherent; + status = "disabled"; + }; + + sata1: sata@3210000 { + compatible = "fsl,lx2160a-ahci"; + reg = <0x0 0x3210000 0x0 0x10000>, + <0x7 0x100520 0x0 0x4>; + reg-names = "ahci", "sata-ecc"; + interrupts = ; + clocks = <&clockgen 4 3>; + dma-coherent; + status = "disabled"; + }; + + sata2: sata@3220000 { + compatible = "fsl,lx2160a-ahci"; + reg = <0x0 0x3220000 0x0 0x10000>, + <0x7 0x100520 0x0 0x4>; + reg-names = "ahci", "sata-ecc"; + interrupts = ; + clocks = <&clockgen 4 3>; + dma-coherent; + status = "disabled"; + }; + + sata3: sata@3230000 { + compatible = "fsl,lx2160a-ahci"; + reg = <0x0 0x3230000 0x0 0x10000>, + <0x7 0x100520 0x0 0x4>; + reg-names = "ahci", "sata-ecc"; + interrupts = ; + clocks = <&clockgen 4 3>; + dma-coherent; + status = "disabled"; + }; + smmu: iommu@5000000 { compatible = "arm,mmu-500"; reg = <0 0x5000000 0 0x800000>; -- 1.7.1