From patchwork Mon Jun 17 07:32:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 624 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CF8513F353 for ; Mon, 17 Jun 2019 09:39:19 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id c18sf7224013pgk.2 for ; Mon, 17 Jun 2019 00:39:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1560757158; cv=pass; d=google.com; s=arc-20160816; b=m5p3aBFBtKJari3tnpaEwNY+qwmLYUts640/RzEyEVwpz4nAUiWUdJIRPevI0POnRM oJ07ORR3SMU5JAAps0y68w6UVLPYUqLiqoT+DM6uUXKP2ivXe9BLlOiaeH3bBny7nTKJ P/GsW3SWqOHQdDleludfRm4bUbB2Ji+qhGks6B2U449uATPt+fImb+dOk8TRBkpo7Ea8 Pt2mchzmKFC4oF7jwSwxFFh7lZ0PEbL8RjDLAVWCuj1vdv2950ifJX9S3g0BEvBptpEm G5s1qOOQ/SKTLlsUXekG6+LWIdxCPqVq3D3pAcKgEGw6OzcwlLFAcLW5nvwPni9q7yBG 749A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=iVWpQMDxwqMMR4hI3zcfClbYsUacXVI90bG1xzl/7tg=; b=z6ko+sKxksF534hU5cLK/6I1kTtqCrfaH+dRXU0aG78+yu+g7pMGc+EQyJFWlq53z0 /exL7rkynJU9jzYHVgdi63BpLJUby73iQLFzyRmB/bRRcbgEMrYyznz+ONIC0RKX6uX8 KepGisly6qxq9DNE2iwzM3CaxM2fp3vO17B5gB+gN3H29cDg2KOI4cmwaRdDjlbv0XB7 QcaRjTajVlnrGwAFn0y3lAl6KaiHMeCbQPKsLHOh+MvAA0MPepNB5GHA2l8i1qSrRkcB aQuRlC4NzgCTQxTDsC2OvYCAMggj192PuF+ZB8kKiRFwYxfMI1x8i1dn6H+pka0ce5nZ lNdg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bjWeC+bt; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=iVWpQMDxwqMMR4hI3zcfClbYsUacXVI90bG1xzl/7tg=; b=ok6ry0tTkFZ6GBR8C6OBWNXmQVBQXh+NXT8QvTLDkg83Lvyvii8ts1+Uwo34w5ifFj 2LXrnJispviY2h2I557BW9a8eukJc+fZhNqh+iSiOETFf4LhK478WQ4GbOgfhLql/H+K jVcwBxvrZ0Gk8i5NtGO3R2+CEnBOEkdO3GrVU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=iVWpQMDxwqMMR4hI3zcfClbYsUacXVI90bG1xzl/7tg=; b=Jjsh31hOU54lw4uhUS5pDFc1sRRTC/RnEASn/Pq+YcDYq+Ddhi/Qf+iR3mSgwxPKuD MprH2Z+KHpn6p1zsFpUTVPHxEgT5UDGTozPBNIVPcjbQBQ9nDmpTZpLqbmK4lVGF1mPo Iqc41TkThDMUX8g3RdFmyPBgL/uPkgwsqU8O9YzyWIi5zvbYQLf0bLNZerwbvQNdou6n f3GpaMkCo19OepInNr62+//F5xskVcG51lnFuIRvmd/Jan9Fp5aMLfsKwAnH7W1L6+MZ fo27DocgcUXhG0SQ2Nx5gxjVcr3/scJ0Q1W4rFoK5RULfZE4IpjU+/05XL10xY/9qmuP WMfA== X-Gm-Message-State: APjAAAWB/ZMpX6iZXqmT0FRDQua5P3crg99tNrq3nt0pI0sjTeStMptL NDGR5bYoyq5vV1/jwlGHh6gINCs9 X-Google-Smtp-Source: APXvYqzhycDNrqOFipa/rcCuRXVAddcuxf3+klesm3rL5XKNcYKaY5miGTWInn7D+V0SZN1P9r96Zw== X-Received: by 2002:a63:4d08:: with SMTP id a8mr32259929pgb.329.1560757158585; Mon, 17 Jun 2019 00:39:18 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:32d:: with SMTP id 42ls3747222pld.11.gmail; Mon, 17 Jun 2019 00:39:18 -0700 (PDT) X-Received: by 2002:a17:902:2006:: with SMTP id n6mr49800855pla.232.1560757158245; Mon, 17 Jun 2019 00:39:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560757158; cv=none; d=google.com; s=arc-20160816; b=W1EvgJhC8bQR+04mBUEpDEQNwpvM5Hu8BBCIQaI0wdHBb4x5ofF9A5kCbP4ALxsAt/ /r22yKkH65iuWBbU6NwZgZArQakU4SlDtQi8hznLm/pmg2DfgjPTqpp4K2pypw3dLRuZ GtFSTe6BzPJPFFfNCeRpFFNFbOkOyDAf3hDLzfERKfmacGzBYnkste/CuLso45wv+Oyf P17787zAPBnwpk7odRq0/qzDwrrU3oNs6HK86jxERl7sxAJg/RcvTW+N7LpP4W7XzvrN Mia0u7l7CCRKdocgh6+J0Pohy1FzDKaCVIqNVk1KRWzXHsPWJneApeeG8/0ieGOiKoaG VRjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=wTBXweD1R6wZJRqFVMEPyWutx8ndp9xyM4VkgFPZiDk=; b=sp6Kq0gv7iq/MqQ0OccZWS75FiXY3C7fBbPgwMEMfxVTQSOUV77PbmyAtUgBGYA8cG ecqm7w81YC8QMHjTiY26EYOzz60kzrkXnUfHxoA4U9DVDa/aP3AwA5tNnO0EBSFY8a6I RzbkafkOqyQfhsZvOHMIzp7dhs8y4TZK3gUfftMbEdPsud5Y7hgMVulSoB1JOPS+8MWs nOBGHd9fb7zygLpnHtK7i+2BbYfbJiQjVnJhP9kuD+Wsx59bPcfnumPUP7dp6D2+3tAl s02iH5q4jO96mGhlcVxpmLlqCDcIWfjT6U5T5ft5Q8S5y07+15tntBmBqQXH7bwk1q18 GXKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bjWeC+bt; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id a8sor12654268plp.4.2019.06.17.00.39.18 for (Google Transport Security); Mon, 17 Jun 2019 00:39:18 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:42a5:: with SMTP id h34mr69995607pld.16.1560757157979; Mon, 17 Jun 2019 00:39:17 -0700 (PDT) Received: from localhost.localdomain ([49.206.203.245]) by smtp.gmail.com with ESMTPSA id m41sm15205998pje.18.2019.06.17.00.39.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jun 2019 00:39:17 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , YouMin Chen , u-boot@lists.denx.de Cc: Manivannan Sadhasivam , gajjar04akash@gmail.com, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v2 53/99] rockchip: dts: rk3399: nanopi-neo4: Use DDR3-1866 dtsi Date: Mon, 17 Jun 2019 13:02:06 +0530 Message-Id: <20190617073252.27810-54-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190617073252.27810-1-jagan@amarulasolutions.com> References: <20190617073252.27810-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bjWeC+bt; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Use DDR3-1866 2GB ddr timings dtsi for 1GB NanoPi Neo4 board. Since sdram rk3399 support dynamic stride and rank detection it can able to detect 1GB ddr eventough the timings are meant for dual channel, 2GB size. Bootchain after and before this change are: TPL -> SPL -> U-Boot proper rkbin -> SPL -> U-Boot proper This certainly fix the second channel data training initialization since we have dynamic rank, stride where second channel capabilities are clear or memset to 0. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3399-nanopi-neo4-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/rk3399-nanopi-neo4-u-boot.dtsi b/arch/arm/dts/rk3399-nanopi-neo4-u-boot.dtsi index 7d22528f49..eb0aca4758 100644 --- a/arch/arm/dts/rk3399-nanopi-neo4-u-boot.dtsi +++ b/arch/arm/dts/rk3399-nanopi-neo4-u-boot.dtsi @@ -4,3 +4,4 @@ */ #include "rk3399-nanopi4-u-boot.dtsi" +#include "rk3399-sdram-ddr3-1866.dtsi"