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 B9509C54EE9 for ; Sun, 11 Sep 2022 16:11:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 41B2184BA1; Sun, 11 Sep 2022 18:11:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=intel.com 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=intel.com header.i=@intel.com header.b="TpgFc7x/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7EA0D84B8F; Sun, 11 Sep 2022 18:10:53 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) (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 B53658499D for ; Sun, 11 Sep 2022 18:10:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=jitloonl@ecsmtp.png.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662912649; x=1694448649; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lVXXOv4FvJp6LuRDL+/GMo/L9n76AAuc2WSna3jjMEo=; b=TpgFc7x/DAVs+ufnHRjZTnNJ2PJFeSsURr1pSeVlMABWzsEYqHHj3bGU YHAq5ZERyjYQMWT1KxT2MN/HUBaiV8xmXBqwC/rS6lMWHm5AdZKoFBp9J znGhBuVcX8Ub/qoMfyHIRKoZwbxd/M9yFG11XORnig5V/e8kwEmia5uro ZeQoMo3G48Sv1uZDEzQvuTz8vyc1nSuiDZLccck5tFe21UHrnjjTkJo+w Ab2UE1tXNreuRzZ6dD2HcWsusOCHdL5fbkfswZOwRmMehimSzzcvpwtFe Nr4qa/WY76mdrtV15HFu6T9YnYdYMYHgys4WrTjybZayua6C7einV3A+h A==; X-IronPort-AV: E=McAfee;i="6500,9779,10467"; a="278126556" X-IronPort-AV: E=Sophos;i="5.93,307,1654585200"; d="scan'208";a="278126556" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Sep 2022 09:10:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,307,1654585200"; d="scan'208";a="704927332" Received: from pglmail07.png.intel.com ([10.221.193.207]) by FMSMGA003.fm.intel.com with ESMTP; 11 Sep 2022 09:10:43 -0700 Received: from localhost (pgli0028.png.intel.com [10.221.84.177]) by pglmail07.png.intel.com (Postfix) with ESMTP id 4A90832FB; Mon, 12 Sep 2022 00:10:43 +0800 (+08) Received: by localhost (Postfix, from userid 12048045) id 48AA7E00414; Mon, 12 Sep 2022 00:10:43 +0800 (+08) From: Jit Loon Lim To: u-boot@lists.denx.de Cc: Jagan Teki , Vignesh R , Marek , Simon , Tien Fong , Kok Kiang , Siew Chin , Sin Hui , Raaj , Dinesh , Boon Khai , Alif , Teik Heng , Hazim , Jit Loon Lim , Sieu Mun Tang , Ley Foon Tan Subject: [PATCH 5/8] arch: arm: dts: HSD #1508104447-7: arm: dts: socfpga: stratix10: Add NAND u-boot.dtsi Date: Mon, 12 Sep 2022 00:10:29 +0800 Message-Id: <20220911161032.23861-5-jit.loon.lim@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20220911161032.23861-1-jit.loon.lim@intel.com> References: <20220911161032.23861-1-jit.loon.lim@intel.com> 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.6 at phobos.denx.de X-Virus-Status: Clean From: Ley Foon Tan Add new file socfpga_stratix10_socdk_nand-u-boot.dtsi for Uboot specific properties. Signed-off-by: Ley Foon Tan Signed-off-by: Jit Loon Lim --- .../socfpga_stratix10_socdk_nand-u-boot.dtsi | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 arch/arm/dts/socfpga_stratix10_socdk_nand-u-boot.dtsi diff --git a/arch/arm/dts/socfpga_stratix10_socdk_nand-u-boot.dtsi b/arch/arm/dts/socfpga_stratix10_socdk_nand-u-boot.dtsi new file mode 100644 index 0000000000..5d8c3e2f91 --- /dev/null +++ b/arch/arm/dts/socfpga_stratix10_socdk_nand-u-boot.dtsi @@ -0,0 +1,36 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright Altera Corporation (C) 2020. All rights reserved. + */ + +#include "socfpga_stratix10_socdk-u-boot.dtsi" + +/ { + chosen { + u-boot,boot0 = <&nand>; + }; + + memory { + #address-cells = <2>; + #size-cells = <2>; + device_type = "memory"; + /* 4GB */ + reg = <0 0x00000000 0 0x80000000>, + <1 0x80000000 0 0x80000000>; + u-boot,dm-pre-reloc; + }; + + soc { + eccmgr { + #address-cells = <1>; + #size-cells = <1>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +}; + +&nand { + u-boot,dm-pre-reloc; + nand-bus-width = <16>; +}; -- 2.26.2