Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97A9EC11F6D for ; Fri, 2 Jul 2021 11:20:22 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id A5591613F4 for ; Fri, 2 Jul 2021 11:20:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A5591613F4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E7B6C80488; Fri, 2 Jul 2021 13:20:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de 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" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="tX9uNTeT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C81C581668; Fri, 2 Jul 2021 13:19:57 +0200 (CEST) Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 31B8B81D1F for ; Fri, 2 Jul 2021 13:19:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=t.remmet@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1625224789; x=1627816789; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=GCfQQExa/X+N1a++xdunEWKuvpctcgbwULFRrJzKBrM=; b=tX9uNTeTgL5DzxMdT6TxKL+SQMgwLpFL9feLJycFq01A2xf7THSN236dMEJC8nTR xzWKfw2cV2qdJWVvIKMXDCd9773MGAnoAZ1U7PiBp+73HUV+J0ZQ8HmB1V/zD5Ll /PUwDVqTVCkNwynS7o9icOY4TQ2NAjq5yeqskCuU8tA=; X-AuditID: c39127d2-a77bc70000001c5e-88-60def6552771 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 54.B1.07262.556FED06; Fri, 2 Jul 2021 13:19:49 +0200 (CEST) Received: from augenblix3.phytec.de ([172.16.0.233]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021070213194872-1081542 ; Fri, 2 Jul 2021 13:19:48 +0200 From: Teresa Remmet To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Jagan Teki , Heiko Schocher Subject: [PATCH v2 2/9] arm: dts: imx8mp: Add common u-boot dtsi Date: Fri, 2 Jul 2021 11:19:41 +0000 Message-Id: <20210702111948.2197868-3-t.remmet@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210702111948.2197868-1-t.remmet@phytec.de> References: <20210702111948.2197868-1-t.remmet@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 02.07.2021 13:19:48, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 02.07.2021 13:19:49 X-TNEFEvaluated: 1 Content-Transfer-Encoding: quoted-printable X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrALMWRmVeSWpSXmKPExsWyRoCBSzf0270Eg889HBYPr/pb7Lhzn9ni y6YJbBY/Vn1htWg/5WPxdm8nu8WUx+vZHdg91n68z+oxb9YJFo+ds+6ye5y9s4PRY+O7HUwB rFFcNimpOZllqUX6dglcGbsezGEr2CNRceTqcuYGxlfCXYycHBICJhIz321g7GLk4hAS2MYo cWPGZCYI5wKjxJYtrxhBqtgENCSerjjNBGKLCEhI/Oq/CtbBLHCdUWLy+hNgCWEBB4l9h94w g9gsAipAzc/BmnkFLCUONTxlh1gnLzHz0ncwm1PASqKzdSUbiC0EVPPrZzMbRL2gxMmZT1hA FkgIXGGUeHxuAQtEs5DE6cVnwRYwC2hLLFv4mnkCo8AsJD2zkKQWMDKtYhTKzUzOTi3KzNYr yKgsSU3WS0ndxAgM5cMT1S/tYOyb43GIkYmD8RCjBAezkghv6Lx7CUK8KYmVValF+fFFpTmp xYcYpTlYlMR5N/CWhAkJpCeWpGanphakFsFkmTg4pRoYl3ivXrZU6H3K7/9VZ919fb1+JO5/ kGwn2yvk3jPd6elH7itqQer+b2/dulMtmVfUFyCvXVQ032hXbG3/67NTDut83h7Nu+iBVd/d Ox+Kjy37M/koz5en0sxpHnIPojw2XOeaduTGmZfch9ZbzHyoUPS5R4clt/An/zNuHl6NuR8l dxi7Tpz9XImlOCPRUIu5qDgRAHWAH65TAgAA X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean Factor out the common node settings for dm-spl and dm-pre-reloc and move them to imx8mp-u-boot.dtsi Signed-off-by: Teresa Remmet --- arch/arm/dts/imx8mp-evk-u-boot.dtsi | 39 +---------------- .../imx8mp-phyboard-pollux-rdk-u-boot.dtsi | 39 +---------------- arch/arm/dts/imx8mp-u-boot.dtsi | 42 +++++++++++++++++++ 3 files changed, 46 insertions(+), 74 deletions(-) create mode 100644 arch/arm/dts/imx8mp-u-boot.dtsi diff --git a/arch/arm/dts/imx8mp-evk-u-boot.dtsi b/arch/arm/dts/imx8mp-evk-= u-boot.dtsi index 4162f41cffb6..cf10194fe4ab 100644 --- a/arch/arm/dts/imx8mp-evk-u-boot.dtsi +++ b/arch/arm/dts/imx8mp-evk-u-boot.dtsi @@ -3,6 +3,8 @@ * Copyright 2019 NXP */ =20 +#include "imx8mp-u-boot.dtsi" + / { binman: binman { multiple-images; @@ -21,43 +23,6 @@ }; }; =20 -&{/soc@0} { - u-boot,dm-pre-reloc; - u-boot,dm-spl; -}; - -&clk { - u-boot,dm-spl; - u-boot,dm-pre-reloc; -}; - -&osc=5F32k { - u-boot,dm-spl; - u-boot,dm-pre-reloc; -}; - -&osc=5F24m { - u-boot,dm-spl; - u-boot,dm-pre-reloc; -}; - -&aips1 { - u-boot,dm-spl; - u-boot,dm-pre-reloc; -}; - -&aips2 { - u-boot,dm-spl; -}; - -&aips3 { - u-boot,dm-spl; -}; - -&iomuxc { - u-boot,dm-spl; -}; - ®=5Fusdhc2=5Fvmmc { u-boot,off-on-delay-us =3D <20000>; }; diff --git a/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi b/arch/arm= /dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi index 20e7f63ff91f..6c1528934a98 100644 --- a/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi +++ b/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi @@ -4,6 +4,8 @@ * Author: Teresa Remmet */ =20 +#include "imx8mp-u-boot.dtsi" + / { wdt-reboot { compatible =3D "wdt-reboot"; @@ -12,43 +14,6 @@ }; }; =20 -&{/soc@0} { - u-boot,dm-pre-reloc; - u-boot,dm-spl; -}; - -&clk { - u-boot,dm-spl; - u-boot,dm-pre-reloc; -}; - -&osc=5F32k { - u-boot,dm-spl; - u-boot,dm-pre-reloc; -}; - -&osc=5F24m { - u-boot,dm-spl; - u-boot,dm-pre-reloc; -}; - -&aips1 { - u-boot,dm-spl; - u-boot,dm-pre-reloc; -}; - -&aips2 { - u-boot,dm-spl; -}; - -&aips3 { - u-boot,dm-spl; -}; - -&iomuxc { - u-boot,dm-spl; -}; - ®=5Fusdhc2=5Fvmmc { u-boot,dm-spl; }; diff --git a/arch/arm/dts/imx8mp-u-boot.dtsi b/arch/arm/dts/imx8mp-u-boot.d= tsi new file mode 100644 index 000000000000..92f586f6dfed --- /dev/null +++ b/arch/arm/dts/imx8mp-u-boot.dtsi @@ -0,0 +1,42 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2021 PHYTEC Messtechnik GmbH + * Author: Teresa Remmet + */ + +&{/soc@0} { + u-boot,dm-pre-reloc; + u-boot,dm-spl; +}; + +&clk { + u-boot,dm-spl; + u-boot,dm-pre-reloc; +}; + +&osc=5F32k { + u-boot,dm-spl; + u-boot,dm-pre-reloc; +}; + +&osc=5F24m { + u-boot,dm-spl; + u-boot,dm-pre-reloc; +}; + +&aips1 { + u-boot,dm-spl; + u-boot,dm-pre-reloc; +}; + +&aips2 { + u-boot,dm-spl; +}; + +&aips3 { + u-boot,dm-spl; +}; + +&iomuxc { + u-boot,dm-spl; +}; --=20 2.25.1