From patchwork Tue May 7 18:36:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 361 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 122973F085 for ; Tue, 7 May 2019 20:36:40 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id y1sf3626021plr.13 for ; Tue, 07 May 2019 11:36:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1557254198; cv=pass; d=google.com; s=arc-20160816; b=ym0GbchyHj2qMlJibntvpZrVRd2AEo6QxYEB6rxwe1lCUepDwAXDegl7Z0eIgJ80Iz uxWRMSkKBZ2AQFvmQwOhN7iL5f2VW0tiPmWQ95u1Zzb5hmDX7joeCslHvDUEiEbwnzIx KglpfQmV6l7PX5qXnYdpr4gbyoumb7b6GKGtsmnVTZdZAALeqml2UoNLrx/4hlvkFfFb mYuQbdkh7u8WbwE9RIuvO5Daj1FPUmwYiy9eJOOeBKiQaKB+2r8UTnVZqePBLSGOlB1t JwLYl/jOrNYtaj+3kHHSOHkKxeTSsuZTSnmoEB9eDwQ4RZ8fNEOVmxQS2qLoB+ccT0rh kE+g== 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=f+Hdh8mxQt0xnWSmFCZctKteCeCacc9QmID+l0vOnDI=; b=RrnbMq5o7npmIVv1HXifSNIGwzqd8mjCQKkMadOp+V8SxX40ptybvHk7dCDImEswWr F2OlLYh5BrAehUDDRjkYESdF5VsjjMklyf4cp0bgA67opZ2vDaXVA6itPtQY7VFH/RJ+ xUjFfeQ4g/ZKa8YeeoATz4YLS0TRHgkfjs52OaOeqcjqg4i3cl1LB0J2GiL7538kzla7 nzBYvFSNhgjcQbpKm6+mlN3b1VkiQLCscCQpAUsh42iflNi9Pco+TKoMENwTGAO3yk+5 /24gzM4eLn9xclNWZsABSckb1gz2QnTaMXKv1raNs+CYNeBmWcjcx8fYy9OP20uNp1+d H6tw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Vk+ztmPQ; 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=f+Hdh8mxQt0xnWSmFCZctKteCeCacc9QmID+l0vOnDI=; b=g4KVtOMjnKGUjTDUOZfgyeW/sdxCCm9ogwSpd/VdsNOxHzrlzh/ebD2M6j21hIFgco OILVka+EkyfC5KeAVqIq0k0TF43tWL84G3Ge5TUtb85XzrjHa3v4wcDZ+cxeBgOQQNcZ oI3veW3+ShjMGmpP41Xj4fTobKlisEOqLfKoY= 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=f+Hdh8mxQt0xnWSmFCZctKteCeCacc9QmID+l0vOnDI=; b=qaaCpBmod9FgIvcCQgEIJ5AaZo83c/l8DALt4tmtj2km7HylTQpbQ2GwhdStqwpG3c R7exySPr6lf8DQfoigWqSihicIN+CGfryt6MGz4VzRwPJConnHiuGpJgluYXqZfLbSlF +Xoy6R0giinJ7YW2w6+LnWdwwaVICLDFHcLmYGsq9gDxKOE+rhyx6bZ0+h+cJTt5oQBu dYOPlcQCYwTYd5I8Abg0+eA8w4yPEmyZ7LyDNRovppSdNieqtcnt4BpDsICwq6Ko40n/ 3AC3ByjUgr5KwTmtRTCpNdCv567SjcJ53Ohp2aBaRNgscbfhtw3j7A+IwLUzdOGGQ/AM qy8w== X-Gm-Message-State: APjAAAVkRmrcE7Tgh1JTzfXyfma3UKJt4idYBq5i4tr+jnv5TvZHick4 NDYsWrXPBTDiLvggPPVNSaVYRNfW X-Google-Smtp-Source: APXvYqwnNM/bn+5Af1pr1GEpzRYfFfa+uc01XP7w7iacFq/KmkQUQTaPx3io1mGEEF5i2dTG1OviSw== X-Received: by 2002:a17:902:8f82:: with SMTP id z2mr42669218plo.51.1557254198234; Tue, 07 May 2019 11:36:38 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:b611:: with SMTP id j17ls195366pff.13.gmail; Tue, 07 May 2019 11:36:37 -0700 (PDT) X-Received: by 2002:a63:e408:: with SMTP id a8mr23051810pgi.146.1557254197804; Tue, 07 May 2019 11:36:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557254197; cv=none; d=google.com; s=arc-20160816; b=OX8ozAtJppUOR71o4qcKSWik7Q2ZdloNrgWr1S6FrG/zOEvwwBRqxNwB1pMt32vaWJ kIxhwFwQC/Y3o94J5nY3GVim17zS76IIFBaSJMtZ6mxck1qp3GwBDjn6XFAlntZFPZ/8 V5YgfloUJ4p6WvusFLwSNu5wk2udckxCQ9V9n5Ub2hVlt0VxUif9qxAds4BwltQHy2kb /LBfNyFos1+KidKYq+YbWCfo+RU61Lru6rhADLk8IAfcTY0JckH4XSHXjpfYmCHZKcGQ 6kFDyPDHRYbYz6gu6KY/KH+zOSMlvJkhQouvRANfajePvNa7yVxRGJbjISmMbiLIhd90 Rx4g== 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=2GwT+05lBI5NivHnupzBp2Ei12dhXBwiTA+gDhRVV4A=; b=TtFPJK6ivlQxuFCSnQMl5edhUWbMDleL8NOhA1tgReINcJC0z1D3SPaifnsGJiK/5T U/soKXDqBH0B13trecTkZt8hd/icW0TcBlV26kcTemxCFlEiPf1F66Rn+rYtJ2LDmMUr 2OYRI1RhnI6QGtgWxSQPgA9Sh7cLL9TDuXKv0OFK9iK3D/T0NP9Id8CRVZvj3csVkdN2 CyJAFupBcRPhezH1dbbCmoPOZoY7u7huH0Vgp4LTEEUQey9bsF4Itpx6Lhs0PfFcNCgd zD8lgL6SUgtaTVv74LgKrXPnAoxAEA2+wIsYBGIzwIb7EpN07jht5tel+Nk+WrXTIoqQ KzgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Vk+ztmPQ; 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 126sor14892359pgb.51.2019.05.07.11.36.37 for (Google Transport Security); Tue, 07 May 2019 11:36:37 -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:a65:51c5:: with SMTP id i5mr41643214pgq.189.1557254196850; Tue, 07 May 2019 11:36:36 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id b22sm21743728pgg.88.2019.05.07.11.36.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 11:36:36 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v7 00/11] rockchip: Add new rk3399 boards Date: Wed, 8 May 2019 00:06:16 +0530 Message-Id: <20190507183625.5983-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=Vk+ztmPQ; 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 v7 patchset for New rk3399 boards support wrt previous version[1] Unfortunately initial version of creating rk3399-u-boot.dtsi and orangepi rk3399 changes are merged, so this is rework on top of u-boot-rockchip/master. Overall this series add support below rk3399 boards - 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 v7: - rebase on top of u-boot-rockchip/master - add SPL_TEXT_BASE on each board defconfig - rebase on required changes 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 Travis-CI: https://travis-ci.org/openedev/u-boot-amarula/builds/529284236 [1] https://patchwork.ozlabs.org/cover/1091914/ [2] https://github.com/amarula/u-boot-amarula/tree/rockdev-lpddr4 [3] https://patchwork.ozlabs.org/cover/1091909/ Any inputs? Jagan. Jagan Teki (11): 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: 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 | 5 + 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-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 | 5 + 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 | 59 ++ configs/nanopi-m4-rk3399_defconfig | 59 ++ configs/nanopi-neo4-rk3399_defconfig | 59 ++ configs/orangepi-rk3399_defconfig | 17 - configs/puma-rk3399_defconfig | 16 - configs/rock-pi-4-rk3399_defconfig | 59 ++ configs/rock960-rk3399_defconfig | 17 - configs/rockpro64-rk3399_defconfig | 59 ++ doc/README.rockchip | 233 ++++++- 30 files changed, 2857 insertions(+), 119 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-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/rock-pi-4-rk3399_defconfig create mode 100644 configs/rockpro64-rk3399_defconfig