From patchwork Fri Jul 24 10:51:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1577 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 568663F053 for ; Fri, 24 Jul 2020 12:51:36 +0200 (CEST) Received: by mail-pj1-f69.google.com with SMTP id q70sf6175598pjb.0 for ; Fri, 24 Jul 2020 03:51:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595587894; cv=pass; d=google.com; s=arc-20160816; b=KxGyZd8ol1by4aTmWkKz2u6ZgwfUDcSYbfrz1KAbs7MXHdHwNgGtPKliVvy7IAqK6s whflmnUkTfJsoVEsbm0IVK+j0IDJs/Qpk2HwiZREqjfQt7WwnAhrbuvbJ+TIUxCP8W7a sdoq3f65rnJHeHxWTy3m9ezoEUwfCRABc+n+NiKQX2/+amLCIDJXJ/EZdIvUds3xAKNp WYm1IPU+5LKxoa1G/X2+R++87BAqgVY6BmU/EOubDuhAiJvZIvegU3VPj6upXEaD1WIE ZQfnBG8IBVipfukWElcEi9CPMUHvONCm47gBGHbhCwD6ZcjgzLJE4x32FbXCQZFeq3qQ uBVw== 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:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=R58bogFiHXzVSkJc4GfOD5MD3x3TGN5jCkjPY5EfHRc=; b=OKWJnWRvO5YFYzf+rI9ZhDYdPUrcEftZzwZxjwlAvSPcV5EysfKh6EIqq6YZR0gjPW i8R4E9VSJn5XPzyNIF6G1qsF82y49JkuCcrGnNcS78UTfntMGBJcgJ1bNvlg95zRA4CS 8MqquxmupXZVc8p43OGPBTC5q7Eq3x6Vd8gh7dThB2fYCsMPEkhi0CQ8KosMXr6GtWre OTV/wHbWZjtBb+AxxOIZ60NB1gUkJ7NtVTD8cOURclAPKVZxUKCqSs6mp03gwaocbKQe YIkHZ2cGzhI5N3DO9JFYubXH6qgRGPGm1hjSU4l/e7xI68GjP4J9DS1X6qVEX/0COGHf F8qA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NNVFxsBX; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=R58bogFiHXzVSkJc4GfOD5MD3x3TGN5jCkjPY5EfHRc=; b=oR+s7a1AmVsbFwp+6Kw+iiUa3X8Y2mgW6u9TvewWL++7Hk6Ti+Tc7/8sqlHgS+hbao jO1YbE5XpadA9GlrsnhV3CVJ4jkYd505+9EIwDJnKu8LJKiocVgmBUAEsxlKv9EsVrJ2 4UFyGg14EE73xH/yzAdGDjJX4UNjgmQbU7FIE= 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:in-reply-to :references: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=R58bogFiHXzVSkJc4GfOD5MD3x3TGN5jCkjPY5EfHRc=; b=Fc2p22ilU5IH9QybJp6vV0BIhi0VS2N46gBtRDlFE031sZtgLAdO/qB+ngyhnUKriP DDYNwUyQtW7YumAVHoTiNLSeF2b/T69eCfKasXBS9X78JIL/PPN5xD7scwLSVwS6lYmC CaktSfQdKGAxP76in8vnEmP5roxw48hZRCPoywvK9mcfKs6ohsCokHhDzqb8YPnpyPnd ISYhNpNLW0Jt44TvCKVe2ylDQBxqyWygur8MfMHruBKAVxTS1GMjsE7zlETGE9uwwpKf 5kyWeaUU6ipLpAYOxWHbCiR90zwNC87qrLvmjzLwk6VoI4OmsjZAsg5IXmAMPNxv0/DS z/tg== X-Gm-Message-State: AOAM531gnPVcXM1K4wcd0mhV+K61j17mgZ+soozteP+1OIPN+8+VZTj4 vRVc/ASMbV+JWwSl+DuNPN7r/VXH X-Google-Smtp-Source: ABdhPJzAk2AcZhDz5Tbi446iRUBDKBpPxAJm85CDejxXf2kuFYG4ogeKG+ZTynUHcvpQ3MyUSYv2pw== X-Received: by 2002:a65:4c0b:: with SMTP id u11mr8201897pgq.383.1595587894133; Fri, 24 Jul 2020 03:51:34 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:bb8f:: with SMTP id m15ls3369112pls.5.gmail; Fri, 24 Jul 2020 03:51:33 -0700 (PDT) X-Received: by 2002:a17:902:e9d2:: with SMTP id 18mr7677769plk.40.1595587893664; Fri, 24 Jul 2020 03:51:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595587893; cv=none; d=google.com; s=arc-20160816; b=AkjVj63V2wES+B5/OAAV6ec/2//+yVCe4sZizSbkqSxGXbQdK26GUFgxdYTBZv4MBA jtF5fWOtSUlDvvdfRA9bdV9ps0A77KijAiqK4pvxYlnEmb3akK6e0jhkSwtRWpDLw1O3 RYiEcaNo/dOkeG6Xhe+1ueoJQ8MKHA7MBnJ5Apc4Bz459h0VJzX/ZO+SiLrmqbWYnHST 3qMHgWaMGyvEAbm40sAG/nx4WYqsTHI59e6Ew+ZxEXLoKGDcBXU9JogKQJKfLUa2tiwi YLnHiEo+HXftLqp5lM3+4I+ibRC1MBJnPEl9sF620Dz76XfWSDSBRB09mojT9sy3qU/w zINw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=uDer4usXFYDiEXdUd6ogJA5Xryj2I3qqWDB4HjkhE98=; b=qUyPDQbax2Izb9WXB0k2c8SKVGg4GHVjmMtYN/qCpLrRayzdzHbcU0jhzUgJ3wGiRr s6oXp/RuHMCedeqt26peFiBgTR97tDNqOr0loOili+MtHk1ybkhtsNg0kL/njbGhtfQK rdghXj6f8Q4G9j6ui/dEjw2IEX3dwA0JZ0YYiDGiuBZjx8KyRdG2ge8AZivncKsouVr4 gy2vRZurU7bnvKATFKtODdqyzdfzgcFKX+vUaa4+6aZ1DAv7v8hVykCC9in+H5AtBewg NZIX2PcydBsaO/qIranlHtdFk/q2RwGYVVLkOGNlbRuUP+HQCS/pi8yrQHP09In9Nem+ 6N+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NNVFxsBX; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id 125sor6667082pfv.48.2020.07.24.03.51.33 for (Google Transport Security); Fri, 24 Jul 2020 03:51:33 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:1c9:: with SMTP id 192mr7913905pfb.22.1595587892690; Fri, 24 Jul 2020 03:51:32 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:cd2a:efcb:83c4:4e50]) by smtp.gmail.com with ESMTPSA id g22sm5595498pgb.82.2020.07.24.03.51.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 03:51:31 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 1/7] arm: dts: rockchip: px30: Add Engicam EDIMM2.2 Starter Kit Date: Fri, 24 Jul 2020 16:21:13 +0530 Message-Id: <20200724105119.13123-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200724105119.13123-1-jagan@amarulasolutions.com> References: <20200724105119.13123-1-jagan@amarulasolutions.com> 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=NNVFxsBX; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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: , Engicam EDIMM2.2 Starter Kit is an EDIMM 2.2 Form Factor Capacitive Evaluation Board. Genaral features: - LCD 7" C.Touch - microSD slot - Ethernet 1Gb - Wifi/BT - 2x LVDS Full HD interfaces - 3x USB 2.0 - 1x USB 3.0 - HDMI Out - Mini PCIe - MIPI CSI - 2x CAN - Audio Out SOM's like PX30.Core needs to mount on top of this Evaluation board for creating complete PX30.Core EDIMM2.2 Starter Kit. Add support for it. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Note: - Linux ML link: https://lkml.org/lkml/2020/7/23/518 arch/arm/dts/px30-engicam-common.dtsi | 31 +++++++++++++++++++++++++ arch/arm/dts/px30-engicam-edimm2.2.dtsi | 7 ++++++ 2 files changed, 38 insertions(+) create mode 100644 arch/arm/dts/px30-engicam-common.dtsi create mode 100644 arch/arm/dts/px30-engicam-edimm2.2.dtsi diff --git a/arch/arm/dts/px30-engicam-common.dtsi b/arch/arm/dts/px30-engicam-common.dtsi new file mode 100644 index 0000000000..fa0645231b --- /dev/null +++ b/arch/arm/dts/px30-engicam-common.dtsi @@ -0,0 +1,31 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +/ { + vcc5v0_sys: vcc5v0-sys { + compatible = "regulator-fixed"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-name = "vcc5v0_sys"; /* +5V */ + }; +}; + +&gmac { + phy-supply = <&vcc_3v3>; /* +3V3_SOM */ + status = "okay"; +}; + +&sdmmc { + vmmc-supply = <&vcc_3v3>; /* +3V3_SOM */ + status = "okay"; +}; + +&uart2 { + pinctrl-0 = <&uart2m1_xfer>; + status = "okay"; +}; diff --git a/arch/arm/dts/px30-engicam-edimm2.2.dtsi b/arch/arm/dts/px30-engicam-edimm2.2.dtsi new file mode 100644 index 0000000000..cb00988953 --- /dev/null +++ b/arch/arm/dts/px30-engicam-edimm2.2.dtsi @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +#include "px30-engicam-common.dtsi" From patchwork Fri Jul 24 10:51:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1578 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D33D43F053 for ; Fri, 24 Jul 2020 12:51:38 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id p127sf5979543pfb.18 for ; Fri, 24 Jul 2020 03:51:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595587897; cv=pass; d=google.com; s=arc-20160816; b=JYkN0wbQCnzRlBOgaFx6wcusjiL9fTMCMvTHAOtTUIdpbVbEIUwnOFxkAbA6ZvNig5 HOJ0boI8bjdU/Qlloj+Si22JVe7gPY7AynUZqGbc1nN9kSWxGU4vbTl4BX61fUG2YodG LEAXRSxp8Gh0NHgTLBzt9qH+zO3jlajhhmE36YhMrEUsJRD2f63xGxM9+C2NOCkmtxVd HM3CW4YIV0vE6STSy7SBe0fOYN2pWC+SU3M+1VFReVoHKgW1U0Dqbk3pL+cQyP6nkC1g mHiJtge0DIMJQc6pZIcV9s71T8yuWW7nfRunh3cIpubhKVvVPYC1bI8d9gtzYLgkGI7J mAhA== 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:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=vzw64cdQArsNjCcK42Fyujr3SpVAmyzeTduyqSq7DE0=; b=WwxfJcVuab7fhn/Ol47PNbEgKbFZdmqys4fPEJ318bduLOcAVlCX0T98qprQEdZd9Z G5mZSURRbB7xQ5HN3eCfDMHuXdFbXeBV3PzWg0//d1FNI2/orj4n7mqGjuqg4W0S2jMM ylyIhS12iJPkUAFJhKisZTI5cGzOfEguHApOfgzSy/TV3b4TMKhwgph0iaEX73UXbX48 yOu7OEcO0Cc2dMrctD3MruEcWTXSaq2ZbnnRL1OvQIK4kc614UxnvuPwSXuOSXlZny+n Gk4LGhOkA9og3GCQScjp3nsN9+tsIOyPxiA9CoxLzHl98aql+jZqusIOblwpjXu45oOJ pFlw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=doVDXE0D; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=vzw64cdQArsNjCcK42Fyujr3SpVAmyzeTduyqSq7DE0=; b=TNottzcjY3Jvuew/bT0pxRXXxvsuH0/kyyWsWTZ+k5HFFvBmUOVaoptxeJAXcH5cd8 c+y3kJ1teUe/OgOrXodn6cyvYForpRKfrb6kEf827XXy22GYtJ5u83SfwpvHbvMY0I7u G/qDV6NdCcJ1eF7UC6TN8mrW83xdjvSQvoJTY= 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:in-reply-to :references: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=vzw64cdQArsNjCcK42Fyujr3SpVAmyzeTduyqSq7DE0=; b=eV2mO9J9FggvS9efcT1uP5k8PxsrG/Gc/uaCxlgYV25ZQhm3o8yR5TtrpFoJEUkRjd a7Hu5sSyiML7hqPY9Ky0yQjlWP5fMPV/cR+N7R7EyAb3bsjvFmAHiZGGgcFYRs0QJfFB Cmo2TKjEqUYIFRTOd0YR9DLgJajqHsbp+ecslHP7ukcWdErS0rG7ORn4F8iAYtOjtzGy TRfU/tM80moKe9P6lNzojADe62mPkIJsuTwjyvz3vSQZMEHHfKC8MT9O39LNXAZW90df nBv6dC73huVW/EsItp8DJ4AutFlJDUGmfrCrQpdX9lw+/UDDCRtd7FKU1UDF96x/t+2R PMOg== X-Gm-Message-State: AOAM533nPj6G4S5Chv+UmZm1jqhsbZk3cI2D3ZuhCFRkOIu3+KwKLXBT WvXVNsbDtc389T1IptUzwfkkVB+S X-Google-Smtp-Source: ABdhPJzScecvOxRB2hoAlsOoSZWlHa+KaNaGRrJ1ukBNCbEFUyfUXB9p1B90eZIEGQqmTd7sh5tvxQ== X-Received: by 2002:a17:90a:c085:: with SMTP id o5mr4974439pjs.196.1595587897583; Fri, 24 Jul 2020 03:51:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:8c01:: with SMTP id m1ls2674294pfd.2.gmail; Fri, 24 Jul 2020 03:51:37 -0700 (PDT) X-Received: by 2002:aa7:930b:: with SMTP id 11mr8662574pfj.320.1595587897080; Fri, 24 Jul 2020 03:51:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595587897; cv=none; d=google.com; s=arc-20160816; b=FsFFciygZ19+jBSqDW1RxcreHZT4fh+ajlUHUuPzynlM4An3pNtfNeKymucA849kFP JK7eTZKsCp8fMOjvvc9f+fXZbvM4mNlQa0xQYvC5bTIHR6w1B37ZsPg8xPNSg1QlwAPw 8VR2MftGkZBIDlmngQwgPFFtSDLJr5x/SWcpPcBpgtyKrvKfeGq/CDFVevD3/6Sn2+Pg xq8gIcAahBz/gy1J9ID5xsmlIWmfjDw4gD5A2xMkMDwRqGJh9TXFHhfQQZIwP5dRULPr jbYjLkP/0YUUzbIt2Cu4EHmfirkuscjdvUs3v8v5VTOoFGKdNftlJ/w7+1ldqbKGLz8q RGPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=VXJfa3N+733rFCkzZxlAfA31r+PY/V4njiK+5lv+BHo=; b=QdeNVzrT8eBce0FCyFTpjeqpdfiahrjkBt4R04ko6vwkV/xvjcX9Pjnfm1LHwcL3rJ rrlLV02ZD/e23J337m03DwmLDxo41jW/L6Ke0RHPh8dtmZnmcwt3K1IS4nNpIWdkUeJZ DuYdfW7tHbyMr7qxDctnrGjKL/aO4pr+6cPKOCWmc7n15u32lkAfDQ1qVI73MZI+pr9o Yj0kTA/CnGhX0jx0cdAhAzAWfOlEDMVF/mkvPog1Yrb9xVBa2MN8AQqVHy1QUNa7O8LX mRAPs6a/Lgtj3zhz83VrRpTj0TanBMYkJMfqDp6M8NOQbjrUyPTaks6c17x992cR+XDB gtCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=doVDXE0D; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id a18sor6623454pfd.2.2020.07.24.03.51.37 for (Google Transport Security); Fri, 24 Jul 2020 03:51:37 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:aa7:9303:: with SMTP id 3mr8277694pfj.108.1595587896711; Fri, 24 Jul 2020 03:51:36 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:cd2a:efcb:83c4:4e50]) by smtp.gmail.com with ESMTPSA id g22sm5595498pgb.82.2020.07.24.03.51.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 03:51:35 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 2/7] arm: dts: rockchip: Add Engicam PX30.Core SOM Date: Fri, 24 Jul 2020 16:21:14 +0530 Message-Id: <20200724105119.13123-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200724105119.13123-1-jagan@amarulasolutions.com> References: <20200724105119.13123-1-jagan@amarulasolutions.com> 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=doVDXE0D; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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: , PX30.Core is an EDIMM SOM based on Rockchip PX30 from Engicam. General features: - Rockchip PX30 - Up to 2GB DDR4 - eMMC 4 GB expandible - rest of PX30 features PX30.Core needs to mount on top of Engicam baseboards for creating complete platform boards. Possible baseboards are, - EDIMM2.2 - C.TOUCH 2.0 10.1" Open Frame Add support for it. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Note: - Linux ML link: https://lkml.org/lkml/2020/7/23/519 arch/arm/dts/px30-px30-core.dtsi | 250 +++++++++++++++++++++++++++++++ 1 file changed, 250 insertions(+) create mode 100644 arch/arm/dts/px30-px30-core.dtsi diff --git a/arch/arm/dts/px30-px30-core.dtsi b/arch/arm/dts/px30-px30-core.dtsi new file mode 100644 index 0000000000..26f81dbeab --- /dev/null +++ b/arch/arm/dts/px30-px30-core.dtsi @@ -0,0 +1,250 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +#include +#include + +/ { + compatible = "engicam,px30-px30-core", "rockchip,px30"; +}; + +&cpu0 { + cpu-supply = <&vdd_arm>; +}; + +&cpu1 { + cpu-supply = <&vdd_arm>; +}; + +&cpu2 { + cpu-supply = <&vdd_arm>; +}; + +&cpu3 { + cpu-supply = <&vdd_arm>; +}; + +&emmc { + cap-mmc-highspeed; + mmc-hs200-1_8v; + non-removable; + status = "okay"; +}; + +&gmac { + clock_in_out = "output"; + phy-supply = <&vcc_3v3>; /* +3V3_SOM */ + snps,reset-active-low; + snps,reset-delays-us = <0 50000 50000>; + snps,reset-gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>; +}; + +&i2c0 { + status = "okay"; + + rk809: pmic@20 { + compatible = "rockchip,rk809"; + reg = <0x20>; + interrupt-parent = <&gpio0>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_int>; + rockchip,system-power-controller; + wakeup-source; + #clock-cells = <1>; + clock-output-names = "rk808-clkout1", "rk808-clkout2"; + + vcc1-supply = <&vcc5v0_sys>; + vcc2-supply = <&vcc5v0_sys>; + vcc3-supply = <&vcc5v0_sys>; + vcc4-supply = <&vcc5v0_sys>; + vcc5-supply = <&vcc3v3_sys>; + vcc6-supply = <&vcc3v3_sys>; + vcc7-supply = <&vcc3v3_sys>; + vcc8-supply = <&vcc3v3_sys>; + vcc9-supply = <&vcc5v0_sys>; + + regulators { + vdd_log: DCDC_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-max-microvolt = <1350000>; + regulator-min-microvolt = <950000>; + regulator-name = "vdd_log"; + regulator-ramp-delay = <6001>; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <950000>; + }; + }; + + vdd_arm: DCDC_REG2 { + regulator-max-microvolt = <1350000>; + regulator-min-microvolt = <950000>; + regulator-name = "vdd_arm"; + regulator-ramp-delay = <6001>; + regulator-always-on; + regulator-boot-on; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <950000>; + }; + }; + + vcc_ddr: DCDC_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc_ddr"; + + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vcc_3v3: DCDC_REG4 { + regulator-always-on; + regulator-boot-on; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "vcc_3v3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcc3v3_sys: DCDC_REG5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc3v3_sys"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcc_1v0: LDO_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-name = "vcc_1v0"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1000000>; + }; + }; + + vcc_1v8: LDO_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc_1v8"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + vdd_1v0: LDO_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-name = "vdd_1v0"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1000000>; + }; + }; + + vcc3v0_pmu: LDO_REG4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc3v0_pmu"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + + }; + }; + + vccio_sd: LDO_REG5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vccio_sd"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcc5v0_host: SWITCH_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc5v0_host"; + }; + }; + }; +}; + +&io_domains { + vccio1-supply = <&vcc_3v3>; + vccio2-supply = <&vcc_3v3>; + vccio3-supply = <&vcc_3v3>; + vccio4-supply = <&vcc_3v3>; + vccio5-supply = <&vcc_3v3>; + vccio6-supply = <&vcc_1v8>; + status = "okay"; +}; + +&pinctrl { + pmic { + pmic_int: pmic_int { + rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; +}; + +&pmu_io_domains { + pmuio1-supply = <&vcc_3v3>; + pmuio2-supply = <&vcc_3v3>; + status = "okay"; +}; + +&pwm0 { + status = "okay"; +}; + +&sdmmc { + cap-mmc-highspeed; + cap-sd-highspeed; + card-detect-delay = <800>; + vqmmc-supply = <&vcc_3v3>; +}; + +&tsadc { + rockchip,hw-tshut-mode = <1>; + rockchip,hw-tshut-polarity = <1>; + status = "okay"; +}; From patchwork Fri Jul 24 10:51:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1579 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 2B2113F053 for ; Fri, 24 Jul 2020 12:51:42 +0200 (CEST) Received: by mail-pj1-f69.google.com with SMTP id 8sf5756205pjk.5 for ; Fri, 24 Jul 2020 03:51:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595587901; cv=pass; d=google.com; s=arc-20160816; b=0oWwL/kz9aDrXAZu1EkU0mt0EKb1Eub1FkX5pn19LDHVI/2SSbYh5IUJL/fmairYZH zNDY/KpyTTqXLbc4LH7aN5GNtMGny6gyVhLRO210CPoUj4slTLV+ix6t3NQwIv5Fu1i0 3F1YEFZUL4hy3IdqVGj+tDC0wrRf2F/8PlgZCo1gFz7u2tieZe79f+SA9wHMbFqztTTf G7+FwWs/HMqe1FmANES+E6wl6202rXCSj/iL3SxgwGpQM3VvorQBSBT+HwYFicl8gwye H5HxiQSzCA7Lm/CV0Dk+hwnK5wzbP+AUOY4dun1dnPt80+kj8T/ubSk30NgvhOKoEnby Jygg== 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:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=HQ1uT4PPm4fYqQ52hpgTO0lwG7TIF9eGNpWDRm0+QC8=; b=B1vhNT21/1Fj0XidsfBombNlSpq1U1DfUlteR9Oh05omx1QqpqhCd/ao8urd9jvHpD 2l+oibO5Cn/QyknJ6BG/QbAHMC7mWbMmE9NLdPuI52fYbOKZIzoou7Gg4CCWqfj8AXM/ b+Hp/rJb1oRCCnob8dkK+iZ4wHiJ5ugTGkdtz9Ui4n9yIAHDBzT0FvKflXP3jtHg18RT yOOBa4qSFOYcosPdwcVKquPGHYd8W8eo4a/vzsj/Ze8kci3bYpuiGEtI1oONw9Lc4ZDv 02Gz1uOYaPao5Z2q+I9fvKvED8t0/9iRESzBvtxOlmTu8jIObPdwrxXWDQN0wqgcKq6y fo6A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ZWAqVMX3; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=HQ1uT4PPm4fYqQ52hpgTO0lwG7TIF9eGNpWDRm0+QC8=; b=IAbYoeAQ7D9fl8gBMspmkw2WfMUh3M2s//FGygt6ibxxaTntH9hFcwXKVS7d33XXpi Tt+ERGKmf2pXozGBhWj034PCy+llDKiuApd2LGWBJRaRDB57Rru812q+vWIz64Tx8zLK cAgd25hnxoHBj5G5/xHD9aj6WG+PUl3tiItSY= 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:in-reply-to :references: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=HQ1uT4PPm4fYqQ52hpgTO0lwG7TIF9eGNpWDRm0+QC8=; b=MwrgZaJ7EIveYuyjtyacFMIsBghhZJKzezvOrKx4W1i1enx+GjizJ29q0CaCgNwQ0E 8naB2MCGnSsJPd2VayDz4Y5Jdoa8cg85blQIeL8tg9FgZ9zZmlA4+bwuxDsg8cfJMyno 3OhYO4po3CX+Q5qNSMM14SACFTlo4Uzr25vVtIvhpiCeUogjrs5e+kG9pUzGKDOcVVVq umlBGbwWtVH+VvjYnmw7t3dsiKSUKDn+xP5VeAEr8DRPnwK6egm1qt2qIhVcsSUkwoJT S2YN5C+e81Q00rxQc2S8HOz+Eb6wfcIFXxTIQno1xjzUCjo/U1y+Ege755YBvVoGmUVZ GENg== X-Gm-Message-State: AOAM530fSBaTttOlJPJCRd2dsP/g9539AZu+zXxY8yq507IJ6Ptzasn8 0BpIM+PNOOfocGlrXJrrYkxDbXjG X-Google-Smtp-Source: ABdhPJxLmFJ8+9O1SBw+rur8i/QClAC8flxzLujKBZgilRqdOmNWhnKN4eYmY++5Zv+iLY5KLBVWJQ== X-Received: by 2002:a65:67d0:: with SMTP id b16mr8293139pgs.60.1595587901012; Fri, 24 Jul 2020 03:51:41 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:582:: with SMTP id 124ls2364814pgf.6.gmail; Fri, 24 Jul 2020 03:51:40 -0700 (PDT) X-Received: by 2002:a62:1782:: with SMTP id 124mr8056231pfx.204.1595587900567; Fri, 24 Jul 2020 03:51:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595587900; cv=none; d=google.com; s=arc-20160816; b=pGjMwWRXURDe7nrckfL3avCWP9lcK5ieA4u0UMUskt9e9AZfVsrGWPgjBxXX0+onke 5cqBiBKUVwQvCGPZU93TJpRmQ0O+bBI4xlF0HxmVKiVKlRvDSU+0l+TF9ZSrWJ6/J9nE 3KIb3ZSXo1/9LSRd0D8OYFy2JrWT3g7bDGk19Kg1NJKWK8b443eW3KX6tdRVRuaHaouF 5Mt6RkAX9/tsfeGnvkElmVaf+liVbXN7Pk0DkyZ4hV/Xl1/ioAzMUTmaGk1mfgU8ErDi 4vfRWV6ySuGgco9pj9/yKsVCsdPNp/h0dWAJrc3A3Q7Q/aXY8LJdoSCnjMZscs5WvfCu zYZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=tv4Mi3887BXyVeLFK1L0MP9jrOghVRjPTwqiTX/Dgsc=; b=rQ+2RhX5eSOlLOrgKv0zi9/Fr3h1X3o7wdAxuw1ftWoK7ArKHqGDybkO5FBntvvQTH FtstEW3CYh3DLWyJEyrLCWwuuEx+XpcF0z+IySVJmPfj6PG572Wy4hBQaKwwJnmdohsP F6F8KTGpD3HIeipD7cWn07mYJ3Q0Cba2Rkz6yEq5u7BxtlRXmH+Oo1O8Xy8RO0HmQKQc UPoMmHxszPG9taZPpv3n2LztWtjPUJUD6ppBx/4w554warIO1UwDDJtyBZCzhTUfH3wv gNHQBMIhJij6blEaPxdot0U5gSy8u+ktudoi4oFH1304SloXK0o3csKLXO/+duBbN7kS rYBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ZWAqVMX3; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id k11sor6651190pfu.9.2020.07.24.03.51.40 for (Google Transport Security); Fri, 24 Jul 2020 03:51:40 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a05:6a00:2257:: with SMTP id i23mr8044084pfu.25.1595587900275; Fri, 24 Jul 2020 03:51:40 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:cd2a:efcb:83c4:4e50]) by smtp.gmail.com with ESMTPSA id g22sm5595498pgb.82.2020.07.24.03.51.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 03:51:39 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 3/7] rockchip: px30: Add EVB_PX30 Kconfig help Date: Fri, 24 Jul 2020 16:21:15 +0530 Message-Id: <20200724105119.13123-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200724105119.13123-1-jagan@amarulasolutions.com> References: <20200724105119.13123-1-jagan@amarulasolutions.com> 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=ZWAqVMX3; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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: , TARGET_EVB_PX30 can be possible to use other px30 boards. Add the help text for existing EVB, so-that the new boards which are resuing this config option can mention their board help text. This would help to track which boards are using EVB_PX30 config. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/mach-rockchip/px30/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-rockchip/px30/Kconfig b/arch/arm/mach-rockchip/px30/Kconfig index 9f3ad4f623..82bbc1c86f 100644 --- a/arch/arm/mach-rockchip/px30/Kconfig +++ b/arch/arm/mach-rockchip/px30/Kconfig @@ -2,6 +2,11 @@ if ROCKCHIP_PX30 config TARGET_EVB_PX30 bool "EVB_PX30" + help + This target config option used for below listed px30 boards. + + EVB_PX30: + * EVB_PX30 is an evaluation board for Rockchip PX30. config ROCKCHIP_BOOT_MODE_REG default 0xff010200 From patchwork Fri Jul 24 10:51:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1580 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E9DFC3F053 for ; Fri, 24 Jul 2020 12:51:45 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id e22sf6088421pgl.6 for ; Fri, 24 Jul 2020 03:51:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595587904; cv=pass; d=google.com; s=arc-20160816; b=0KH+D0E8UrcM3DAggTCpYp7jpxLQ8EJjW7B5aH4i2hcU1X4ZGASFZOnq9Q6k9M3d+o UPLzFeHEbVySpPM0jr6Ns+ULKkIe8JMbNavkJffD6YPo5EESNyMSYubYptrGPg4HbEgC Ea/Hhh1trx+hFvNSy+mLaA+08qSWH7BWK7vLTyawcC+Zrhf9+dRNjzZD4bbwX5lFWnRE 5jy8NL1LhqPKtLz/ONROXjrAf+v52c89gwJQHst7RQgoMISn7PDFIRVqWJP94xMZ/6Br f5cGIoVZzFppUw8JHubavK52e9hdQBYPp+RukvwdyqQ9jpgFwnmpxKOMEhmTL3wmR3Cd 049Q== 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:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=5DIiQONjkNIFmmhAoLokFQZbHcka9RzPMAdiT7dyY6k=; b=bWphDGdre+dZCj7tCq9GFAmXwKY8z8sYf3EFQOnTpk7deQcEs2I5JUEZvjs3jlloOA N8AOU2fXYapRyrDf4QnwVA8xrul8GsaU6XF5YIrL2fqbpIvgeRi9TaSnG9HYRF8A9/PP Y86cy2OvoCjjZdar6NkFkttoGsEaB1PlmxAtrF3K6Q/JWNfPp5W4zTMzj9Ygkg3foAN3 eC3p5CZMP+5lQ2e249gOuyP+n4LHbThAF/Wti+lFyuUkbrwQ3Q/26+Nshh8AKD5iNk81 Oxn31+G8KKPyHhEEasS2DX+D+WDUBtnDJYdsY4x0W38uEd4PtzjpymD+D2fE6eId+J8T tBog== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Ddntgquk; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=5DIiQONjkNIFmmhAoLokFQZbHcka9RzPMAdiT7dyY6k=; b=nNxLbjwkkfPbrwaRL28wt3dioGTJlZ1NalUVcEJHJ2W2wQSS7VR6pp4XvH4yXwe+U8 KScW5xzSgYYGr5i/qx44Zt+xRPq9rsWSdMz4Rd3umglahIfD7nVl18wPEDJh0DOndgbY TQbi/WJ8eTc2ViOcX5IdRwUS9tmMgvF/cN8d8= 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:in-reply-to :references: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=5DIiQONjkNIFmmhAoLokFQZbHcka9RzPMAdiT7dyY6k=; b=a5jtwfNONttccGMCW97eKc0niwLI5NDh/AAN3Acf2aukS3Kh+xieYkL7YJAEsxkYR8 ReCDMKYHSmXjC2OPVcKkgOb5KkYcs5WkE9vxLZlBi9SE6RetFOJ0aE/lv9LCSj2KGtUs owTXkRLZK9vFMuS09Fa2yP0k/F4FHAhYrhK6fTOknYDGOpyxbI7qKdAFYENZhfVD0VdM fSZWi7K2gpaiHJR7QqRHVddo4KJkzAXIzWodkjbZ5ZpMBnEyYX65ySockfZ+ItwDsAMj NmA1KrASZcF+U5xLx1qPd0NhWRn/9g0pjzIKmoi4QtIE1q1529p0sBqXtxR7MJ3/JHki /ZYg== X-Gm-Message-State: AOAM5337vSM4ojG80511kkE37z3JV0dWMYChuyRzdATo/4px6hO4ilXm B3Q20iRis5QLNHwDM7gAAVxgQdEi X-Google-Smtp-Source: ABdhPJxHK/qQFp0R1ABdL+HiPf23xs8YfR/fuoB78ijacENvuWy2V8+qAH0pL2QZkac9k5u+n/+iZw== X-Received: by 2002:a17:90a:70c3:: with SMTP id a3mr4823760pjm.107.1595587904733; Fri, 24 Jul 2020 03:51:44 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:ea02:: with SMTP id t2ls2669588pfh.6.gmail; Fri, 24 Jul 2020 03:51:44 -0700 (PDT) X-Received: by 2002:a63:7f53:: with SMTP id p19mr7417641pgn.299.1595587904163; Fri, 24 Jul 2020 03:51:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595587904; cv=none; d=google.com; s=arc-20160816; b=ISK33v375vgdfjnPoq/KBn/lT1m+NWPNExMsEI3UOCR/hF54/b3jmtL40SaXHy58U1 vOMxPkSvZkbmqRTUwxCkxH8BCSJHnWqf1wpYCSD7oriR+59SGgpo8T1GcP/tiaYu/9rC E2a4mrsVnBURNg9sNCd2QujxnPpGYqQ7AUXjf8StSciDKlRSnTJZ80SH55LB22nFqp48 RyOWoTxgdKGsAWd4oMbcl4IlKTJRp5Wyf/SQV+SO4u90/F6ffH9Fy9j8LKxXatKGA+FD SZ5PRmJWkoA+Q6Z7gBiyRFHt8R+kTxIZjwL9vw58i4nsNMBRVXJeIQIYKqGwXJPuYwTq wE/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=diIwmlIWg1K2+IvZBCvR4cNvCHtMX963JYge6PF5TsQ=; b=E1l8GJf2O8BlSdaGWp7ifG/hI3VOds8Hh3nyVBtnfjyRLsJdjCTlJdH5on3PiGOrPx nAZUtjC0aWgT7WS1WeXPiXGcK01SbPcDeXmijG90vGK523/kfmZ97aXc4yzyat6tUUvA gxKyr0gDO2JBwXKhmHxXeV5UAoK1kFSA0aAwRMtCLfdfsvMT3UGgH5YpsED0SNiC5omW zhbnnIMS9DVRiBAEKD/fT7W+A/OpEogE0UcR2cU3Uhj5kzNxaSsnZP2NqOOolqvee0Ot Qjpmlw3WQnb+PDzZVSWgkBnB1I3DRE7b5sh8QstBJZa6HWSnXuRttxIohNcRriik+GsQ gDzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Ddntgquk; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id j127sor6725774pfb.13.2020.07.24.03.51.44 for (Google Transport Security); Fri, 24 Jul 2020 03:51:44 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:1c13:: with SMTP id c19mr8020393pfc.52.1595587903824; Fri, 24 Jul 2020 03:51:43 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:cd2a:efcb:83c4:4e50]) by smtp.gmail.com with ESMTPSA id g22sm5595498pgb.82.2020.07.24.03.51.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 03:51:43 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 4/7] rockchip: Add Engicam PX30.Core EDIMM2.2 Starter Kit Date: Fri, 24 Jul 2020 16:21:16 +0530 Message-Id: <20200724105119.13123-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200724105119.13123-1-jagan@amarulasolutions.com> References: <20200724105119.13123-1-jagan@amarulasolutions.com> 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=Ddntgquk; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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: , PX30.Core is an EDIMM SOM based on Rockchip PX30 from Engicam. EDIMM2.2 Starter Kit is an EDIMM 2.2 Form Factor Capacitive Evaluation Board from Engicam. PX30.Core needs to mount on top of this Evaluation board for creating complete PX30.Core EDIMM2.2 Starter Kit. Add support for it. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Note: - Linux ML link: https://lkml.org/lkml/2020/7/23/520 arch/arm/dts/Makefile | 3 +- arch/arm/dts/px30-px30-core-edimm2.2.dts | 21 +++++ arch/arm/mach-rockchip/px30/Kconfig | 6 ++ board/rockchip/evb_px30/MAINTAINERS | 6 ++ configs/px30-core-edimm2.2-px30_defconfig | 108 ++++++++++++++++++++++ 5 files changed, 143 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/px30-px30-core-edimm2.2.dts create mode 100644 configs/px30-core-edimm2.2-px30_defconfig diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index cee10f533f..8198808ba5 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -71,7 +71,8 @@ dtb-$(CONFIG_MACH_S700) += \ dtb-$(CONFIG_ROCKCHIP_PX30) += \ px30-evb.dtb \ - px30-firefly.dtb + px30-firefly.dtb \ + px30-px30-core-edimm2.2.dtb dtb-$(CONFIG_ROCKCHIP_RK3036) += \ rk3036-sdk.dtb diff --git a/arch/arm/dts/px30-px30-core-edimm2.2.dts b/arch/arm/dts/px30-px30-core-edimm2.2.dts new file mode 100644 index 0000000000..c36280ce7f --- /dev/null +++ b/arch/arm/dts/px30-px30-core-edimm2.2.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +/dts-v1/; +#include "px30.dtsi" +#include "px30-engicam-edimm2.2.dtsi" +#include "px30-px30-core.dtsi" + +/ { + model = "Engicam PX30.Core EDIMM2.2 Starter Kit"; + compatible = "engicam,px30-core-edimm2.2", "engicam,px30-px30-core", + "rockchip,px30"; + + chosen { + stdout-path = "serial2:115200n8"; + }; +}; diff --git a/arch/arm/mach-rockchip/px30/Kconfig b/arch/arm/mach-rockchip/px30/Kconfig index 82bbc1c86f..f1fa225251 100644 --- a/arch/arm/mach-rockchip/px30/Kconfig +++ b/arch/arm/mach-rockchip/px30/Kconfig @@ -8,6 +8,12 @@ config TARGET_EVB_PX30 EVB_PX30: * EVB_PX30 is an evaluation board for Rockchip PX30. + PX30.Core EDIMM2.2: + * PX30.Core is an EDIMM SOM based on Rockchip PX30 from Engicam. + * EDIMM2.2 is a Form Factor Capacitive Evaluation Board from Engicam. + * PX30.Core needs to mount on top of EDIMM2.2 for creating complete + PX30.Core EDIMM2.2 Starter Kit. + config ROCKCHIP_BOOT_MODE_REG default 0xff010200 diff --git a/board/rockchip/evb_px30/MAINTAINERS b/board/rockchip/evb_px30/MAINTAINERS index 4dc060c501..48fba4e046 100644 --- a/board/rockchip/evb_px30/MAINTAINERS +++ b/board/rockchip/evb_px30/MAINTAINERS @@ -5,3 +5,9 @@ F: board/rockchip/evb_px30 F: include/configs/evb_px30.h F: configs/evb-px30_defconfig F: configs/firefly-px30_defconfig + +PX30-Core-EDIMM2.2 +M: Jagan Teki +M: Suniel Mahesh +S: Maintained +F: configs/px30-core-edimm2.2-px30_defconfig diff --git a/configs/px30-core-edimm2.2-px30_defconfig b/configs/px30-core-edimm2.2-px30_defconfig new file mode 100644 index 0000000000..07205f0243 --- /dev/null +++ b/configs/px30-core-edimm2.2-px30_defconfig @@ -0,0 +1,108 @@ +CONFIG_ARM=y +CONFIG_ARCH_ROCKCHIP=y +CONFIG_SYS_TEXT_BASE=0x00200000 +CONFIG_SPL_LIBCOMMON_SUPPORT=y +CONFIG_SPL_LIBGENERIC_SUPPORT=y +CONFIG_SYS_MALLOC_F_LEN=0x2000 +CONFIG_SPL_TEXT_BASE=0x00000000 +CONFIG_ROCKCHIP_PX30=y +CONFIG_TARGET_EVB_PX30=y +CONFIG_TPL_LIBGENERIC_SUPPORT=y +CONFIG_SPL_DRIVERS_MISC_SUPPORT=y +CONFIG_SPL_STACK_R_ADDR=0x600000 +CONFIG_NR_DRAM_BANKS=1 +CONFIG_DEBUG_UART_BASE=0xFF160000 +CONFIG_DEBUG_UART_CLOCK=24000000 +CONFIG_DEBUG_UART=y +CONFIG_TPL_SYS_MALLOC_F_LEN=0x600 +# CONFIG_ANDROID_BOOT_IMAGE is not set +CONFIG_FIT=y +CONFIG_FIT_VERBOSE=y +CONFIG_SPL_LOAD_FIT=y +# CONFIG_CONSOLE_MUX is not set +CONFIG_DEFAULT_FDT_FILE="rockchip/px30-px30-core-edimm2.2.dtb" +CONFIG_MISC_INIT_R=y +# CONFIG_DISPLAY_CPUINFO is not set +CONFIG_DISPLAY_BOARDINFO_LATE=y +CONFIG_SPL_BOOTROM_SUPPORT=y +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set +CONFIG_SPL_STACK_R=y +# CONFIG_TPL_BANNER_PRINT is not set +CONFIG_SPL_CRC32_SUPPORT=y +CONFIG_SPL_ATF=y +# CONFIG_TPL_FRAMEWORK is not set +# CONFIG_CMD_BOOTD is not set +# CONFIG_CMD_ELF is not set +# CONFIG_CMD_IMI is not set +# CONFIG_CMD_XIMG is not set +# CONFIG_CMD_LZMADEC is not set +# CONFIG_CMD_UNZIP is not set +CONFIG_CMD_GPT=y +# CONFIG_CMD_LOADB is not set +# CONFIG_CMD_LOADS is not set +CONFIG_CMD_MMC=y +CONFIG_CMD_USB=y +CONFIG_CMD_USB_MASS_STORAGE=y +# CONFIG_CMD_ITEST is not set +# CONFIG_CMD_SETEXPR is not set +# CONFIG_CMD_MISC is not set +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_ISO_PARTITION is not set +CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64 +CONFIG_SPL_OF_CONTROL=y +CONFIG_OF_LIVE=y +CONFIG_DEFAULT_DEVICE_TREE="px30-px30-core-edimm2.2" +CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents" +CONFIG_ENV_IS_IN_MMC=y +CONFIG_SYS_RELOC_GD_ENV_ADDR=y +CONFIG_REGMAP=y +CONFIG_SPL_REGMAP=y +CONFIG_SYSCON=y +CONFIG_SPL_SYSCON=y +CONFIG_CLK=y +CONFIG_SPL_CLK=y +CONFIG_FASTBOOT_BUF_ADDR=0x800800 +CONFIG_FASTBOOT_BUF_SIZE=0x04000000 +CONFIG_ROCKCHIP_GPIO=y +CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y +CONFIG_ROCKCHIP_OTP=y +CONFIG_MMC_DW=y +CONFIG_MMC_DW_ROCKCHIP=y +CONFIG_PHY_REALTEK=y +CONFIG_DM_ETH=y +CONFIG_ETH_DESIGNWARE=y +CONFIG_GMAC_ROCKCHIP=y +CONFIG_PINCTRL=y +CONFIG_DM_PMIC=y +CONFIG_PMIC_RK8XX=y +CONFIG_REGULATOR_PWM=y +CONFIG_DM_REGULATOR_FIXED=y +CONFIG_REGULATOR_RK8XX=y +CONFIG_PWM_ROCKCHIP=y +CONFIG_RAM=y +CONFIG_SPL_RAM=y +CONFIG_TPL_RAM=y +CONFIG_ROCKCHIP_SDRAM_COMMON=y +CONFIG_DM_RESET=y +CONFIG_DM_RNG=y +CONFIG_RNG_ROCKCHIP=y +# CONFIG_SPECIFY_CONSOLE_INDEX is not set +CONFIG_DEBUG_UART_SHIFT=2 +CONFIG_DEBUG_UART_SKIP_INIT=y +CONFIG_SOUND=y +CONFIG_SYSRESET=y +CONFIG_DM_THERMAL=y +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_GENERIC=y +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_DWC2_OTG=y +CONFIG_DM_VIDEO=y +CONFIG_DISPLAY=y +CONFIG_LCD=y +CONFIG_SPL_TINY_MEMSET=y +CONFIG_TPL_TINY_MEMSET=y +CONFIG_LZO=y +CONFIG_ERRNO_STR=y +# CONFIG_EFI_LOADER is not set From patchwork Fri Jul 24 10:51:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1581 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 5595D3F053 for ; Fri, 24 Jul 2020 12:51:49 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id v11sf2922264pfu.16 for ; Fri, 24 Jul 2020 03:51:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595587908; cv=pass; d=google.com; s=arc-20160816; b=VsNgRqpiDE03AaW0WslE/p9XnQdVedTsWbdovKr79p0iY3kNB4Lk3K7cHbEM4qtmlQ L/hn1i1AeZn/HwTCCDtPy7EzWZ+5lr1HcFswbgxeIrFtwOh+pd31SwkRt9lTWuDrfPYa h/Up2Epfg49+9kJltcXbKZS2TGJZw2OOLkfjy8HVCibPsvkhnPJt9BvdjBxlETsMM1y/ i98iZuqs4mA1B7pPrO89LloxxnnWac+lcnRsE+R+xB8An/GJCuxBx1kgG9SIJwM7CWIt Cy4thbwapF145Z4eXEGmDMqL2O1kW1aiF9xeJTS074WfOhHzkITdyUo2FiQ9aSJcN4tG 8WPQ== 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:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=D77QMemipoNXzmP7Eq3A+qHC4KK+P0IRtcXyEAdb+fw=; b=WtAEHAjROsHtcstum7DzELsc1Xtx+dmYzdRKP52LD0F6qLGwnfmRqDmmk4c0QD24h8 UHOh/GyYCdO2k/uSt/uzI6Dnm0BL0czUDYXW7qw2A6pGsHWptvEm2mlJzQ/DBrATOH0z jdWGyH/MP6ESwMJvRABjT4oV4J3uMkXvREAaY63DtzMmcOxG3S2KYdfQYYL2t2rCdaRu OckOSh6/8Sp3xqDvV5d8y/jPVXZMrHGZiWnnkXtJ48v79C9rESg/rrI/dkU7/p1GXBUc XQq6Zl6PkMvIVqMOCbiVIhpbgVkNcTR3kPLxuWGdqDz8rB9rdS8XCIaEcInlSjyxNVJc rkbg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GodmYVdF; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=D77QMemipoNXzmP7Eq3A+qHC4KK+P0IRtcXyEAdb+fw=; b=iaKJGz90einA86MLdbbmNJMLYI4g1HCLUuUF47fwtMdw9d6qHuIvBpJ9Nv1vY3AU/W otxb5edi7HycCqAHTPU24SjLHbMVvw9F9UaQcSNrr+LU0ppzFgPvIwMAm1YqKC+3zSkd qgcLxVL0M2dvxqTa5UgG5PDutQfnrHrzHYoOY= 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:in-reply-to :references: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=D77QMemipoNXzmP7Eq3A+qHC4KK+P0IRtcXyEAdb+fw=; b=qb0Mu+DNMGk5m2GWnkIh/bzv+zuZ7gI0vY0kcso3QI6Rj2gSHAI0Mri3SV0eokafIP faTS4JVjEx0NFJJdBfd8pm/d8Lbg3kCZV8WyLPu9HeJnSjCEVpYmY7m8BU8FwBVOOJoL UIRR8WncfQDuRScaXn9o/2OUtTAymy3hsWGC1d/YBuet2XeqV/82jRokDudwxXUUKHnT JNrYe+rxiySjJkrUxLbC1RlRYKHy5dY1vj2byXFIlkNB+zmisGYGufTtx+MgKTOpvg/q c9qTpT0yvGMIt3baHngsN6mJoiOMlnQEz9Oq1vw8LJzzK3KAawgkMk0vRyxIWIHAbvf2 6ppA== X-Gm-Message-State: AOAM533b9zwFUdTeeIA+Tq2O1BwKN2v7C6Gv93JcyWfKvQnKpaqDz4hB 1X2lJIMrHxQPSWPCHLgjxzuYGldg X-Google-Smtp-Source: ABdhPJwlWzub8MC7L408NytBXWSMDtQNCEHWeYczWCNUN+vgju3g4Av465GDD5DR+QGZdp5VxGkiWA== X-Received: by 2002:a62:7ac6:: with SMTP id v189mr8774840pfc.165.1595587908145; Fri, 24 Jul 2020 03:51:48 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:730d:: with SMTP id o13ls2365862pgc.1.gmail; Fri, 24 Jul 2020 03:51:47 -0700 (PDT) X-Received: by 2002:a65:6250:: with SMTP id q16mr2683767pgv.149.1595587907703; Fri, 24 Jul 2020 03:51:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595587907; cv=none; d=google.com; s=arc-20160816; b=tYOe6oz4j+NpbIGo5jJVRngCwF6cx0YbFUHfkaawBxz/2N7LOhaRR3MzzgK0rHSJ6t im0o4DlYWHG/UWBKV64WFxDIUZa0OpIjrPAUIrH43V/Dxlb2IBu/Zw1xvYWWkGIDoO3B kx+xDmi4R2FTY/vLCRGLtYIv1tBrIEnqYDEmyBDOV6AJL2NsMH6Rh+yRdAfgxctzYEeP WkaIOelQZTasBazjzEDx+s4t0CvdPe0k6C5kgAM2AmBEtktHfklzpnq4hFqSt7lIHPDN pwCfEv8j3A5gbqWGM4rQinqwLX5kwn5p7NVpSTyd4dMARHMYOtUZJjxOFbYqaHmsWVcf fSAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=N+aSqR9FIFJDvNv29eQJ8AegCFDTdKrtDHKw7wvqutM=; b=LXDqIkrnMSJCjSERMvsEnWRiTVo/ajIPYwc3JKhEzZMZkt4Op+/1+EEb7BN39lcFEB y58YR1MBYQlkaS+Cb8f+krECTdxaOq4zt0C6eFRkPzyMVUC2EwP4SGp9KqCieEjiAq0S lUJtWI4p7G9Q3MItdFVJUikrnE3uBgYUntC4FKHsRofkeTBuSrGjTMPkfs15lB2ueQkF 0c1F/3np8rh4JeQKyUCr1wjmvoIURF9u84Kh3WqaG0hGJZE2wQqFMMgFWcJGTXr1CI7e j3ZwA3pncT8X+RS4p8Kf2U055OSTt4XMYjjCZ5jZ1X82uURs0RJZtaz1TyDNxfbMkYiI hPHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GodmYVdF; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id x8sor6934935plv.61.2020.07.24.03.51.47 for (Google Transport Security); Fri, 24 Jul 2020 03:51:47 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:9f96:: with SMTP id g22mr7577039plq.306.1595587907386; Fri, 24 Jul 2020 03:51:47 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:cd2a:efcb:83c4:4e50]) by smtp.gmail.com with ESMTPSA id g22sm5595498pgb.82.2020.07.24.03.51.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 03:51:46 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 5/7] arm: dts: rockchip: px30: Add Engicam C.TOUCH 2.0 10.1" OF Date: Fri, 24 Jul 2020 16:21:17 +0530 Message-Id: <20200724105119.13123-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200724105119.13123-1-jagan@amarulasolutions.com> References: <20200724105119.13123-1-jagan@amarulasolutions.com> 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=GodmYVdF; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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: , Engicam C.TOUCH 2.0 10.1" Open Frame is a Carrier board with Capacitive touch 10.1" open frame. Genaral features: - TFT 10.1" industrial, 1280x800 LVDS display - Ethernet 10/100 - Wifi/BT - USB Type A/OTG - Audio Out - CAN SOM's like PX30.Core needs to mount on top of this Carrier board for creating complete PX30.Core C.TOUCH 2.0 10.1" Open Frame. Add support for it. Signed-off-by: Jagan Teki --- Note: - Linux ML link: https://lkml.org/lkml/2020/7/23/522 arch/arm/dts/px30-engicam-ctouch2-of10.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 arch/arm/dts/px30-engicam-ctouch2-of10.dtsi diff --git a/arch/arm/dts/px30-engicam-ctouch2-of10.dtsi b/arch/arm/dts/px30-engicam-ctouch2-of10.dtsi new file mode 100644 index 0000000000..cb00988953 --- /dev/null +++ b/arch/arm/dts/px30-engicam-ctouch2-of10.dtsi @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +#include "px30-engicam-common.dtsi" From patchwork Fri Jul 24 10:51:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1582 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 3353C3F053 for ; Fri, 24 Jul 2020 12:51:53 +0200 (CEST) Received: by mail-pl1-f199.google.com with SMTP id c15sf5216565plz.15 for ; Fri, 24 Jul 2020 03:51:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595587912; cv=pass; d=google.com; s=arc-20160816; b=wIRjjn4ilh3J96BqK77v+46+NKS893P1u5pcp947RJUhdy9G9IEUUmPaDxijin99jw 1A4S8eXs4CVfbarjxkG1hZcCy5KM1iag0M+tZhUOFSI/pEHuQlLCX+cwTum992uV8WYZ NpbXhRQHThifeuTcmQflSQ57Hh66XFwjaqKdIjBYhfXYFXdWMFPh+d7vVFPaQkR/gEk8 tOrc9rzdjwWyQdXUIkV63uAtElwE+Il1Yl2Xe1mdzWD9H08Uoa1l6liWQjk51F9BzRNk 1+RLAyh4LCrDt84OYGUhOhSJ6UQgAkrDMkwlQKqxUD7bdgJIJpGlSzk1Q7HQmdKlr4Zl 1ilA== 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:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=cgc9l7v4Q4sLDtYoNDEKmQnyT+D2Y3ydnThwca3+etY=; b=aRdZl6pjl8dtaeIgywa8WR3pNPlmvjG/d1muev1EcC0enSHXPbxAD3tmdyi490Amae vQAXFjSAx28mnpuy4PiP9ZeWHT6826ND5dLmuiUmx3CVIjMYoaN6ndNKDJxTR4fLWjms JhxOfdkr3M40HsNMe9l2H2tzhZMGpTTzMp2RRfmZj2+BnMS0J+JyvkvqvCCASb2xNE3X TOJhQ6AUXcNjdlH2q5yB6SQ6keVSXn4cT5twNQwJkC3ENoklw0nqvg8DQqCucO3pRieh OhfGYC9qqmcpVhMVsNoKOtkoqZiQuEPQ2dPIcpGk7YJ/YE2JIUbgmwgR+r3M9FCwSlIW pXwA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=j0GltGFr; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=cgc9l7v4Q4sLDtYoNDEKmQnyT+D2Y3ydnThwca3+etY=; b=kRhIJcgbYt1gakGjxOjgrvNF8s5mlg6Asqvz8t76i7Gb78dzFteoqdvhGwfLOuHumo QqInTRqN9MXD1wkzxL5pogX0mQu5vpepumeDW84f2jgx2bml6/IR74lgjaTsaFns8/6P IXE3HT6KaN3epo6x+7j9LzF+wmd7wn1xqosCk= 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:in-reply-to :references: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=cgc9l7v4Q4sLDtYoNDEKmQnyT+D2Y3ydnThwca3+etY=; b=un+hmikUEansx7WZ4fnGeYdZejF71GwWKmiJSzSWhkF8HGD8ZQo3viK3wGFMbDVsoY 6VDeGhLRIHUehqMRdIWzs93vXex5kSrzKH6nmMhcecRDV4a8SJjuohBMczp3/py2pcZY NJMtsf8dgxf9QDPQb6wnsti6hYgKlwCO/1UXilKZb5+VmZrcP7n5VYF6ZRYL363BCItg hos1VTvMEom20b7FGixek44s8PTJB82FYUTCGXzgpRTN0WL9BgOXEBbGM8yXwePyBsKT 17b+GuUCLiyOnDpbcdV5VFc85NidEq0BN8oA3oPwZ1ohXclwJEQvS728Owctkhf8Je7S PzMA== X-Gm-Message-State: AOAM533f5nUbIdohDk0VZt0RGcTFcMC11vdmtjVZlRrwcSOi2xvfo5hL gevb89dWNCIBg6fQ80gPMzjpTB/n X-Google-Smtp-Source: ABdhPJyoOvlf4n+d5pYGQhGi/9XG0r85IxbJLvFqg7GQ8xXSMmCZ/jhvxwRh7r9uZZ94KrlMM9+rSQ== X-Received: by 2002:a17:90a:1f08:: with SMTP id u8mr4978263pja.154.1595587911777; Fri, 24 Jul 2020 03:51:51 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:684d:: with SMTP id q13ls2365982pgt.2.gmail; Fri, 24 Jul 2020 03:51:51 -0700 (PDT) X-Received: by 2002:a63:3fc2:: with SMTP id m185mr8338902pga.426.1595587911222; Fri, 24 Jul 2020 03:51:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595587911; cv=none; d=google.com; s=arc-20160816; b=iONS91/7ZityqxDOHEtiC2F70NBnEHP1g7cka4JHeu1EZ7pzN4c4Qlrl6X7L0FLy4a k9pbt0R+SEKO6MpHx6Rh6dKjInGU/3x91LgoRsWqmVGeA/lvwhmjc8vUb9HUPFs0ajju Sc8C9OfYVv8cKkjhWSqbAQ0FUwqvB2kloBSUgNoZVp5AAhm50TRv1zJ0rJ3SWr+KbnJ+ DiE/FzWMNa0zKWdK5CIn3/EOmuWMDr6x5tpzYjZQPfI2cNmICRowCzsopquPZQYjtnAs /G1sDv+oSPFilghe2yvAJMbInp/7gzsT6btrLro7QhMenqJ9OQEaHwj1j/6sr6eEdiXV mAhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=siQ1urvmwBrpgz9akN8/3gluG4zLb8Dkp15PY9PMUSg=; b=gTjI2HlQzeLEVeRWJs3lhksd2aOX3exjlZVaix2x377FyELixxw/SZxJneoXkk+PpX DTFBEPQCJ1kADlEWapxqyhWspTT6RT2HN1qTJnUbH6+LbHZcAND13hHCXhFEm24CB6yt RYJpANW3JeYpfikCSymk0FJW1zeCk5qheLhAFt+JnMw8CcDaxtoZ/G3i9jzBIGPLxPhE GmrsNj6L608g7Zi0tZx8kwCTSjGTcbD4/OQbV+80CAcRIz6lgc0ylvbbeyfriamzME+P e4IjIQgg3Oc17lomHqDwKJ7P4iBYD7PWTdknq/0kanGUP6/v678CrjXNz6evR0TgjQvB WINQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=j0GltGFr; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id ay1sor6863888plb.4.2020.07.24.03.51.51 for (Google Transport Security); Fri, 24 Jul 2020 03:51:51 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:8c86:: with SMTP id t6mr7877344plo.41.1595587910848; Fri, 24 Jul 2020 03:51:50 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:cd2a:efcb:83c4:4e50]) by smtp.gmail.com with ESMTPSA id g22sm5595498pgb.82.2020.07.24.03.51.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 03:51:50 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 6/7] rockchip: Add Engicam PX30.Core C.TOUCH 2.0 10.1" OF Date: Fri, 24 Jul 2020 16:21:18 +0530 Message-Id: <20200724105119.13123-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200724105119.13123-1-jagan@amarulasolutions.com> References: <20200724105119.13123-1-jagan@amarulasolutions.com> 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=j0GltGFr; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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: , PX30.Core is an EDIMM SOM based on Rockchip PX30 from Engicam. C.TOUCH 2.0 10.1" Open Frame is a Carrier board with Capacitive touch 10.1" open frame from Engicam. PX30.Core needs to mount on top of this Carrier board for creating complete PX30.Core C.TOUCH 2.0 10.1" Open Frame. Add support for it. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Note: - Linux ML link: https://lkml.org/lkml/2020/7/23/523 arch/arm/dts/Makefile | 1 + arch/arm/dts/px30-px30-core-ctouch2-of10.dts | 21 ++++ arch/arm/mach-rockchip/px30/Kconfig | 7 ++ board/rockchip/evb_px30/MAINTAINERS | 6 + configs/px30-core-ctouch2-of10-px30_defconfig | 108 ++++++++++++++++++ 5 files changed, 143 insertions(+) create mode 100644 arch/arm/dts/px30-px30-core-ctouch2-of10.dts create mode 100644 configs/px30-core-ctouch2-of10-px30_defconfig diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 8198808ba5..270de39823 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -72,6 +72,7 @@ dtb-$(CONFIG_MACH_S700) += \ dtb-$(CONFIG_ROCKCHIP_PX30) += \ px30-evb.dtb \ px30-firefly.dtb \ + px30-px30-core-ctouch2-of10.dtb \ px30-px30-core-edimm2.2.dtb dtb-$(CONFIG_ROCKCHIP_RK3036) += \ diff --git a/arch/arm/dts/px30-px30-core-ctouch2-of10.dts b/arch/arm/dts/px30-px30-core-ctouch2-of10.dts new file mode 100644 index 0000000000..9c957a21e3 --- /dev/null +++ b/arch/arm/dts/px30-px30-core-ctouch2-of10.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +/dts-v1/; +#include "px30.dtsi" +#include "px30-engicam-ctouch2-of10.dtsi" +#include "px30-px30-core.dtsi" + +/ { + model = "Engicam PX30.Core C.TOUCH 2.0 10.1\" Open Frame"; + compatible = "engicam,px30-core-ctouch2-of10", "engicam,px30-px30-core", + "rockchip,px30"; + + chosen { + stdout-path = "serial2:115200n8"; + }; +}; diff --git a/arch/arm/mach-rockchip/px30/Kconfig b/arch/arm/mach-rockchip/px30/Kconfig index f1fa225251..21e7bbcd7f 100644 --- a/arch/arm/mach-rockchip/px30/Kconfig +++ b/arch/arm/mach-rockchip/px30/Kconfig @@ -14,6 +14,13 @@ config TARGET_EVB_PX30 * PX30.Core needs to mount on top of EDIMM2.2 for creating complete PX30.Core EDIMM2.2 Starter Kit. + PX30.Core CTOUCH2 OF10: + * PX30.Core is an EDIMM SOM based on Rockchip PX30 from Engicam. + * CTOUCH2 OF 10 is a Carrier board with Capacitive touch 10.1" + Open frame from Engicam. + * PX30.Core needs to mount on top of CTOUCH2 OF10 for creating complete + PX30.Core C.TOUCH 2.0 10.1\" Open Frame. + config ROCKCHIP_BOOT_MODE_REG default 0xff010200 diff --git a/board/rockchip/evb_px30/MAINTAINERS b/board/rockchip/evb_px30/MAINTAINERS index 48fba4e046..459626e679 100644 --- a/board/rockchip/evb_px30/MAINTAINERS +++ b/board/rockchip/evb_px30/MAINTAINERS @@ -11,3 +11,9 @@ M: Jagan Teki M: Suniel Mahesh S: Maintained F: configs/px30-core-edimm2.2-px30_defconfig + +PX30-Core-CTOUCH2-OF10 +M: Jagan Teki +M: Suniel Mahesh +S: Maintained +F: configs/px30-core-ctouch2-of10-px30_defconfig diff --git a/configs/px30-core-ctouch2-of10-px30_defconfig b/configs/px30-core-ctouch2-of10-px30_defconfig new file mode 100644 index 0000000000..b87b61f740 --- /dev/null +++ b/configs/px30-core-ctouch2-of10-px30_defconfig @@ -0,0 +1,108 @@ +CONFIG_ARM=y +CONFIG_ARCH_ROCKCHIP=y +CONFIG_SYS_TEXT_BASE=0x00200000 +CONFIG_SPL_LIBCOMMON_SUPPORT=y +CONFIG_SPL_LIBGENERIC_SUPPORT=y +CONFIG_SYS_MALLOC_F_LEN=0x2000 +CONFIG_SPL_TEXT_BASE=0x00000000 +CONFIG_ROCKCHIP_PX30=y +CONFIG_TARGET_EVB_PX30=y +CONFIG_TPL_LIBGENERIC_SUPPORT=y +CONFIG_SPL_DRIVERS_MISC_SUPPORT=y +CONFIG_SPL_STACK_R_ADDR=0x600000 +CONFIG_NR_DRAM_BANKS=1 +CONFIG_DEBUG_UART_BASE=0xFF160000 +CONFIG_DEBUG_UART_CLOCK=24000000 +CONFIG_DEBUG_UART=y +CONFIG_TPL_SYS_MALLOC_F_LEN=0x600 +# CONFIG_ANDROID_BOOT_IMAGE is not set +CONFIG_FIT=y +CONFIG_FIT_VERBOSE=y +CONFIG_SPL_LOAD_FIT=y +# CONFIG_CONSOLE_MUX is not set +CONFIG_DEFAULT_FDT_FILE="rockchip/px30-px30-core-ctouch2-of10.dtb" +CONFIG_MISC_INIT_R=y +# CONFIG_DISPLAY_CPUINFO is not set +CONFIG_DISPLAY_BOARDINFO_LATE=y +CONFIG_SPL_BOOTROM_SUPPORT=y +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set +CONFIG_SPL_STACK_R=y +# CONFIG_TPL_BANNER_PRINT is not set +CONFIG_SPL_CRC32_SUPPORT=y +CONFIG_SPL_ATF=y +# CONFIG_TPL_FRAMEWORK is not set +# CONFIG_CMD_BOOTD is not set +# CONFIG_CMD_ELF is not set +# CONFIG_CMD_IMI is not set +# CONFIG_CMD_XIMG is not set +# CONFIG_CMD_LZMADEC is not set +# CONFIG_CMD_UNZIP is not set +CONFIG_CMD_GPT=y +# CONFIG_CMD_LOADB is not set +# CONFIG_CMD_LOADS is not set +CONFIG_CMD_MMC=y +CONFIG_CMD_USB=y +CONFIG_CMD_USB_MASS_STORAGE=y +# CONFIG_CMD_ITEST is not set +# CONFIG_CMD_SETEXPR is not set +# CONFIG_CMD_MISC is not set +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_ISO_PARTITION is not set +CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64 +CONFIG_SPL_OF_CONTROL=y +CONFIG_OF_LIVE=y +CONFIG_DEFAULT_DEVICE_TREE="px30-px30-core-ctouch2-of10" +CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents" +CONFIG_ENV_IS_IN_MMC=y +CONFIG_SYS_RELOC_GD_ENV_ADDR=y +CONFIG_REGMAP=y +CONFIG_SPL_REGMAP=y +CONFIG_SYSCON=y +CONFIG_SPL_SYSCON=y +CONFIG_CLK=y +CONFIG_SPL_CLK=y +CONFIG_FASTBOOT_BUF_ADDR=0x800800 +CONFIG_FASTBOOT_BUF_SIZE=0x04000000 +CONFIG_ROCKCHIP_GPIO=y +CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y +CONFIG_ROCKCHIP_OTP=y +CONFIG_MMC_DW=y +CONFIG_MMC_DW_ROCKCHIP=y +CONFIG_PHY_REALTEK=y +CONFIG_DM_ETH=y +CONFIG_ETH_DESIGNWARE=y +CONFIG_GMAC_ROCKCHIP=y +CONFIG_PINCTRL=y +CONFIG_DM_PMIC=y +CONFIG_PMIC_RK8XX=y +CONFIG_REGULATOR_PWM=y +CONFIG_DM_REGULATOR_FIXED=y +CONFIG_REGULATOR_RK8XX=y +CONFIG_PWM_ROCKCHIP=y +CONFIG_RAM=y +CONFIG_SPL_RAM=y +CONFIG_TPL_RAM=y +CONFIG_ROCKCHIP_SDRAM_COMMON=y +CONFIG_DM_RESET=y +CONFIG_DM_RNG=y +CONFIG_RNG_ROCKCHIP=y +# CONFIG_SPECIFY_CONSOLE_INDEX is not set +CONFIG_DEBUG_UART_SHIFT=2 +CONFIG_DEBUG_UART_SKIP_INIT=y +CONFIG_SOUND=y +CONFIG_SYSRESET=y +CONFIG_DM_THERMAL=y +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_GENERIC=y +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_DWC2_OTG=y +CONFIG_DM_VIDEO=y +CONFIG_DISPLAY=y +CONFIG_LCD=y +CONFIG_SPL_TINY_MEMSET=y +CONFIG_TPL_TINY_MEMSET=y +CONFIG_LZO=y +CONFIG_ERRNO_STR=y +# CONFIG_EFI_LOADER is not set From patchwork Fri Jul 24 10:51:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1583 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B16E23F053 for ; Fri, 24 Jul 2020 12:51:56 +0200 (CEST) Received: by mail-pj1-f72.google.com with SMTP id j17sf5742524pjy.8 for ; Fri, 24 Jul 2020 03:51:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595587915; cv=pass; d=google.com; s=arc-20160816; b=j7uRuToc97DYgA+cFSc0MKvLnh7U3oAXuptZmg6CXySP5iINufBGC/kBdZieGNWYd8 vs7DLPfs9d3tQo6m3iLFk5MQIAcQ8HqrpC1sK/KkPquZgDwk6qUnq0hHoQcEhdwVKoL2 FRGYlBvxb6/MQFg5aRlh1W4JJ1HdyhguztZEkgy36D8LFLTUmCw8Mnjjyb8wel8oWwHa ly+erLoZHIIV+kasmzWawpev/7hf6BWf/VbWt2bG6T2eWSBjPuW1vk9m8pgYiL3NkQwf xzgaN5xBKpUJRXxH99hgw3adaV+Kr75QqzKZbHMB4jmhth/+xngaIVWft62b72kAqjUR Y1Qg== 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:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=YBf/wgnj576mNNL4VipBArtaOnQKR9K9S/OeZYcKAbI=; b=b03ktcPCL1gzcf88Kr8rZDjLAYH5jijKw5vYPQ+2FYB1GxMMST75jvDvlBmDeERlkS Loii/hcQZOv/39TQvMRY4W3/nC4GYh9igd+YT/OZ4dt9s6tnkHGoBbBSgRl9dqy/XYuA 3Gxg8ypMYTrmEvhPdykgsHU7xg8thrb9N3mD3pAiF+UOQPCQcjWNk59e3VlcowstfQ5w +XPirH8dNW5Drqw3cOUWWtfFY2OybDOpQg7n844otGxKgUQojAWnZAYNnhd6Ve5Owbdv gHuOAxbWW4NCVNkItPJ2981cPuZDn1uc8m992ghHm2nVVABNyq0TJNpYR4y5u0c2V6Ql 3UpQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mjMEsUJ1; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=YBf/wgnj576mNNL4VipBArtaOnQKR9K9S/OeZYcKAbI=; b=dpIBP7oDP90Nwbxc2Rfm0cV4LWk26hItbf+/ZPIoi/5+XfcQ2o5ZxoB/2fwnbWIy7E wYjzIS2/HKLAKHhk31ugAyaxVCnDDkbd1E1dXpy1OR67U3m1Wfe/Nhb0N8tcisYR/Jyw Zs+uGruF3z5Y7vAGCWElyzYyPAJksearJAdtY= 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:in-reply-to :references: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=YBf/wgnj576mNNL4VipBArtaOnQKR9K9S/OeZYcKAbI=; b=s0jtCPzumnnnt3Guiq/Qp/XQgbjn9YJMlaAcadpfDQT8S39eGi5sWud7e1mP8lACHb VUkY/JuXrMaUSLlj3QvxRWLzCPxZvEAAsN0Kj+tNWJJaK1Z8L2gDnQxD3vJ7ZyJ7pj0G 50hEjeCrSDmpSTeGnv09hgTwTcHCtwnjXVEGBgW4w9Npyoq8BsCVsxl74bdrHxjvfbPP P3H68fJTwfat/5T9nqLe3MTKuc1JeHrEWuDZD+pApiH7gSTXxNkcQb40ySJVEeEus42n xq8yrfZrb7EOCLc136CerS/+ZA0zQnKnJ7N6mY97bLbG6r8M/cVbJWDe0FgJ7hGlfGNi SWhA== X-Gm-Message-State: AOAM533sEV8r9aE9KGwIo33Dy9ETs1rTF6h/Dg8tbWwx3KScOZwdtHMo 7CizSm/914ZAAArXyk2/fIqPajyI X-Google-Smtp-Source: ABdhPJxvyAkkaOlRwzZSUyFMQT/DaQtm5y+q69jRk70Rma9wXk1XaN1oCR2zrYP1bhJ/oEYMdD/gEQ== X-Received: by 2002:a63:b18:: with SMTP id 24mr8354758pgl.406.1595587915495; Fri, 24 Jul 2020 03:51:55 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:8306:: with SMTP id h6ls2676232pfe.1.gmail; Fri, 24 Jul 2020 03:51:55 -0700 (PDT) X-Received: by 2002:a62:8045:: with SMTP id j66mr8181862pfd.162.1595587915023; Fri, 24 Jul 2020 03:51:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595587915; cv=none; d=google.com; s=arc-20160816; b=SJsu8CjgQMJgDu6si89gRZ/+08TmPpmwT3FBBs9IzWMP/1SWGiPliJjhI36JrAN8qe 4A7FhcXndeZPMLP6ODY+MEvzJ1OHR+Pfa9Kk/CcwADIEuAleMP//vKwCF/niy/+k6djK MtAhGiw2z36DEo10AqZmF9iDZU9rCD/LAo6RUp9Utw5X/WRX/H1INtD4EOonQxxbyPjf 9AvzBYN/r1G0tOGyMs1/V8xUcME0CGR5ZlXIklv1Sf+/Xy9BGYxZwuvHlJb5GxUjj2Ps sgvYoQPHX4YC/zxxTXq+qrSL2IfdWeRvHOuMqxytczx0E3ix8Zg5K2ugWQ+Td2dPufxf zoQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=sk5ZJKxKyssjzqNzAnZ/okb3UqvqoYsHK8ZxNdUNWZY=; b=dAzGr06L76oZVktgUeZbeHlSD+xa3leuJFeVe9cnTswdlwQz4r+2LZ5tOZPcZCSCXQ +mYPJyb+vsORIfFbS+hQV2rJMgjza6gDe3w2M2OGKQifvx95aHHY8lXxUu7LUktnGqOy yga/boY+48hZBIO0xPCFh1SmpRt81wlnqb1yLNOVqPI/Up+edhiwvLCtpTeqV53Bi9iZ ajXCk1uf7AaL/fNiu6DExKdewK7V+qNXOSY3YlxDsvKdx/3d0zOLFw5NhRU873hB8ih3 mT3LX3PNT62NAqRGiPKJqjU1f7/akThomSSTtlBgT3ovCBoBOSRXjmuwNz4Makw8bJBQ k3kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mjMEsUJ1; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id d5sor6602853pfd.78.2020.07.24.03.51.55 for (Google Transport Security); Fri, 24 Jul 2020 03:51:55 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:15d1:: with SMTP id 200mr7989200pfv.227.1595587914641; Fri, 24 Jul 2020 03:51:54 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:cd2a:efcb:83c4:4e50]) by smtp.gmail.com with ESMTPSA id g22sm5595498pgb.82.2020.07.24.03.51.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 03:51:53 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 7/7] doc: rockchip: Document Rockchip miniloader flashing Date: Fri, 24 Jul 2020 16:21:19 +0530 Message-Id: <20200724105119.13123-8-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200724105119.13123-1-jagan@amarulasolutions.com> References: <20200724105119.13123-1-jagan@amarulasolutions.com> 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=mjMEsUJ1; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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 would be useful and recommended boot flow for new boards which has doesn't have the DDR support yet in mainline. Sometimes it is very useful for debugging mainline DDR support. Documen it for px30 boot flow. Signed-off-by: Jagan Teki --- doc/board/rockchip/rockchip.rst | 40 ++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/doc/board/rockchip/rockchip.rst b/doc/board/rockchip/rockchip.rst index 8c92de0c92..ea061ad171 100644 --- a/doc/board/rockchip/rockchip.rst +++ b/doc/board/rockchip/rockchip.rst @@ -123,6 +123,9 @@ To build rk3399 boards:: Flashing -------- +1. Package the image with U-Boot TPL/SPL +----------------------------------------- + SD Card ^^^^^^^ @@ -187,6 +190,39 @@ Copy SPI boot images into SD card and boot from SD:: sf erase 0x60000 +$filesize sf write $kernel_addr_r 0x60000 ${filesize} +2. Package the image with Rockchip miniloader +--------------------------------------------- + +Image package with Rockchip miniloader requires robin [1]. + +Create idbloader.img + +.. code-block:: none + + cd u-boot + ./tools/mkimage -n px30 -T rksd -d rkbin/bin/rk33/px30_ddr_333MHz_v1.15.bin idbloader.img + cat rkbin/bin/rk33/px30_miniloader_v1.22.bin >> idbloader.img + sudo dd if=idbloader.img of=/dev/sda seek=64 + +Create trust.img + +.. code-block:: none + + cd rkbin + ./tools/trust_merger RKTRUST/PX30TRUST.ini + sudo dd if=trust.img of=/dev/sda seek=24576 + +Create uboot.img + +.. code-block:: none + + rbink/tools/loaderimage --pack --uboot u-boot-dtb.bin uboot.img 0x200000 + sudo dd if=uboot.img of=/dev/sda seek=16384 + +Note: +1. 0x200000 is load address and it's an optional in some platforms. +2. rkbin binaries are kept on updating, so would recommend to use the latest versions. + TODO ---- @@ -195,5 +231,7 @@ TODO - Document SPI flash boot - Add missing SoC's with it boards list +[1] https://github.com/rockchip-linux/rkbin + .. Jagan Teki -.. Tuesday 02 June 2020 12:18:57 AM IST +.. Thursday 23 July 2020 04:50:22 PM IST