Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3388206imu; Mon, 14 Jan 2019 02:02:10 -0800 (PST) X-Google-Smtp-Source: ALg8bN5oQOudEVZ9cSktf7LixbilM/QhrXHl2YKckp+8ITFjdwt2pciF05NQWOg/z2iw2WKHPrDE X-Received: by 2002:a17:902:24a2:: with SMTP id w31mr24182352pla.216.1547460130335; Mon, 14 Jan 2019 02:02:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547460130; cv=none; d=google.com; s=arc-20160816; b=VQuRypcDJ7+R7oySRFN3RhOPEQZag9Z8JgzkCHViXUlCighFMLBUccyFSdPMyrzSPt qC08G7fTVAV5kObUXsUKkHGY/f2sjCEraOIisBsywTVkDJicMAnPY56XvLhcmwyL1MNx hRXw6ct3jJH2fKnAbLhb1dOLUQhQh4qqh/aZxwC5l9BHELv59km5cbh0RLIUQQLh3no5 yA01a6kIbj88HIhKyrwHTu7IJFl3IBaY+FvEYbaxpbwCArA2AhvegU4YoFkx3N/LKnHd SUcEwUGnrUkXvJk2e1jJ3wQFoD6aB4EEErlGFMcNeSTnIo4ACgr1xEWVZZ7eyIO9ww+y ArDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=TKDcZ5iSuXokTA4fnli/1W1idO50/UtuuI34BcUGaGE=; b=QCXb4ppmAzFUyWHpfClfPmb2GrxWm0kUpC+iARaYEUzXFMfiqiD5twDpyB9+jifNfn K9kTWz6tug81f4mJfnVPQh+W00WbTeinGRO/ke58S+aWygoQ9ro7ya0XKQBJvJT+QmAz +LJmS8YPG3NDgAuAInKsW8dM79PJ6X4vY3rIkLaHHBFECfkn8KhAx+GDRoJhXd3rz6dF ieXGxmaxck6RxDZrOrbSYDE0U9R4vFrp9F2O6DvipauZhXR0LHF3hq2cZAdGGdDxFWXQ bqvKE2v0dNHN9Tt+CGjMyiZ5KXBU04D5b6Sl2ceVKjEM02/rzyKExv0GO+MDY1MQzyis QJKA== 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 k7si9127pgm.462.2019.01.14.02.01.54; Mon, 14 Jan 2019 02:02:10 -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 S1727023AbfANKAY (ORCPT + 99 others); Mon, 14 Jan 2019 05:00:24 -0500 Received: from inva021.nxp.com ([92.121.34.21]:45002 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726306AbfANKAX (ORCPT ); Mon, 14 Jan 2019 05:00:23 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 4F762200318; Mon, 14 Jan 2019 11:00:21 +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 68C32200327; Mon, 14 Jan 2019 11:00:17 +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 960F1402BE; Mon, 14 Jan 2019 18:00:12 +0800 (SGT) From: Peng Ma To: shawnguo@kernel.org 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, Peng Ma Subject: [v2] arm64: dts: lx2160a: add sata node support Date: Mon, 14 Jan 2019 09:55:00 +0000 Message-Id: <20190114095500.1600-1-peng.ma@nxp.com> X-Mailer: git-send-email 2.14.1 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 --- changed for V2: - put the 'status' at the end of property list - add lx2160aqds sata support 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..0289955 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts @@ -110,3 +110,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-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..4390aea 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 { + 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"; + }; }; }; -- 1.7.1