From patchwork Tue Apr 16 10:56:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 211 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 3EEFC3F0A0 for ; Tue, 16 Apr 2019 12:57:04 +0200 (CEST) Received: by mail-pf1-f198.google.com with SMTP id i14sf13823248pfd.10 for ; Tue, 16 Apr 2019 03:57:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1555412221; cv=pass; d=google.com; s=arc-20160816; b=kvtx6e9IwvY/wlXbRrz2A+HPb6JZEAr2no8h2Mhz2WymPMLTZpIh8kHf1I5wBovAfd YzEEZsZ+CtDxXoD1DDhpCnAh7RAQFyn3NLxABEUdjeG5+SYMnW2oK9EoIN2Kmbsu38hC UOyoZLtsVcwtu3YKjQGB08nftyFUd0FAWIs/0NzsGWznSERWvE0Dv2p+KWts223SV9EP adX7w6punRyVv/AT8qbrcsZGLCE11mk99K+z4cXzYjq9AIiYBUZqV1ECoPBWJzKMd9sz VaroygWhA0KYwAU1lgYHzh3SwvYN2RabS3GZFsmdn4OEV1tfHJqKof+2BIOUOfNOi24a g7DQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=pKygjWh7AkYjctxq2ouO186+YTJC75HVABWEOZyah5U=; b=MjypHWHXnzAYWIGOdKanK9PukyiUtK5LupdTZNDiIcuHHr19yOntYbmgZ9pbduvePB 6lDKy6eTEryN/zh86zyhbXTxu+kB8fUXScyID7XBczJXpBF2SG7ClcnDUHQ+zOECswrq qzBIuseq/7DKJcJmSKyb7BcNs2E43Hyea+f7CL0t6zQ/P1QDqDzrRGcGI2WB588c1EUz CTXrR0gpUJPM2loAwZ8J6mbHwqfQcmArBK2vwoMQfLr9Sp6cR+680MV1HivaMRssaJoj Xikq2SlJune6dcBbRhN4s2J3WIWB2MYOzU4r8s2RzkbmdJHijouNYdsi4JPIDzTWiZkz R9fg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Y9gF0Mvj; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=pKygjWh7AkYjctxq2ouO186+YTJC75HVABWEOZyah5U=; b=IJBAbAxEcvkFrHyup6xvT/yDmGk1Ed8hMWWDcUTeVLwYZNnCsWU0RUL3EJY02xWi4I VhUdIPJBQq9B9l4+neaSYU861aPWF3uRIghhlR7Drf5gbI9DoemGnesuifkxSRP3ba9b 2RH20sjRO2bmTZ4Dqt+vpNeJbOEq+q9IPLckI= 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: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=pKygjWh7AkYjctxq2ouO186+YTJC75HVABWEOZyah5U=; b=WF6w1DOljAqyQHjgccBtLzkCeqokUK2xUFB+lGwggk29GMjC3mOorNbjgQhq+qaApA E0/bGZFKL46JH1l8mOmtapNAjHOIU+NZjcFNoD2xJsnw51mnjCccteGeJe9vO56Kr91T 2aE+mSN0RjfbC6NzM8tv00Wf8rHH43HJ/gdxDVqv9HRUPmKA2cWrsJ/8r/D6Mu+Mzet0 m20+j7/Rk0N+AuUHn4bGB0dD3TjR84FJwRtvem0rrU+ct8jr2LwMCWbfO+b+eoWSDc3N 56tmz/dC4KSe5wx6J7CxgbWb1uE5DHNLwBpyhXIz+WhWuQcRsgap0/nw8L/HmsA08CpD cuZg== X-Gm-Message-State: APjAAAWRAdmz3M5NHAqnSMZGdfF5jIC0WjAJPbrtT1b+ppX9ksMN5TlD eNJySJHiaRmsjap3wW9MjOYY7GRC X-Google-Smtp-Source: APXvYqzWjRthJLUflU+qwzpxEQ5MILqo5ad4UPyDjUvf4Zq0lutG0w0+izbTmSBUT9zlOb8DyBP/6w== X-Received: by 2002:a17:902:8c81:: with SMTP id t1mr2923728plo.9.1555412218607; Tue, 16 Apr 2019 03:56:58 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:9f86:: with SMTP id g6ls5765781plq.3.gmail; Tue, 16 Apr 2019 03:56:58 -0700 (PDT) X-Received: by 2002:a17:902:2:: with SMTP id 2mr82007116pla.61.1555412218217; Tue, 16 Apr 2019 03:56:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555412218; cv=none; d=google.com; s=arc-20160816; b=Zw7vxjsRknkNuzmyRDfzBfGJmjEtMPj2xA1wXFCVFJnFFbMpOJ6seK27TzAJEeyC9m QgUo6Uu7V+OW4L+d3+ChQ6MQyzNCNDWXAEjHt9LvcJuxze29lwEOGnsZF/wi0tVdzftg DtgZCub6shZ7hLDazTBJPW/JyzQrjQp6Yn2FFAkoG0FnJs3ub3nsp0qgLPgNTGLD/a+2 yPIf5ZLbA4XYeZjsQ2ROh2XQIl+23cyIS4wORJlBIcLP/ZtSB23iyrnPKl4JOvgQ4ZpB hUPtTQlqZjY4tOw1+/YOKwW6gbK5xvwUWkO0JFiKko4UqBYbwycyab8etu8i1V3yOsAa Xasg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=BZ6c1AZGtCpS4yJclK3+Inhv3292mZjxbHG64LBHt2A=; b=XTfWZqc7iPRVNPGzpA40/eDVIM062GI7G7yveOMlsjGpwzppK9CD5O7VM07IaCqEvJ qkAXvNsMetGf1WFHs0esbFyS1HUbse+bDjIBa7IlUIIRs6nzNI+ihJRleIDVyNqygsVg XaYOQLxdKKAHvqfON/A089hO3WZqnyIAHoS7X3oriGijgLwQAXAYCmYRX8d2miVdXrTl VXHH66zein7/FzcL1sTcoVMbMKPGB4v9iFuMqPv7fKh40vyHOePh0cyWiDJll0fMucgs Xd1Hrq3CAFuowPfUYv9sXWG6gbMfQAd8vq+2p8WBn63uFRfjenySUkOWroiKbx95Ma6f e79w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Y9gF0Mvj; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id f4sor65473472plb.21.2019.04.16.03.56.57 for (Google Transport Security); Tue, 16 Apr 2019 03:56:57 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:902:a704:: with SMTP id w4mr78383703plq.51.1555412216902; Tue, 16 Apr 2019 03:56:56 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id x24sm70368953pfn.128.2019.04.16.03.56.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Apr 2019 03:56:56 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v2 00/14] rockchip: Add new rk3399 boards Date: Tue, 16 Apr 2019 16:26:33 +0530 Message-Id: <20190416105647.18437-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 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=Y9gF0Mvj; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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: , This series is combination of previous version[1] plus new rk3399 boards addition. Overall this series add support below rk3399 boards - Orangepi RK3399 - Nanopc T4 - Nanopi M4 - Nanopi NEO4 - Orangepi RK3399 - Rockpro64 All the respective dts(i) files are synced from Linux 5.1-rc2 and few dts(i) from linux-next. Nanopi NEO4, Rockpro64 are supporting via Rockchip miniloader, and rest support both Rockchip miniloader along with U-Boot SPL. - Rockpro64, is not possible to boot via U-Boot SPL since it has dependency with LPDDR4 code which is work-in-progress and as soon it arrived in mailing list, will update the same with ddr dtsi. - Nanopi NEO4 has some ddr issue with[2] rk3399-sdram-ddr3-1866.dtsi, will update the same with U-Boot SPL once it is fixed. patch 1, 2: Sync rk3399 dtsi files from Linux 5.1-rc2 patch 3: Create global rk3399-u-boot.dtsi patch 4: move default SPL_FIT_GENERATOR to Kconfig patch 5: Move common rk3399 configs into Kconfig patch 6: Add Orangepi RK3399 support patch 7: Sync rk3399-nanopi4.dtsi from Linux patch 8: Fix for sdmmc CD pin patch 9: Add 4GB LPDDR3-1866 ddr dtsi patch 10: Add Nanopi M4 support patch 11: Add Nanopc T4 support patch 12: Add Nanopi NEO4 support patch 13: Add Rockpro64 support patch 14: Global document for build/flash [2] https://marc.info/?l=u-boot&m=154671835328469&w=2 [1] https://patchwork.ozlabs.org/patch/1054208/ Any inputs? Jagan. Jagan Teki (14): rockchip: dts: rk3399: Sync rk3399-opp from Linux rockchip: dts: rk3399: Sync pwm2_pin_pull_down from Linux 5.1-rc2 rockchip: dts: rk3399: Create initial rk3399-u-boot.dtsi Kconfig: Add default SPL_FIT_GENERATOR for rockchip arm: rockchip: rk3399: Move common configs in Kconfig rockchip: rk3399: Add Orangepi RK3399 support rockchip: dts: rk3399: Sync rk3399-nanopi4.dtsi from Linux rockchip: dts: rk3399: nanopi4: Use CD pin as RK_FUNC_1 rockchip: rk3399: Add 4GB LPDDR3-1866 DMC settings rockchip: rk3399: Add Nanopi M4 board support rockchip: rk3399: Add Nanopc T4 board support rockchip: rk3399: Add Nanopi NEO4 board support rockchip: rk3399: Add Rockpro64 board support doc: rockchip: Add global doc for rk3399 build/flash Kconfig | 1 + arch/arm/dts/Makefile | 5 + arch/arm/dts/rk3399-evb.dts | 1 - arch/arm/dts/rk3399-firefly.dts | 1 - arch/arm/dts/rk3399-nanopc-t4-u-boot.dtsi | 7 + arch/arm/dts/rk3399-nanopc-t4.dts | 91 + arch/arm/dts/rk3399-nanopi-m4-u-boot.dtsi | 7 + arch/arm/dts/rk3399-nanopi-m4.dts | 66 + arch/arm/dts/rk3399-nanopi-neo4-u-boot.dtsi | 6 + arch/arm/dts/rk3399-nanopi-neo4.dts | 50 + arch/arm/dts/rk3399-nanopi4.dtsi | 699 ++++++++ arch/arm/dts/rk3399-opp.dtsi | 133 ++ arch/arm/dts/rk3399-orangepi-u-boot.dtsi | 7 + arch/arm/dts/rk3399-orangepi.dts | 771 +++++++++ arch/arm/dts/rk3399-puma.dtsi | 1 - arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 6 + arch/arm/dts/rk3399-rockpro64.dts | 712 ++++++++ .../arm/dts/rk3399-sdram-lpddr3-4GB-1866.dtsi | 1535 +++++++++++++++++ arch/arm/dts/rk3399-u-boot.dtsi | 8 + arch/arm/dts/rk3399.dtsi | 6 + arch/arm/mach-rockchip/Kconfig | 16 + board/rockchip/evb_rk3399/MAINTAINERS | 32 + configs/chromebook_bob_defconfig | 17 - configs/evb-rk3399_defconfig | 17 - configs/ficus-rk3399_defconfig | 17 - configs/firefly-rk3399_defconfig | 17 - configs/nanopc-t4-rk3399_defconfig | 58 + configs/nanopi-m4-rk3399_defconfig | 58 + configs/nanopi-neo4-rk3399_defconfig | 58 + configs/orangepi-rk3399_defconfig | 58 + configs/puma-rk3399_defconfig | 16 - configs/rock960-rk3399_defconfig | 17 - configs/rockpro64-rk3399_defconfig | 58 + doc/README.rockchip | 209 ++- 34 files changed, 4656 insertions(+), 105 deletions(-) create mode 100644 arch/arm/dts/rk3399-nanopc-t4-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-nanopc-t4.dts create mode 100644 arch/arm/dts/rk3399-nanopi-m4-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-nanopi-m4.dts create mode 100644 arch/arm/dts/rk3399-nanopi-neo4-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-nanopi-neo4.dts create mode 100644 arch/arm/dts/rk3399-nanopi4.dtsi create mode 100644 arch/arm/dts/rk3399-opp.dtsi create mode 100644 arch/arm/dts/rk3399-orangepi-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-orangepi.dts create mode 100644 arch/arm/dts/rk3399-rockpro64-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-rockpro64.dts create mode 100644 arch/arm/dts/rk3399-sdram-lpddr3-4GB-1866.dtsi create mode 100644 arch/arm/dts/rk3399-u-boot.dtsi create mode 100644 configs/nanopc-t4-rk3399_defconfig create mode 100644 configs/nanopi-m4-rk3399_defconfig create mode 100644 configs/nanopi-neo4-rk3399_defconfig create mode 100644 configs/orangepi-rk3399_defconfig create mode 100644 configs/rockpro64-rk3399_defconfig