From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baruch Siach Subject: Re: [PATCH 4/5] arm64: dts: marvell: armada-8040-clearfog: Drop non-existent SATA port Date: Sun, 24 Feb 2019 07:29:09 +0200 Message-ID: <87tvgt7o0q.fsf@tarshish> References: <20190222145356.23072-1-miquel.raynal@bootlin.com> <20190222145356.23072-5-miquel.raynal@bootlin.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-reply-to: <20190222145356.23072-5-miquel.raynal@bootlin.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Miquel Raynal Cc: Mark Rutland , Andrew Lunn , Jason Cooper , devicetree@vger.kernel.org, Marc Zyngier , Gregory Clement , Maxime Chevallier , Nadav Haklai , Hans de Goede , Rob Herring , Antoine Tenart , Jens Axboe , Thomas Petazzoni , linux-ide@vger.kernel.org, Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth List-Id: devicetree@vger.kernel.org Hi Miquel, On Fri, Feb 22 2019, Miquel Raynal wrote: > There is no CP110 SATA port available on the 8040 Clearfog A8k, SATA > may be used thanks to a mPCIe -> SATA extension board only. Hence, the > cp1_sata0 node must be removed from the device tree. Not true. You can use the mini PCIe serdes as SATA directly if you configure it as such. You only need to invert the serdes Rx pair polarity. This is the default configuration for the Clearfog GT-8K CON3 mini-PCIe slot (CP1, lane #0) in current mainline U-Boot. I verified that this setup works on Clearfog GT-8K. This patch would break mini PCIe direct SATA. baruch > > Signed-off-by: Miquel Raynal > --- > arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts > index 5b4a9609e31f..caabbd3a85a8 100644 > --- a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts > +++ b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts > @@ -333,11 +333,6 @@ > }; > }; > > -&cp1_sata0 { > - pinctrl-0 = <&cp0_pci1_reset_pins>; > - status = "okay"; > -}; > - > &cp1_mdio { > pinctrl-names = "default"; > pinctrl-0 = <&cp1_ge_mdio_pins>; -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -