From mboxrd@z Thu Jan 1 00:00:00 1970 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 9DA24C19F28 for ; Wed, 3 Aug 2022 11:02:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 879AA8455E; Wed, 3 Aug 2022 13:01:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="EZ/xNn7i"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AD21F8452F; Wed, 3 Aug 2022 13:01:36 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (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 ADF4F841B4 for ; Wed, 3 Aug 2022 13:01:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BA5FCB82227; Wed, 3 Aug 2022 11:01:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4423AC43470; Wed, 3 Aug 2022 11:01:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659524487; bh=k7aSieqoTD8AiW/jQ0NLcWK3C4rHYJGegAMu/b4BfdU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EZ/xNn7ik6sSyAfPKSG29s7AjnxtXDwiJHZwd3eqaPDNzYjkkpt+Y11DEtdVKqXZU SVzjcZe1ZEjpxBPf4/s3mV7g/LS9ya2RLrjytME4/6bUqUUZrjEl0BmMnzIj0YJ7dg 5AwiE0rSHoofZ2ybR/A7gT/DIMfZRPw8l2VXld9IJDnMel1wTpLgdPOkXj7YS80acX IG2BWGYBu5jH8v07cpi7SLrQTJW+rwDp7WrKb2dUTMivHfHJWfZaA0EuCHjyZiGaZw RDn0TIh+rIxhW6zUM6fEzR/a0h4euVDaZaIhGznGExO8m+yLHtYlDsutgkPtoctVrU 6CVLEX94P0fvQ== Received: by pali.im (Postfix) id A626183A; Wed, 3 Aug 2022 13:01:24 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese , Tony Dinh Cc: =?UTF-8?q?Marek=20Beh=C3=BAn?= , Luka Kovacic , Luka Perkov , Robert Marko , Michael Trimarchi , Mark Kettenis , Simon Glass , Jaehoon Chung , u-boot@lists.denx.de Subject: [PATCH 2/5] arm: mvebu: Introduce mvebu-u-boot.dtsi for 32-bit Armada SoCs Date: Wed, 3 Aug 2022 13:00:50 +0200 Message-Id: <20220803110053.22598-3-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220803110053.22598-1-pali@kernel.org> References: <20220803110053.22598-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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.6 at phobos.denx.de X-Virus-Status: Clean Set u-boot,dm-pre-reloc for /soc/, /soc/internal-regs/ and &uart0 nodes as it is required on every 32-bit Armada SoCs. And set also u-boot,dm-pre-reloc for &spi0 when going to boot from SPI because otherwise SPL SPI drivers do not load. Signed-off-by: Pali Rohár --- arch/arm/dts/mvebu-u-boot.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 arch/arm/dts/mvebu-u-boot.dtsi diff --git a/arch/arm/dts/mvebu-u-boot.dtsi b/arch/arm/dts/mvebu-u-boot.dtsi new file mode 100644 index 000000000000..5538f95148de --- /dev/null +++ b/arch/arm/dts/mvebu-u-boot.dtsi @@ -0,0 +1,24 @@ +#include + +#ifdef CONFIG_ARMADA_32BIT + +/ { + soc { + u-boot,dm-pre-reloc; + internal-regs { + u-boot,dm-pre-reloc; + }; + }; +}; + +&uart0 { + u-boot,dm-pre-reloc; +}; + +#ifdef CONFIG_SPL_SPI +&spi0 { + u-boot,dm-pre-reloc; +}; +#endif + +#endif -- 2.20.1