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: 10902701 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 02A2B14DB for ; Tue, 16 Apr 2019 10:57:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D570A1FF62 for ; Tue, 16 Apr 2019 10:57:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C910628569; Tue, 16 Apr 2019 10:57:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C33EF1FF62 for ; Tue, 16 Apr 2019 10:57:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jxDbFGTjSWPg1B2d4FQuhP5BA0XG/s2cMVy/ECDF0io=; b=VMj3KQulIi9DOV sGpURk3HgNhfV4YTgXTXvEbXLJa6Lfi3HocT7xEDvOf8n21JCvPvVIFaHnM2p4sM0cWQZLKhsZgT7 qjNCaRa0zFzNO2HKmNKKI8E+mQpIAIohQ/AfT9YFzqwSODcfWUD7bgf1ji5s/I/kX7XWgjuZehTBB BtGUy0vFJf6Cj8PcVIC3UePeEZggQ8CH+5NBzt8vvRCZJD9RqSIbpeYHK5FHU2YXPl65tWIPJWhHb iS87P0Q/zeHFemmNYmLcFm8JWdIB40pF5pL0mji9DqOv0Xy40qDM3LWNpnZdXJ8ZiNejyf22iE5nW NWJNx+t8rZOcxSKw77hg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGLlw-0004QR-1f; Tue, 16 Apr 2019 10:57:04 +0000 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGLlr-0004Pk-Fv for linux-rockchip@lists.infradead.org; Tue, 16 Apr 2019 10:57:02 +0000 Received: by mail-pl1-x62e.google.com with SMTP id n8so10141602plp.10 for ; Tue, 16 Apr 2019 03:56:57 -0700 (PDT) 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 :content-transfer-encoding; bh=BZ6c1AZGtCpS4yJclK3+Inhv3292mZjxbHG64LBHt2A=; b=Y9gF0MvjJ9Nl7gbJIssGevJO1puKb+jgIPAOMGoih+PG8416IB0qiYjIZXu2BMBsli fPSuEd6+9jJya8x42ll2Xlgp7U/uMcoyxnq4Otb718JjlKqmVCLGzB2T1Fvlf22kgNmo 1BRZl2hc0spCRsiLX3JN6554AYIe7GWPFhIZE= 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 :content-transfer-encoding; bh=BZ6c1AZGtCpS4yJclK3+Inhv3292mZjxbHG64LBHt2A=; b=JPwhzaKGTSZDlTz7a6hTSGCef50Cg6UPYUDUMevgjD2F0xJ0kT0PdVTjO4iadkgud7 tdEoH/SjTmuKMECl4AFNE4XT3q/2FHEowNT38R55aka3c02beY/aeVkQx5pXEePCdeY5 rCktrD4xv6WAh/rl2oLtL7+6TrDhs4qwSxxc6+/apoa+1m4orv9YI8lAINq1nak8T2Mc W+Aee8k7prkDgiQQjzZ5/XtAr5dtVRaLTtCQdkmoz1VIecKvWSGp64MagAfuu+4Tr2Gu P4Hw5UkYyCMyLODO4Jx4zBSR602ZbCYAotxhuUDcK/I7WAQe0Mil0+wnuE/kqs1Dsp2c AKIg== X-Gm-Message-State: APjAAAV0TVFOkgrRXwxpmsmqUX4YpP2JuUW0CTLnrKWwMDJaGnyIQrfg 1P69bDj9j/js5bS47fAIUsvs2KNjL5nS5Q== X-Google-Smtp-Source: APXvYqy5zF7wlsPjPP1oLrEmFExNNAfWKy49bkWFhXsyeGkl9sl6IY9gpt0FpY8ma1t3T6YwetI9/A== 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190416_035700_795028_0BCC73CC X-CRM114-Status: UNSURE ( 9.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki , u-boot@lists.denx.de Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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