Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3D536C77B75 for ; Wed, 12 Apr 2023 07:42:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7454885FA4; Wed, 12 Apr 2023 09:41:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=traverse.com.au Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=traverse.com.au header.i=@traverse.com.au header.b="qVDNtF0m"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="Ud+6eGoD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BEB6B85F55; Wed, 12 Apr 2023 09:40:28 +0200 (CEST) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4284885F70 for ; Wed, 12 Apr 2023 09:40:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=traverse.com.au Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=matt@traverse.com.au Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 3625032008FE; Wed, 12 Apr 2023 03:40:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 12 Apr 2023 03:40:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=traverse.com.au; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1681285205; x= 1681371605; bh=MQmZse+iIIvsMMkuzsiSs20ESeXtUDVpvE495TNTJR4=; b=q VDNtF0m9NBTlJ+t95p2JSANEYQymMItgcYwDrae6SvSfTk1pIbeI+RvyYi351+Z6 kzEl2bqQ2avZdIhu1xc6g/P+H9oqYxAT8DKMgAVNF7cxiKKQnVvg9M+HZ+gMkxx3 azjY91CG4iXTpw4eZ3emQ7HlGfO2K9o3H3HEgF37S9CRxods1BnTu09P0bKfqV6y FDv4ti2Lj0XOgQ9GyYFujnsa4LiJ+2LE9fQWPQ/MESTx41de5IfIYJZICycJayyP luYQ7gGLXH7VIkQMq0zOCOikwf43pPqpKRrKGJ5s3wVa1tp44jlQUQVxNZGTvy80 TQM8tdYJeLcfLfiUP2IOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1681285205; x= 1681371605; bh=MQmZse+iIIvsMMkuzsiSs20ESeXtUDVpvE495TNTJR4=; b=U d+6eGoD3+gfT82pnjw5sHEtlXW+IkYTr0WrW9DVo2w5oEve89LxbUilr1xg0yX7t Myi0v5ru176ttTpdRZcV03dHljClTyFPe9qcwEb7DGSApdRipZE13hERIHgHxBMa w9Pyrz6+HrLgB1sWt+5CL82g9a8NYfVchijRxpQnD3Odu6McKRtjraiCHApYp9fz N+gMX9Hz90Z2slTcvqXqh8FMmWfyRMfymRZNQdUAwGSW+MD4jAzLjGnEQQz5+A+m XZzrjFu8UAyVOcdGkLfwVnpKjrqc/3HA5A/oYa+RdDWRombLsPxgi/MWwB7CHu+7 sDe0pw59uQlBnPZvanIhg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdekhedguddvfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeforght hhgvficuofgtuehrihguvgcuoehmrghtthesthhrrghvvghrshgvrdgtohhmrdgruheqne cuggftrfgrthhtvghrnhepieeifeehieeiueeludefgfdtveefjeffteegvdevudffffel heejtdejgeelleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepmhgrthhtsehtrhgrvhgvrhhsvgdrtghomhdrrghu X-ME-Proxy: Feedback-ID: i426947f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 12 Apr 2023 03:40:03 -0400 (EDT) From: Mathew McBride To: u-boot@lists.denx.de, Ioana Ciornei , Peng Fan , Gaurav Jain Cc: Mathew McBride Subject: [PATCH 08/18] arm: dts: fsl-ls1088a: match Linux FDT by disabling PCIe by default Date: Wed, 12 Apr 2023 07:38:20 +0000 Message-Id: <20230412073830.13928-9-matt@traverse.com.au> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20230412073830.13928-1-matt@traverse.com.au> References: <20230412073830.13928-1-matt@traverse.com.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean The Linux kernel fsl-ls1088a.dtsi disables (status="disabled") all PCIe controllers by default, with the bootloader (i.e U-Boot) enabling the appropriate controllers (specified by the board reset control word/RCW) by FDT fixup. However, U-Boot needs these controllers to be enabled to be usable, which we can add in the u-boot only dtsi. Signed-off-by: Mathew McBride --- arch/arm/dts/fsl-ls1088a-u-boot.dtsi | 13 +++++++++++++ arch/arm/dts/fsl-ls1088a.dtsi | 3 +++ 2 files changed, 16 insertions(+) diff --git a/arch/arm/dts/fsl-ls1088a-u-boot.dtsi b/arch/arm/dts/fsl-ls1088a-u-boot.dtsi index 3eb45d47cd..ac30b813ff 100644 --- a/arch/arm/dts/fsl-ls1088a-u-boot.dtsi +++ b/arch/arm/dts/fsl-ls1088a-u-boot.dtsi @@ -16,3 +16,16 @@ &duart1 { bootph-all; }; + +&pcie1 { + status = "okay"; +}; + +&pcie2 { + status = "okay"; +}; + +&pcie3 { + status = "okay"; +}; + diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch/arm/dts/fsl-ls1088a.dtsi index 71d652c818..85316ddb66 100644 --- a/arch/arm/dts/fsl-ls1088a.dtsi +++ b/arch/arm/dts/fsl-ls1088a.dtsi @@ -104,6 +104,7 @@ <0000 0 0 3 &gic 0 0 0 111 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 4 &gic 0 0 0 112 IRQ_TYPE_LEVEL_HIGH>; iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */ + status = "disabled"; }; pcie_ep1: pcie-ep@3400000 { @@ -140,6 +141,7 @@ <0000 0 0 3 &gic 0 0 0 116 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 4 &gic 0 0 0 117 IRQ_TYPE_LEVEL_HIGH>; iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */ + status = "disabled"; }; pcie_ep2: pcie-ep@3500000 { @@ -175,6 +177,7 @@ <0000 0 0 3 &gic 0 0 0 121 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 4 &gic 0 0 0 122 IRQ_TYPE_LEVEL_HIGH>; iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */ + status = "disabled"; }; pcie_ep3: pcie-ep@3600000 { -- 2.30.1