Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2265951imu; Sat, 12 Jan 2019 20:51:52 -0800 (PST) X-Google-Smtp-Source: ALg8bN4h5nNOagYwLD9jxjoWJ4K7114Gt5yy1XZjQ2z7P7POvpe9TmIUqNuxtSs789gYaz8D4kH6 X-Received: by 2002:a17:902:584:: with SMTP id f4mr21441834plf.28.1547355112069; Sat, 12 Jan 2019 20:51:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547355112; cv=none; d=google.com; s=arc-20160816; b=woEBX6t0gS4/iwhhtgveDA9O8cYsb0Waanx0jAXr2Zwrmv+BKLQXqekYBwuZg8huaq 3UsYNaUrG7FtBrsnNwfwxol8Vl89/u1HrM7CPgUpkdtXz9oJ/olETXWQI7nEUYtzYnMo 3lzfCfNaOjAg6IDhiN1nVh6b1aqYpBQdveCmzerXbbh5ETrmuxp2IkkyI8IV0ec/47hN OhgeCLnTd8x7jLNOmi7iBdw/3EQJmLloiJBxxl/LK4CTu49McyzzIua32If751/aKDoR U9AvO6CLgpiGPFNQXcJPFfVLGa0PvHt07R915jGkIhj4UXfQak5k109M2//3tql+Xt1f 4oww== 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=I7NgoaccXhwvTOzEoewsirQ3E0C1XO0Z92F162gql7k=; b=0jL8RRBE7k0iBjpMEqAzawD6ki8HJvPYv8rm9m02uDsAcTXVZOMGBPEVLdjy+jlMDV dGmWdl401ID0F3Hs/SqlVYoVOF2Dct7nGuZiYOD1XpNMCHNYJ4SxgxcZjkmZluXTjnFI pN1HwLb/k0ATilSjVWrw/p+5SPMN5mchYaxc6R7YRBeB484QxGk0ybXxTwnseVxMw+hK 7Pxgfxp0ejGxzJp2SNkYRV2w4DsShmcv76Owp3fFkKp2UZzAc9Nwh6j6I6FDzCXl46An 0qbSX0Ly1Cmoiksqp2KYQaj5ocFW+G2inXk1NnBxfSoPKJhyfEsmdMBdYBtA/sWRLsSf 3UuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rkCStBCE; 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 j2si7698247plt.93.2019.01.12.20.51.36; Sat, 12 Jan 2019 20:51:52 -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=rkCStBCE; 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 S1726773AbfAMEGJ (ORCPT + 99 others); Sat, 12 Jan 2019 23:06:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:47800 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726553AbfAMEGI (ORCPT ); Sat, 12 Jan 2019 23:06:08 -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 802FC20873; Sun, 13 Jan 2019 04:06:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547352367; bh=dsJe1XXJhq958ofnQRjjdYqdlEq6x6Dirqju9W9Q8nQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rkCStBCEyS7sBlhxUghX7HpKe/Mforwc4zkmishZKi1Mr2Gg8wm6GR9IFGEgCrs/s g5hyEMHE6UKLlYDI6gz6HN1CD2dNmmm9n/9LXCnNHF8hpK59VDu4gdpLchA395U2MO 2xW0O5ZT2lQpPLUDet9OMxz9OuPpgbPJAcF09lUg= Date: Sun, 13 Jan 2019 12:05:48 +0800 From: Shawn Guo To: Peng Ma Cc: axboe@kernel.dk, 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 Subject: Re: [PATCH 2/2] arm64: dts: lx2160a: add sata node support Message-ID: <20190113040546.GL11426@dragon> References: <20190110100533.33333-1-peng.ma@nxp.com> <20190110100533.33333-2-peng.ma@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190110100533.33333-2-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 10, 2019 at 06:05:33PM +0800, Peng Ma wrote: > 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"; We usually have 'status' at the end of property list. Shawn > + 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 >