From patchwork Fri Apr 26 15:49:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 269 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id EBB5040B02 for ; Fri, 26 Apr 2019 17:50:51 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id u2sf2319810pgi.10 for ; Fri, 26 Apr 2019 08:50:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556293847; cv=pass; d=google.com; s=arc-20160816; b=WFMf323v5pFnI1pCXU7AnLz4ISkZQcY9Qz/2IJi/Afbt+MmUWo6BbxLS2TO9YnNkBG eoAi3z5RJ7TNqmnBP+Sz9o5IVn7cYRAe2xK9v6gPEu3JUM6l2C9fN3/sRZ75H+2874BG 1LXN8x54/PXm/T2w/xg/mRjFJ4qrl0zPb+5mKay/HxGyHA7zrqqGMiGRx5zze2JjfiFA EElcuDE9Vivh6JcfzCnzqvRyjiDyfT2Ftqt0I84FWagvxUK4zT7GJotZt3eCIknKw/Bi UcrvAuW3R3cYJ3eSu7h8+Kzvex4WUkOgA92Q5gHALtpKRUAOI06gm995UxWgwlFlDGnd 1MXg== 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=YU6WURK65CkZjXA1cTn05jATLR1pqmhIMLvmjh45uvE=; b=qpXMeupE3KryeBw/LywDg9SHi+4Hw+ceG5vEhWCJzI+C4MHWUickFwmynTJDAX54cW eUTMdwCRzePs4xDXpJjZ+nOSokSZqX1yKY/PrjScazjG+CNvoD/u+2NGtdmPXBwAo1x9 1IzdcY3cyJFGGiHkEonPuFnJFoBqdJsNOBu9x5SUH3Hv5cphEurJ7j/5PgCoGVLdU6ss JNl83n97htXVuVyYy+Ddmye/5XFh4MOU3xLlIXURPSs1WZi+ftqicSCbqqA8MYn6HCC8 iGC4hOWSkdnN7DNSyWZsOh9VS7MrNYv22yD62RQw/XsF5O6sqR5feshqmxx7ISnUJpg9 SF+w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="hrE/gbJt"; 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=YU6WURK65CkZjXA1cTn05jATLR1pqmhIMLvmjh45uvE=; b=qDJzSBxEgetWXsWp3NT1OeWK6U8++RhWorPr4c+Q7J2wHskazQB0G3rGB5GYfbIyRl Jjaz04t2/yZ+YHLCydADbfnnisB7FoxvZcY3hrMRdOldyRYVocCdpqRnWHJdkqit0GQ7 jpyrDarxeohhuTR9mgrnVqBmi/frS1V1b7eX8= 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=YU6WURK65CkZjXA1cTn05jATLR1pqmhIMLvmjh45uvE=; b=HvSwoIGPkkOlr5aAOd91cBdq36ALDxRMbdqGkGaRx095ZjLZ+kqZys51+ROujClAU8 +61CG9ORk7LVtSCoh5wDVrG7QJdp+qqXwxAoGhdb4iLnMmEQyeLZhnq53LvMXN0Vsz7J hX5CWpEk3JkI107M636WJcGsKnsc8ZrMGBbSwUDBsHF4aflIAmJgYD7FB2jCaADntfbj WVZ0pOfIr1gAhxyBdu8aElCRNfRWj7ZzwcoAW5B3xslS/hxdDULK53+mGIyoKrxTAC9S pZrtKjpFOOD5uMivh9s2HUGsBxTOxqsvz5CZHBYLaD9q62R89JHWm3d4fhURUIVnY94x 5CLw== X-Gm-Message-State: APjAAAUP4ayWJYpHhqxmDMyFtjATrr2ltj1T7MrgK421KPX5id9tiIBq ISorCcmUwQFfk2YGl5KS3WtB2EfN X-Google-Smtp-Source: APXvYqxT+bntfJ3ib6U4bQtt1GDzhGFaKv/uNEbcJ90yzJFI+afZTMplI1Xh6AiePBdJzDVfLV+nvw== X-Received: by 2002:aa7:8092:: with SMTP id v18mr46983128pff.35.1556293846017; Fri, 26 Apr 2019 08:50:46 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:a984:: with SMTP id bh4ls5895964plb.12.gmail; Fri, 26 Apr 2019 08:50:45 -0700 (PDT) X-Received: by 2002:a17:902:121:: with SMTP id 30mr44978819plb.174.1556293845541; Fri, 26 Apr 2019 08:50:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556293845; cv=none; d=google.com; s=arc-20160816; b=P9HYASeH0M5NvzZQJf5PDqH7P43KmtBsJPGf4pxbAzjcDmujCTLE+ptBAXh/N3+425 oKOBc3qUdDYkYcB7BMWlaZXhTB473cPIfG+vVItgIowFfrgLQvx7mJYUU7tLlEOE266P 0FBhDtAn9PVtLNZnfmA+CJd3YSg/xQm16lUjTu75AIwbETcx7ZTY854XmM7CYQ1y2E6t PLM1zFvX0jxXpQooAD19Vo7DIssZg+Y8q2lXi0Yuo+pY/s4XzYII5300h5sy1aTfgpbg bxyJH6X16RalCLRJARHCFeI4iFllxD+44FcQutM93jvW5e++a0I38D1vYfVL4jGJqqZR Bm8w== 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=WcqD9McGPHr4IQiO4yUO9c7igpu9OigXX/DnmDg0WEg=; b=EUXOHJyQf1+UJHEmqyVdrItk71e/ghtJnnWRxDVmvUok6MNdI4zOnIoDKQ4sHjM8Rl miZR9zq6FnK0L2d2ob220p31bnEV/3lLJ7WMRCqlRSyKzenqWR8PHGpybHZjyOPxDtDh nBqENTJAkFfXxFhfBohG1MsWot/FMe/nbhjcpPatL6F9mQlxR9p0uxJMx61Jp8hR4jKH BR+gCmo0DPP0uEMORY3d/PUC0vPBcq68PyJLdGUD/zzr1X7QriSZryIi1f6+MONMYdlg uZcH7H3XtEgnrUeflHtBPy1P3GkG3Ljpzm8LM5jVsEfZ9JPR0+J28TuexxVaSLTWG4e6 em/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="hrE/gbJt"; 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 n20sor1959526pfa.41.2019.04.26.08.50.45 for (Google Transport Security); Fri, 26 Apr 2019 08:50:45 -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:a62:70c6:: with SMTP id l189mr47823829pfc.139.1556293844401; Fri, 26 Apr 2019 08:50:44 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id e4sm12019017pfn.185.2019.04.26.08.50.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 08:50:43 -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 v4 00/13] rockchip: Add new rk3399 boards Date: Fri, 26 Apr 2019 21:19:47 +0530 Message-Id: <20190426154956.29567-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="hrE/gbJt"; 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 v4 patchset for New rk3399 boards support wrt previous version[1] Overall this series add support below rk3399 boards - Orangepi RK3399 - NanoPI M4 - 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. 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 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/1086213/ [2] https://github.com/amarula/u-boot-amarula/tree/rockdev-lpddr4 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 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 Nanopi M4 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 | 5 + 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-u-boot.dtsi | 8 + arch/arm/dts/rk3399.dtsi | 6 + arch/arm/mach-rockchip/Kconfig | 16 + board/rockchip/evb_rk3399/MAINTAINERS | 33 + configs/chromebook_bob_defconfig | 17 - configs/evb-rk3399_defconfig | 17 - configs/ficus-rk3399_defconfig | 17 - configs/firefly-rk3399_defconfig | 17 - 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 | 209 +++++- 31 files changed, 3651 insertions(+), 102 deletions(-) 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 arch/arm/dts/rk3399-u-boot.dtsi 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