From patchwork Sat Apr 27 11:48:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 292 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 449823F089 for ; Sat, 27 Apr 2019 13:49:08 +0200 (CEST) Received: by mail-pg1-f198.google.com with SMTP id z12sf3837933pgs.4 for ; Sat, 27 Apr 2019 04:49:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556365746; cv=pass; d=google.com; s=arc-20160816; b=hT+aE6Rf6J3zuf3SRc3qU6+61xmrEeTzoYRMy8lWbh9Ve4gPLmOiZJ0Hkh+MwRmsgQ p/206DPQ0YfWHL8uu58sYzfUi4ycJ7b4QepPkPLI2msuTa1SG5Av9nZt2UkCLYp4AKo+ zV8NTV3KAu/438cJXRp78zM7LCbIPjwtx1qU9xcZt2ClU2a92jnugPX+N+mD3vEQ9rkM 3Rs3b67sUgdvQQ8a3KWR3noqHHEUDtw16PKPX+FfkH05mObxIGrjrHNx9b6b3eIrzoPt 8cB85Io9x7Do1uGxEynX/qu43QU6aaA6evMLzoOR5bdIBn5AVIeBtpAjtQNBuAQSZ4OY O7FA== 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=D4XJ1aObVWEcWmC12pEBJKQE2K4RkzKZaWJ4XzHyeug=; b=KFIImkuq5rRJJGhsGeul47q5IBZtit8FzE8gt58LlPt8urTnLR0o0Zvnyd78j8SDEk P1dD17ctbv9ljwcMbVWRtRltCOkaxgs+O5QhadNFHRJhiy1bFDC31ACNBE1Rd3V8h2to lY4ksYb/o7jQsOXCQljmq9QyR6+EhFi7RSP1u9QMZtjLUiIuJxQ5rZLVwESUdeGaNcKI G8i4/ggMxOcZjKvoi9+bNHI8RLfO12/judff35IkEgpfp4MDyJ176iOI9lYAusO5YcGS Yq6e2hL2iVJFbotGlPrZmLcyDtKZHAccv/laDmUzAbm+RTaLg6Cus3WoOjLQm0UAlmv6 eXsg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bKOQhfmk; 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=D4XJ1aObVWEcWmC12pEBJKQE2K4RkzKZaWJ4XzHyeug=; b=fczY+KKTk+7JDo7BArZQjDdH+7qfXfE3F2gZxVLhIRamTnEwwbuLjwHcIkUlsW/6Hj 211Mh0dFMDUFGveCvZIXrZV9PBCp+BDgatfagWf0YbWOJ+0esGhkHYvWZtHodKpW6ix1 9NzEwb3B/ZZtsNX2cEehUfOEiSDUqWIo+OPfk= 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=D4XJ1aObVWEcWmC12pEBJKQE2K4RkzKZaWJ4XzHyeug=; b=PXQ8hVEt5hT8j0Gdc5M0A1jgkBokjhZFR2pgz+BcwNdQMNO3xyhNJqdHfWifX0BlJg geYdhNB9hYAqScKPpRbUB2yE6FIhNI0VJH6dHJJoZqidgrZsLdDTcgEx1hVwXdk8bMlb 9UQx59GxMZ/oVBNkxkDKul5oDLUhai/ZfjQHx4o2xecPkJgTKrxGvCe5UkacSiYVToq2 6PgDvNgahEG/NtI9IJvKRu3ALVPtDHVED5ZS8hM2kz87qnMFIuWRQH+ct7DwRylwae5Y SYfo6wixvw4FUuXau6gEvFJKrPvn52edSq9wGpQEBkJ71tIA8VUJ+vd5jbGdOJ0tIE8x I1OA== X-Gm-Message-State: APjAAAVQhtUzILUtdvahfj8RgKYjBFd6XMxZahp4ssjqWi2LvkSREvng NMYdF84VX3OIrxRv6S+jIxHcxY9e X-Google-Smtp-Source: APXvYqy8I48FV247YXnb0j+dh2BCx4QutYqxf1FvLDnE9QdR1nVDBLNSkJTd8cHW2y782KRUM3L0dA== X-Received: by 2002:a62:e414:: with SMTP id r20mr16562592pfh.143.1556365746618; Sat, 27 Apr 2019 04:49:06 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:aa08:: with SMTP id be8ls7697022plb.14.gmail; Sat, 27 Apr 2019 04:49:06 -0700 (PDT) X-Received: by 2002:a17:902:b40a:: with SMTP id x10mr51394557plr.231.1556365746094; Sat, 27 Apr 2019 04:49:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556365746; cv=none; d=google.com; s=arc-20160816; b=hZSUqvlTgLaL/7PIKvErQmsIy/rpqiWdSp0Mj5GzGftMyPuv6b6rWbXSURNDdKwS2W gTkhEi5KevwzdjjRZXgH9pKtnkE8n2DrVuuVN5ydlAzau+S4b4q8XScVCngZuNPPOON+ h+owQEqCJx3roMYOcUVbI2yr2tqKBkqoKIACMxQ2ScHQ5HoVFukeE+IJxIJj4JeaeMI5 IxOvU/3Oyyv41fxfgFSCN4C1+zGy5hrmU4t1Qiw35x197UUwRI9sj0pagpTDMMmpF9VW A2W4cp/RBdmCNrK8Ep4ZE/PUtTnCJD9ZQWLmvlsbmLfYcy37rcVOUqWj5SYsl6bS+2AP qqNw== 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=7tiRNMPrQpiZJHMzCydiayFwTcOVCEl2dY7HQGjflDg=; b=SVqJo9FTSs/zMz4p5fwuVeoWb5c69x4l8Sl0Eyomq4TCD/AcVA6Dhb7EiHHT4BixUG uiNHkaaIoCEyFnPo64Lou2hzEAb60qMFWu//I0ViD46nnZeoMOFhjhhpDb5orSDRuxT2 KFVdmr7+RzmG/XPnO+mJqYKhRJgyYz+5FCXqGMHGnBishzIlfNnER0uhkyR4v2dKNYCQ RCah9WHuEFlaLhcUihuduPKWrx5krtjy4EUXsIyeD9fIZy0mcFMLv8jIAEGZRrHLvwBh 3IpRzSZhNQX9xwIv5++FmKBxDRR4uXlxPcC/vwRbunRG35dilxuXqVvITBJTbNe2kKWf RDtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bKOQhfmk; 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 n17sor412156plp.18.2019.04.27.04.49.06 for (Google Transport Security); Sat, 27 Apr 2019 04:49:06 -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:2b87:: with SMTP id l7mr51794655plb.130.1556365745771; Sat, 27 Apr 2019 04:49:05 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id y3sm2368768pfe.9.2019.04.27.04.49.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Apr 2019 04:49:04 -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 00/13] rockchip: Add new rk3399 boards Date: Sat, 27 Apr 2019 17:18:43 +0530 Message-Id: <20190427114852.7608-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=bKOQhfmk; 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 is v6 patchset for New rk3399 boards support wrt previous version[1] Overall this series add support below rk3399 boards - Orangepi RK3399 - NanoPI M4 - NanoPC T4 - NanoPI NEO4 - Orangepi RK3399 - Rock PI 4 - Rockpro64 All the respective dts(i) files are synced from Linux 5.1-rc2 and few dts(i) from linux-next. SoC u-boot specific dtsi rk3399-u-boot.dtsi changes are part of another series [3]. Out of all above boards Rockpor64, Rock-PI and Nanopi NEO4 would support booting via Rockchip miniloader as of now. For booting the same with SPL NEO4 would require dynamic dram timing detection and rest require LPDDR4 code. There is WIP[2] for these dependencies and this would require big chunk of changes will effect all the rk3399 boards, so I'm planning to mark it for next MW. Changes for v6: - Include Nanopc T4 support patch - drop rk3399-u-boot.dtsi patch since it is send separately. Changes for v5: - Make all changes related to move sdmmc, spi1 u-boot,dm-pre-reloc properties into all rk3399 dts(i) files. Changes for v4: - don't include existing dts(i) sdmmc, u-boot,dm-pre-reloc into rk3399-u-boot.dtsi Changes for v3: - drop NanoPC T4 for now, since board is yet to receive. - add Rock PI-4 board. - add separate -u-boot.dtsi file for nanopi4 sdram changes. - collect Paul, Philipp and Kever Reviewed-by tags [1] https://patchwork.ozlabs.org/cover/1091712/ [2] https://github.com/amarula/u-boot-amarula/tree/rockdev-lpddr4 [3] https://patchwork.ozlabs.org/cover/1091909/ Any inputs? Jagan. Jagan Teki (13): rockchip: dts: rk3399: Sync rk3399-opp from Linux rockchip: dts: rk3399: Sync pwm2_pin_pull_down from Linux 5.1-rc2 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 Nanopi M4 board support rockchip: rk3399: Add Nanopc T4 board support rockchip: rk3399: Add Nanopi NEO4 board support rockchip: rk3399: Add Rockpro64 board support rockchip: rk3399: Add Rock PI 4 support doc: rockchip: Add global doc for rk3399 build/flash Kconfig | 1 + arch/arm/dts/Makefile | 6 + 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-u-boot.dtsi | 11 + arch/arm/dts/rk3399-nanopi4.dtsi | 703 ++++++++++++++++++ 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-rock-pi-4-u-boot.dtsi | 6 + arch/arm/dts/rk3399-rock-pi-4.dts | 606 +++++++++++++++ arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 6 + arch/arm/dts/rk3399-rockpro64.dts | 712 ++++++++++++++++++ arch/arm/dts/rk3399.dtsi | 6 + arch/arm/mach-rockchip/Kconfig | 16 + board/rockchip/evb_rk3399/MAINTAINERS | 39 + 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/rock-pi-4-rk3399_defconfig | 58 ++ configs/rock960-rk3399_defconfig | 17 - configs/rockpro64-rk3399_defconfig | 58 ++ doc/README.rockchip | 233 +++++- 33 files changed, 3830 insertions(+), 102 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-u-boot.dtsi 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-rock-pi-4-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-rock-pi-4.dts create mode 100644 arch/arm/dts/rk3399-rockpro64-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-rockpro64.dts 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/rock-pi-4-rk3399_defconfig create mode 100644 configs/rockpro64-rk3399_defconfig