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 9DA84C4332F for ; Tue, 22 Nov 2022 15:11:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7D1DB8512E; Tue, 22 Nov 2022 16:11:42 +0100 (CET) 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="ceY4bZwo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 430CB85425; Tue, 22 Nov 2022 16:11:41 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 B8EC08510C for ; Tue, 22 Nov 2022 16:11:38 +0100 (CET) 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=1669129899; x=1700665899; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=H+XPbvh6XuxH9f8RCurcHVec2JUF7gFeo0YhZUbFiTo=; b=ceY4bZwojxM7JcCV3atofQQNa4nw52xu18tMrVWOe329FpB0J3r8mv+X TWfM5OGmCbGuFVIKb6ZTJgq4RFwfl3PVxA2VeqjNq11TzVf7Psaui2EX0 zua8aBiqh75sqqdXfuVd020JLPAEPeCHEvqoAYCjlBqu2Afldl05An4tP s/gYI7tdPGlRNY3OjwMsRFzvi+GBuRj9cG30r7svH7F7opODa181kN6NQ YEcCALlFkOsuNaohXNkHPgK0vIM2NPw1FAE7etNWYuVvRfdAMXypV0tOU 8KghaBLjtgBRQ+Om9dtyiY3c2IPyd+8KEPuk6T/77oKbBzPc5Ajb2M+si g==; X-IronPort-AV: E=McAfee;i="6500,9779,10539"; a="314985373" X-IronPort-AV: E=Sophos;i="5.96,184,1665471600"; d="scan'208";a="314985373" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2022 07:11:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10539"; a="766365224" X-IronPort-AV: E=Sophos;i="5.96,184,1665471600"; d="scan'208";a="766365224" Received: from pglmail07.png.intel.com ([10.221.193.207]) by orsmga004.jf.intel.com with ESMTP; 22 Nov 2022 07:11:26 -0800 Received: from localhost (pgli0028.png.intel.com [10.221.84.177]) by pglmail07.png.intel.com (Postfix) with ESMTP id 2065E482A; Tue, 22 Nov 2022 23:11:26 +0800 (+08) Received: by localhost (Postfix, from userid 12048045) id 1D01EE00214; Tue, 22 Nov 2022 23:11:26 +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 Subject: [PATCH] arm: dts: n5x: User interface for DDR self-refresh configuration Date: Tue, 22 Nov 2022 23:11:24 +0800 Message-Id: <20221122151124.32251-1-jit.loon.lim@intel.com> X-Mailer: git-send-email 2.26.2 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: Tien Fong Chee These are interface for users to customize some settings in DDR self-refresh configuration according to their design requirement. Signed-off-by: Tien Fong Chee Signed-off-by: Jit Loon Lim --- arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi b/arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi index 6c1d25fa05..f7f594238a 100644 --- a/arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi +++ b/arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi @@ -13,6 +13,12 @@ i2c0 = &i2c1; }; + fs_loader0: fs-loader { + u-boot,dm-pre-reloc; + compatible = "u-boot,fs-loader"; + sfconfig = <0 0 100000000 3>; + }; + memory { /* <<<<<<< HEAD @@ -41,6 +47,13 @@ }; }; +&sdr { + intel,ddrcal-qspi-offset = "0x7000000"; + intel,ddrcal-ddr-offset = "0x100000"; + firmware-loader = <&fs_loader0>; + u-boot,dm-pre-reloc; +}; + &flash0 { compatible = "jedec,spi-nor"; spi-tx-bus-width = <4>; -- 2.26.2