Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1776268imu; Thu, 10 Jan 2019 02:52:53 -0800 (PST) X-Google-Smtp-Source: ALg8bN6GJN7hgt86ovq/24LJXANgB5qiH3I5g1hnudatmzbbC82uB1BGuerTASVjnlpAa1GhzroN X-Received: by 2002:a62:dbc2:: with SMTP id f185mr9623096pfg.235.1547117573790; Thu, 10 Jan 2019 02:52:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547117573; cv=none; d=google.com; s=arc-20160816; b=SO6RUREEv1GzvAzNLAIqi0lliIaQylv6MCCnrlFMiJt9644C5WFi91YppvJ5bkIx7/ r75d0Ks7UG9piplpGww4jvg3eqpqONrCwNP/e8wRdPRTCHyltCpZ/QsqlZB7AQc+iN3c DfMom+xZDisZPTDVgUckkKUN7BPg47VMDIWUSoXe53grpZhd5XbUol7B66507XnHkuhi oNgy1uWEZtqLnHAo+n6s7c0iFwzLrHBxQQRZoJj7CbNjLQy88RTZ4Sts8BhgfYuqV6Ej DSaEZtDuMo9LtspBLscF96mfc+Weu/juSBwxnkbXDomPhDFzPA/iDvqe39dNZ4LYdMUD VFmg== 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=z0PlO5KRIn8pS+BYQ/unvjIY8Wb0L31O2HO6yFUc13U=; b=frMhRLUXu7A/tIOPuaRs/c6WLqpaLVTjLGF9NPsM7d8MuuFGhVBST1FHol3OWKJ89J TcnQWrhqqMlc1vvfy6Eo99dvhZrXXggvlP8aZ+h9Yfg/cxDbQYROGZLaWoAVPmifiC1b sRp7mcPfCOZOPQKs/8jP9aIlJfV8//7TOB0zXP8OCTwXFUFV3rULiOemXLKYWC+GiSRl ZdXUSbcerLH4Detdg8PBByu9HRWeIWhP7C1daGzBUVTlcsLTkBAxD9wZ0fR/9aOGSxI2 LJehoxUPWUmonmjz2G+wbLCJzl6pW5F++4b04MoHACZdrz+9f749i6U4YgXa3RP8Xov1 LPcQ== 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 p5si72245181pfb.188.2019.01.10.02.52.38; Thu, 10 Jan 2019 02:52:53 -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 S1728140AbfAJKLD (ORCPT + 99 others); Thu, 10 Jan 2019 05:11:03 -0500 Received: from inva021.nxp.com ([92.121.34.21]:50090 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727874AbfAJKK6 (ORCPT ); Thu, 10 Jan 2019 05:10:58 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E96502000B9; Thu, 10 Jan 2019 11:10:55 +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 3C4DB200059; Thu, 10 Jan 2019 11:10:51 +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 2569D402C8; Thu, 10 Jan 2019 18:10:45 +0800 (SGT) From: Peng Ma To: shawnguo@kernel.org, axboe@kernel.dk Cc: leoyang.li@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, Peng Ma Subject: [PATCH 2/2] arm64: dts: lx2160a: add sata node support Date: Thu, 10 Jan 2019 18:05:33 +0800 Message-Id: <20190110100533.33333-2-peng.ma@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20190110100533.33333-1-peng.ma@nxp.com> References: <20190110100533.33333-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 node support and Enable sata support Signed-off-by: Peng Ma --- arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 16 +++++++ arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 44 +++++++++++++++++++++ 2 files changed, 60 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts index 6481e5f..aacca27 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts @@ -117,3 +117,19 @@ &usb1 { status = "okay"; }; + +&sata0 { + status = "okay"; +}; + +&sata1 { + status = "okay"; +}; + +&sata2 { + status = "okay"; +}; + +&sata3 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi index a79f5c1..e857a14 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi @@ -762,5 +762,49 @@ ; dma-coherent; }; + + sata0: sata@3200000 { + status = "disabled"; + 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; + }; + + sata1: sata@3210000 { + status = "disabled"; + 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; + }; + + sata2: sata@3220000 { + status = "disabled"; + 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; + }; + + sata3: sata@3230000 { + status = "disabled"; + 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; + }; }; }; -- 1.7.1