Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7002393imu; Mon, 21 Jan 2019 21:37:49 -0800 (PST) X-Google-Smtp-Source: ALg8bN7U3/ezdvH8nBpfhG3ZKgPvgH3TSKArdYn1qPAuP9A8havI9VE7C2BYPE3FAwo99bxAZsYC X-Received: by 2002:a17:902:c05:: with SMTP id 5mr33078278pls.155.1548135469876; Mon, 21 Jan 2019 21:37:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548135469; cv=none; d=google.com; s=arc-20160816; b=bZIOJyUQGMpuK2arjyG85KF0tqgwmw4BnhBwWqwko+dzJl+4cJ+tbhw9r8X8MM6asQ ZmfVzn5x29njs/E/IbzMmWk4Qv0hji6pKQgfHyYG/dmcTIosm4mgzGok6p5xCqJLhkTX LRO+qiDtjFmcaSmg947JhDA26KjSUTdK6zN7PlfkYT4g6isDorVoTADIAq8RPTh8Ak8a zpyaoF0oWX407L5aHnpv4GabHxbcuxknpGZ7Cx41DeMqtHW7ji2BlYBthP6nUSRJQmJW 8y9U1mGjcrsDTPH3EKW4tyazbBOq3lSEvwYy/GjZ5e/gfMVOi6GgRu9jM+7YYGS7mt+c GBCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=o8e94PMuDFB/TEClJEYLnVdWkiIEgclD0udbDa2t8iA=; b=BWlqPQ3u9zo1h6HMx5+WXfEiKAEJUIOIQhw1lKehbqmV/Gmt+GSk060iXpiowpOBTF bPiI2viJWGEilfACs3sr3e7YPq275Z+20HFR7vyKTv6JI+W6sTgY9mTEXxVU+wWZ4knj GPC6QXNVqOmFAVnPuEccfadbnzNQACWCdLLde5h4SDgcToEfxld6fOB9nE5B3IN4JK6q OCmc5hU3iL57Ad3i3EdzRsYR5r9Dq9FC8ucew9n7ufLkewhz22VTYuY62XzgX+Iz3yMe QB14C5VCG60pGW5LuGQgx1VJG9PstLdOCIcQzDlSmrFZCU4cL9Jo/0fwOE4BwoesH4dm ywiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xlP5+WWq; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si14718021plk.296.2019.01.21.21.37.34; Mon, 21 Jan 2019 21:37:49 -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; dkim=pass header.i=@kernel.org header.s=default header.b=xlP5+WWq; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726127AbfAVFgb (ORCPT + 99 others); Tue, 22 Jan 2019 00:36:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:40390 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbfAVFgb (ORCPT ); Tue, 22 Jan 2019 00:36:31 -0500 Received: from dragon (61-216-91-114.HINET-IP.hinet.net [61.216.91.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1CED420861; Tue, 22 Jan 2019 05:36:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548135390; bh=dAAkPQ3gOmuzStx+LnylDQEjHYPNOTVeO1hQ2mmNb9s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xlP5+WWq3fS1UuaX2gpR7FBrvXSOY6TkRKIlHMzE6cV23VAz4amFfgLHALd6EEg2v wCzj03ag08TdsYdgyX1d41l9Y9IrLMS9tETBNzKM+OBD91qdPVHVkJSVO3AoVFa3Eu xuHpXwNnboYB1BEs7AJXS/OB/MZFqQe2GlJDtU4I= Date: Tue, 22 Jan 2019 13:35:53 +0800 From: Shawn Guo To: Peng Ma 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, andy.tang@nxp.com Subject: Re: [v3] arm64: dts: lx2160a: add sata node support Message-ID: <20190122053552.GF19233@dragon> References: <20190117021224.19021-1-peng.ma@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190117021224.19021-1-peng.ma@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 17, 2019 at 02:12:24AM +0000, Peng Ma wrote: > Add SATA device nodes for fsl-lx2160a and enable support > for QDS and RDB boards. > > Signed-off-by: Peng Ma > --- > changed for V3: > - updated the commit log > > 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"; I can not find this compatible in any bindings doc. Shawn > + 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 >