From patchwork Mon Jul 15 18:28:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 748 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 3E6673F08F for ; Mon, 15 Jul 2019 20:30:13 +0200 (CEST) Received: by mail-pl1-f199.google.com with SMTP id k9sf8702006pls.13 for ; Mon, 15 Jul 2019 11:30:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1563215412; cv=pass; d=google.com; s=arc-20160816; b=RENjTRJ1go+TDsqO4koltHcSE7J9u0pcqK0DvxqCFutSbjbnWx1d3ohmFUZwPBQwr2 4kLt8CNuiBL7FdZrJYklHwfnIx2F6rwKtB7JjlNz7JjcwEqh1/PGi7o9cRJA85SbFKSx HLBFyO61t9rbqcegV1fIW8kI21AVnnhKIC6OH8O2X5IfE12ufB3frUWtQwq4E0c4ZUNd 8qqZ8ugxt8r/7OW1KrbCP4axi9zDLS2LspyeC+5S/ogLYSza/kiVYeq0kinsf4oRPU/2 9xFrdFby7Pb3MR3LXlwA29+q1+0bF7GAZVWUuNxabN0QE7hjRWmrAQ2WGiSs+tPOWcpt auPw== 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=HhM5ESQF6Mx4LTz6Hr5jlIs69Hi1XDLM9sYoSFIBuyLxTgG3Eqw8vO7Nh4DhiPsaHS rK58R63i1F74DhvOYtv5oAPobuoP4zfgf5EGSPKu4br7kH13uEJUmxGobDocqfRBqqUH 7mKT4whx1q/kWyeOwnSWxkrrvpY7LgrPeUCA+0No5l31UrFJha1iLcmHRfOdbCCznH3k JYDvduP4k4wfR2bcOKwHY48ViWhhDIuMCxdxTqWCSEtbfoqN1f9v1pq1IGgkX+KWBlv3 kfW8P46DHmEJAI9dDUZ0jhyVHJ+RhzFhI0HlG28ytPa0FQBxVdw6fBmioI53nZODsiKy 2AsA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=lON59up1; 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=OTSV47feYDC1MEMGFLPn9h1CFng67EC4349anjqQxUGHBgXOAQb8+QKL1+Q8BGt1vX +dAgQObQ472gBr1pyhZIuHWvjnyzVgV9OPB3H4EXl/PfxFtE2aiLIR1+Jjv0t4nul9F9 zpEi9PZOxUTicbkhoh51s6WH5/VeVssEcwlkU= 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=Dyw5yXujvX8sg+/y7QezCWvf1r6LBpKcyD4Gy6hmvpbDL868Wt+NVXY9PjfxvkBWh/ owyJlxBUTmqe4d9CqRRCebugP56u0hvnAtfr5U6Nr1UVFZidv2ZWlO5QYB9anE8PZBXr vA4AvVRum02sm0nIKXElvdxY9soEU3Xb5lDnD7+tHQ0Z7O3hXcIfAyRomUNkUCPxad7F c8k0/1nBnt2PG5S7Gf7mCC89J5UV7V8PHFgoNMIBsXyhIYkLi9W076xXJ6NuMBOz39Lf dVioXJRJWAiiRHl0jQ+wKgV8YQbG8ra+HWODkLCBgwBfxqDgk3aWUBPgSe8AjBTzAhG/ E15w== X-Gm-Message-State: APjAAAXwRJYNBlPb8P4q1ZaCEfRa83NLAy+fjEfKpnbIoNQSoQgxXAYJ w/uNObpnx1vJLPOtcxwUn1LeJhxj X-Google-Smtp-Source: APXvYqzFIEXceBdkb9QpPOThVUDejox8JffKogya08mvgcyW+SL8c1ZWAxnKW1hWGugFcxhG73t/VQ== X-Received: by 2002:a17:90a:35e5:: with SMTP id r92mr31308432pjb.34.1563215412103; Mon, 15 Jul 2019 11:30:12 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:2acb:: with SMTP id j69ls4714890plb.9.gmail; Mon, 15 Jul 2019 11:30:11 -0700 (PDT) X-Received: by 2002:a17:90a:ac0e:: with SMTP id o14mr1637862pjq.142.1563215411743; Mon, 15 Jul 2019 11:30:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563215411; cv=none; d=google.com; s=arc-20160816; b=EESZxc4+EoepEcFdXX8Giotv+IHgvOyXbDoZ7iHyecj3Gz0K8vic9Hh2uYXFkzFmOW MrsP3+NLO/Y6Xn68W4L/ehaeSmlQGVityPPkUeG886fsf1sBxA9Z1hlZZPstdQcsL7X7 Og35GE0nD24KhvtqgNapn5QSIqmF+55y+TY50i3HwxL0zMICZm9i5uSEI0fzJ+2yHh1r +pZ6Ree1RGw+UUZCxcwepcoOJu3weLViXITtDBIeY7JxSap/yc5ajFK3TotjUkzsQloS YIEc+kz8g6YQERTIbvMoc8uhpCW6t6MqP2FalZlWdod+8Lz/FNlCN6KxfQSMjflbXfCb RTdA== 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=R2Z6bdAK0f6QrTsSOVrehoAQCLip3BFbda61FHw/mBfU5OQphaI7stR64UR3P8UlHT FeNzYk0+MEgd9PNCoNkFxNnYUL6dIk/T1wuTDGzkNf1Y/A06z0EvFI15Su99WB3TqWbm 2BHTOkfJ9S7WacyPXDdJUoO1mpBXHZsp3JC4e1XwWG94GSfLdBDT5xTClA2toQXmfba7 q7P3dqpVzz4E/CrvNsmrFtxjdaibrxOIAVIoaT+XQddFJU/ybnzW4eAod0nyIgiRCwQT xQ70y4YPYXZ12ZmGNTqZwFIwbdcvpwh+oZjRRDoAMcP+Q6nAFoc/LA4waqtGD04/cbW3 dZPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=lON59up1; 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 7sor9526323pfh.17.2019.07.15.11.30.11 for (Google Transport Security); Mon, 15 Jul 2019 11:30:11 -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:a63:5920:: with SMTP id n32mr27438776pgb.352.1563215411338; Mon, 15 Jul 2019 11:30:11 -0700 (PDT) Received: from localhost.localdomain ([49.206.201.107]) by smtp.gmail.com with ESMTPSA id y133sm20250075pfb.28.2019.07.15.11.30.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jul 2019 11:30:10 -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 v3 18/18] rockchip: dts: rk3399: nanopi-neo4: Use DDR3-1866 dtsi Date: Mon, 15 Jul 2019 23:58:56 +0530 Message-Id: <20190715182856.21688-19-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190715182856.21688-1-jagan@amarulasolutions.com> References: <20190715182856.21688-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=lON59up1; 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 Reviewed-by: Kever Yang --- 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"