From patchwork Tue May 7 18:21:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 357 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9D9713F066 for ; Tue, 7 May 2019 20:22:20 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id d20sf9805373pls.15 for ; Tue, 07 May 2019 11:22:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1557253339; cv=pass; d=google.com; s=arc-20160816; b=m1xipFOApmP43XDIx6XzO0xdikEDwo96APgblfeDp0/bY9d4qkwKW+QcSpq2NsTPrq H0GSIJXvGynWBU4qVdIprMQ7d/dTAtIzPbXA221dQRgyR6Ui2vOT1287wAZtHYanL08O bEoZxqBpO5hQc8kjgVFIOk/ynUZxBC141swGQsTE4n3XAfHA6N9kpBsgjROuvjbc+m7N 39LoqEUGUj67xft6RAvicMvRfrQunBtSWdnYldQGq3oQAs05CIAnsStfBre3Cb+rxLDj CCz3FdZHE19gQPQbsgFAvipRTatZjwLWX/lF1qPTookmRA6HSpho7uWNvOfMq0+RFkbL hUmg== 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=c3EeZYt0nORRFv+2YuHH/t88R+ctRDbSYJQHlw4x6lk=; b=e1oE3IEv/ObIWVFsLVTBeGWc2d4xByEITWb+CTyw85vtvPj/mTlhWYdASIUox/B0mv Kuu1gOZYeFJgyh/VJp9mNjr3hcffz/Os7tuuzbdZLvMAF12Uc5l4N+tk2Z+jevyb9xdL uI5QCbHlBqmmWSXedhC5Et/k4oBvdyRfpGvhlzjH6gjKF7E0kSvLvEw6XmAVlu37Syqq hcJwdyZwcDEtR4SlukcXBM4hnTLYyX+1alxwDhSKn1pwASvweChEHSevtujhRMB4BG2J xTCbwyijk039dEjDOw3UuCtRArCPzgOw9zbQgeLOPEf/GxAaPF5ZAPfEHrP3qdHQzt2s VFEg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DQ4GU8GT; 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=c3EeZYt0nORRFv+2YuHH/t88R+ctRDbSYJQHlw4x6lk=; b=lWXyQ9nNUu1sX1RIGZpNLC30Ow7Vq1AKdx1Opba02+lPvo04lsMw+PaxXUn3yxknM+ yA4RG9fP9d5u6XPDWm8IjuaIPwXDqOeqMezHjGZWciBPpxODnVGip9Ts9DU3B32NDq+k IwcZxFTK0c4RAsX42dlBWAyYRFTLSRWJkV+Xc= 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=c3EeZYt0nORRFv+2YuHH/t88R+ctRDbSYJQHlw4x6lk=; b=K/KwyISxTm1Rc94IjCMmPtcLxnaiYdgO0eErs9JD2GsKoCfjGbsEjiCEbKhc014znM EGBCJnAHZvwYHr2M3Q8a/jylQX0amD3oSeOMfAiXkgin+bCukpg5hU8B+TUJI2HYFWen CJ72gbkWYYFn5Lrt4OWUKHPfhV/80+TVLqujDiheMMJIdfG/smF+5Uy28eM5uzySHnM3 YX0Rzw+I4IbMF8bDKGbISnYePcS/5VJKm7ZE7A6n14Ch9lOD0boLNZOyjbzCtSTNCvpP iO2OdXSJmJXrP15WMfUOdggjfdpzgqTN2NwyjL05sXb8BfFyMWRb3IddvI2XqItWhmEM JeuA== X-Gm-Message-State: APjAAAVOqJiRmwAErVG0Xq7y1CBD2wZg+EnBr/8MzYIRSMyL5hceTXa0 PLhLndb10eTt+Mksfid1t/45Uiqx X-Google-Smtp-Source: APXvYqy0OhGMqNJKRuw8EAngMcltGXWLGjS1R0mVeAAGSF/4vusCjy9hkiai+UuPgw9vT7ea+1nMCg== X-Received: by 2002:a63:ed03:: with SMTP id d3mr16598425pgi.7.1557253339420; Tue, 07 May 2019 11:22:19 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:6a03:: with SMTP id f3ls1559988pfc.15.gmail; Tue, 07 May 2019 11:22:19 -0700 (PDT) X-Received: by 2002:a62:4d03:: with SMTP id a3mr1692096pfb.2.1557253339036; Tue, 07 May 2019 11:22:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557253339; cv=none; d=google.com; s=arc-20160816; b=MMPivyCEm/3iw6w+OLAtcyvFMsu3BLH9IaiyCqDH7KgjcriNlrI9p/RaUVeZYsXJMP 0bINZYF9JfJ1SZHO3oVW2hx2Ryk2P1KDYnxFPtpQ+l9OS/9hPp2Htw/Ts9VcM4DWifXf W6zXegcmVM3n8ZAQD+KjLA8UJzv9XBxMMDFEhijm9fTzUZjcu9xM7RxICH0wzGsO7eT8 lLMBtXRYABtg4Ftct0BnYOIB/QsDNJcgjyWXhQZ12RhuZFotFlDo+XGfKYoewpds7f2j FbxuQoSudxfSt2bDy3G8L1qoUzxhIfTvw/cV1L6DkfZMCQIQpfh5eKeIjkphUyncgo6h epwg== 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=I3oK25qzqyp2gcaHrRbas53AaMxDcBHCsphtuUas6qI=; b=zyX9uzOy98l1ooZ+9aUmtFni3LPOawP/4gvgHKhJt34bLISvajyGBqP62jZCzw1Aiz 0re/RydHD4/y0LFsLjshvqsrH89r5Txo2HXPmYCQQuSowZ+5nVGhcli8SLUCrT05gVAp ePfaeEJbF5ePOICKiiEGyFIG1CeXwFF923jWttYqxe6AJpGfPV54mdnPvM1qqmhmW+Q+ Bh9ytSbpctRBmzRFRMnhAdqO7lcwZpC9MZ/FwP4wLy2jdw5jKZJmo6MGZtiPTeyABcxJ IntbS8NZbklsfsm6C1MjSQKuzY8wk5qpp+MLjYE+B2DPrIUgyMbfAqelYMzsacKLudqf Y0LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DQ4GU8GT; 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 cl14sor16306075plb.30.2019.05.07.11.22.19 for (Google Transport Security); Tue, 07 May 2019 11:22:19 -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:7c8f:: with SMTP id y15mr23012407pll.339.1557253338729; Tue, 07 May 2019 11:22:18 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id d15sm18491568pfr.179.2019.05.07.11.22.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 11:22:18 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v7 2/4] arm64: rockchip: dts: rk3399: Add board -u-boot.dtsi files Date: Tue, 7 May 2019 23:51:50 +0530 Message-Id: <20190507182152.4254-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190507182152.4254-1-jagan@amarulasolutions.com> References: <20190507182152.4254-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=DQ4GU8GT; 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: , Devicetree files in RK3399 platform is synced from Linux, like other platforms does. Apart from these u-boot in rk3399 would also require some u-boot specific node like dmc. dmc node has big chunk of DDR timing parameters which are specific to specific board, and maintained with rk3399-sdram*.dtsi. So, create board specific -u-boot.dtsi files and move these sdram dtsi files accordingly. This would help of maintain u-boot specific changes separately without touching Linux dts(i) files which indeed easy for syncing from Linux between releases. These board specific -u-boot.dtsi can be extendible to add more u-boot specific nodes or properties in future. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/rk3399-evb-u-boot.dtsi | 6 ++++++ arch/arm/dts/rk3399-evb.dts | 1 - arch/arm/dts/rk3399-ficus-u-boot.dtsi | 6 ++++++ arch/arm/dts/rk3399-ficus.dts | 1 - arch/arm/dts/rk3399-firefly-u-boot.dtsi | 6 ++++++ arch/arm/dts/rk3399-firefly.dts | 1 - arch/arm/dts/rk3399-gru-bob-u-boot.dtsi | 6 ++++++ arch/arm/dts/rk3399-gru-bob.dts | 1 - arch/arm/dts/rk3399-rock960-u-boot.dtsi | 6 ++++++ arch/arm/dts/rk3399-rock960.dts | 1 - 10 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 arch/arm/dts/rk3399-evb-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-ficus-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-firefly-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-gru-bob-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-rock960-u-boot.dtsi diff --git a/arch/arm/dts/rk3399-evb-u-boot.dtsi b/arch/arm/dts/rk3399-evb-u-boot.dtsi new file mode 100644 index 0000000000..7e2c57af22 --- /dev/null +++ b/arch/arm/dts/rk3399-evb-u-boot.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Jagan Teki + */ + +#include "rk3399-sdram-lpddr3-4GB-1600.dtsi" diff --git a/arch/arm/dts/rk3399-evb.dts b/arch/arm/dts/rk3399-evb.dts index 9162f3dd50..a506e8da37 100644 --- a/arch/arm/dts/rk3399-evb.dts +++ b/arch/arm/dts/rk3399-evb.dts @@ -7,7 +7,6 @@ #include #include #include "rk3399.dtsi" -#include "rk3399-sdram-lpddr3-4GB-1600.dtsi" / { model = "Rockchip RK3399 Evaluation Board"; diff --git a/arch/arm/dts/rk3399-ficus-u-boot.dtsi b/arch/arm/dts/rk3399-ficus-u-boot.dtsi new file mode 100644 index 0000000000..eab86bdb30 --- /dev/null +++ b/arch/arm/dts/rk3399-ficus-u-boot.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Jagan Teki + */ + +#include "rk3399-sdram-ddr3-1600.dtsi" diff --git a/arch/arm/dts/rk3399-ficus.dts b/arch/arm/dts/rk3399-ficus.dts index 4af0e4e383..4b2dd82b67 100644 --- a/arch/arm/dts/rk3399-ficus.dts +++ b/arch/arm/dts/rk3399-ficus.dts @@ -8,7 +8,6 @@ /dts-v1/; #include "rk3399-rock960.dtsi" -#include "rk3399-sdram-ddr3-1600.dtsi" / { model = "96boards RK3399 Ficus"; diff --git a/arch/arm/dts/rk3399-firefly-u-boot.dtsi b/arch/arm/dts/rk3399-firefly-u-boot.dtsi new file mode 100644 index 0000000000..eab86bdb30 --- /dev/null +++ b/arch/arm/dts/rk3399-firefly-u-boot.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Jagan Teki + */ + +#include "rk3399-sdram-ddr3-1600.dtsi" diff --git a/arch/arm/dts/rk3399-firefly.dts b/arch/arm/dts/rk3399-firefly.dts index 46f2ffaf8d..a4cb64f8bd 100644 --- a/arch/arm/dts/rk3399-firefly.dts +++ b/arch/arm/dts/rk3399-firefly.dts @@ -7,7 +7,6 @@ #include #include #include "rk3399.dtsi" -#include "rk3399-sdram-ddr3-1600.dtsi" / { model = "Firefly-RK3399 Board"; diff --git a/arch/arm/dts/rk3399-gru-bob-u-boot.dtsi b/arch/arm/dts/rk3399-gru-bob-u-boot.dtsi new file mode 100644 index 0000000000..9edb8cf841 --- /dev/null +++ b/arch/arm/dts/rk3399-gru-bob-u-boot.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Jagan Teki + */ + +#include "rk3399-sdram-lpddr3-samsung-4GB-1866.dtsi" diff --git a/arch/arm/dts/rk3399-gru-bob.dts b/arch/arm/dts/rk3399-gru-bob.dts index 0e3d91fc28..1ee0dc0d9f 100644 --- a/arch/arm/dts/rk3399-gru-bob.dts +++ b/arch/arm/dts/rk3399-gru-bob.dts @@ -7,7 +7,6 @@ /dts-v1/; #include "rk3399-gru-chromebook.dtsi" -#include "rk3399-sdram-lpddr3-samsung-4GB-1866.dtsi" / { model = "Google Bob"; diff --git a/arch/arm/dts/rk3399-rock960-u-boot.dtsi b/arch/arm/dts/rk3399-rock960-u-boot.dtsi new file mode 100644 index 0000000000..5256f6d3f2 --- /dev/null +++ b/arch/arm/dts/rk3399-rock960-u-boot.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Jagan Teki + */ + +#include "rk3399-sdram-lpddr3-2GB-1600.dtsi" diff --git a/arch/arm/dts/rk3399-rock960.dts b/arch/arm/dts/rk3399-rock960.dts index 25c58b4261..7e06bc97e5 100644 --- a/arch/arm/dts/rk3399-rock960.dts +++ b/arch/arm/dts/rk3399-rock960.dts @@ -5,7 +5,6 @@ /dts-v1/; #include "rk3399-rock960.dtsi" -#include "rk3399-sdram-lpddr3-2GB-1600.dtsi" / { model = "96boards Rock960";