From patchwork Sat Apr 27 11:42:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 289 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B30103F08F for ; Sat, 27 Apr 2019 13:42:36 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id e128sf3876521pfc.22 for ; Sat, 27 Apr 2019 04:42:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556365355; cv=pass; d=google.com; s=arc-20160816; b=CtO7OPxa/SVaKK4Zaz35rzGy2QDLPW7RhgEhEGlltX3Znb7XsHHl33nJT33Rx6Cs9A k6cFWy63Fb8JgJ4pbK9UkLZrlPvvQCe9YA5GSUR1asoiJ467q4GvNivS5GMDqej2AxMt +VhypJKAntnt2qqzV3GlG//jvxiiAcl+1iBeXbxvAZO4JuTwO5ChJvJinJtOQIPIJNtj L8A5Cy3ZIX1V4VWkCEF6l+8sqvH1f8CXU8niOAxtTdfaK4hWBBlh1LSNOzi5c7NBMII7 qwYCo+TlWpKGx7m+CRM1bUfLQCpEcUjUFcFdq4tY37hTQWOSUCzZVc1V2R9DFIUSxksr O8uw== 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=tFw10nKGKZD/2aXeYLWNUt9UyZrpvQ7T4UdIZnKi5AA=; b=mLmGMse/2QPsE0A/Vx/SzVY/M4OR3Dt/I0OxsqFb2xvmlzXOWOkruU6Q2/9T9yqE+N fYr+BjzPlo0GMYaowolWy+nxyFUKdpha2ORgPOhRofl3rT2cJPCLFffIaNEluScnfEPg hx3xmNp3jHKah1YwSPMlgkjenZzwYuiyFikC47e1s1PaFYDPwf0Wne57wDomLIee8Q9i vXnI32cOeZu8w+DMnUjAY63ei90Pr06f6pg556FW6ZwSoFPndDrYS7Wrupy2IWVxTDJH M6Q/mueI7oeTa3tSeTTNBMQss6dLDJsPmPe1VF8uFgMHyXbEQDZBuh09Wpm5JrYL+Xow u8JA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VRZqtB27; 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=tFw10nKGKZD/2aXeYLWNUt9UyZrpvQ7T4UdIZnKi5AA=; b=RJ0YG4+w6UbGnJ99JY0farss70JdxVquDLXd+u2rwm5aHs9Sr0UD8q3EJ9aAuBR/Jp vobxVnr9bHkburwRbQnO+I8UeMl98ONHQxXgvYr4XxAzWnneMELFcq6+5uaZyD9Rczas Cwnq3N/P3YH7xRqJJahcsM8gTUqs5gs84L+S4= 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=tFw10nKGKZD/2aXeYLWNUt9UyZrpvQ7T4UdIZnKi5AA=; b=tdb3SA00jLdhZflxK3XfOW6N0d93Q//Q4sMQWPmU5h20Qn4x09pFcLQeTq4Q2Sgse0 bgcRRbd6OpVqgL591gVyY9S47/4otEaY1kP5x6Ef0R3p5f/bhBUplBH3K5sCFR1wvkmj EX3gT9UiaLuNY8NEdwgNgvfGDWxGQrK8wXMZ5evv7rUQ1qA6Bs1umYu920HOoKXAQTNu F/C8lxfX4MvZ641FB16TfDTceLu+KoVjM9oa47lQ4NoO5O6lndljqreiIj2rEx/aKj/4 YJEyTdjjGPOPR39GK7U8YalVbgW8mJ4IPKj58Ht0fFb0JLrrgxkQQvvp+qw1orPvNaf8 zKVA== X-Gm-Message-State: APjAAAXuADAdhZw+szlW/te+bcZgJGolpxDsGyKO0+iHiymsTvBXMuwA 2aQONWdvFUAY2YJp37DlohvWkE1k X-Google-Smtp-Source: APXvYqxCJCmdGoCJVWiH9Abp80MaCYtM9YZK/rjsYlfwu3iziO+BHidjHvfcrAv6/LoNdRTO8zIpog== X-Received: by 2002:a63:de11:: with SMTP id f17mr38910818pgg.94.1556365353769; Sat, 27 Apr 2019 04:42:33 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:54d:: with SMTP id 71ls74169plf.10.gmail; Sat, 27 Apr 2019 04:42:33 -0700 (PDT) X-Received: by 2002:a17:902:29c9:: with SMTP id h67mr51753784plb.114.1556365353147; Sat, 27 Apr 2019 04:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556365353; cv=none; d=google.com; s=arc-20160816; b=L9W2MLwTaUjc+UvH1NAx5nNxRB8SsBYgCA+4wr9VwsIB8Gvzl/3YAkGHpLzcysIq67 wVPftSYiEWlTOePDeJ41mhy2YIIazTB+3mitqFLW2um+KUqAfc8jhZvUoGqx+t/4BxfB P19Hy6SfeAMxI5KFCst9JiMSRlh8LM6GVXRLw62UwsJi/RYRjrsCTMPvQlBC3MuCl3MF FvpmZVeEKX0P0GD1Ez6iu6ypqjsya4MHU2Ft3ZvrX0y/HyyHL/FdD6TVI/to5Xx6pb07 gcmRB6Bq/cnlJRrSFZZBgnqhBqFQ7DP7d7/gZUarVtevkzF0Pxpfs26gc7ykNxgAqZPn FS9g== 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=w0N4ouP2DUFUgXUhjYEbGzSum/fljQInZXnPEQuOOj8=; b=cPB4V1XioFvrS7TpaNj3388BnmEF2R/iUoapYYFvntT50w0AD5BvbhZJXCcn0+EShk TisIE8QysRUKfM7MGibE78zQcFX8sOo4srPUGQT4I0fi3pTnG6C7UjbJFKQkYVeWr3ge FUSSHVtRtBuMI2c39PLKoBUuRE0r9usYtohJwO4+lU8C1YXv7C0idUBG7bewH89qIvV7 eToFSOl6WBbgWjYKYEDt9cTS7gD9JyHLVSoWm2y7z/kOHw+2MR0kSMPRVQ5ggyTzAxK4 YvtP7mfrooWZTbcy7k3sbdLFMpmbrq7ie+8wPNvan+aGvZrFf1vLXCmNvnbENYMqr8fm 7xcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VRZqtB27; 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 88sor20682464pld.6.2019.04.27.04.42.33 for (Google Transport Security); Sat, 27 Apr 2019 04:42:33 -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:864b:: with SMTP id y11mr48537243plt.1.1556365352829; Sat, 27 Apr 2019 04:42:32 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id k79sm68958973pfj.28.2019.04.27.04.42.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Apr 2019 04:42:32 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar , Tom Rini , Manivannan Sadhasivam Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v6 1/3] arm64: rockchip: dts: rk3399: Add board -u-boot.dtsi files Date: Sat, 27 Apr 2019 17:12:00 +0530 Message-Id: <20190427114202.7358-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190427114202.7358-1-jagan@amarulasolutions.com> References: <20190427114202.7358-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=VRZqtB27; 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 --- 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 ce004d0d18..2366e7ed3a 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 f90e7e88db..5d52319393 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";