From patchwork Wed Jul 8 10:05:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1456 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ot1-f69.google.com (mail-ot1-f69.google.com [209.85.210.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 2122E3F062 for ; Wed, 8 Jul 2020 12:05:43 +0200 (CEST) Received: by mail-ot1-f69.google.com with SMTP id p3sf18161948ota.0 for ; Wed, 08 Jul 2020 03:05:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594202742; cv=pass; d=google.com; s=arc-20160816; b=txhesYhN28n7BncCSkfChMSAjjq5q6/f9YFIoSwGS1tJR+xlIYChyLBt9ng1hu9CQ/ W95asBzNlrhiGYYLdk+FjqYJfss4klVYAn49gT1qpzEglLbSI3snrkGCh+PnDqAW2jD4 D4u4zwGDyrbx0Gg9cFdNUOfydnIw7HWEgBw/PsZeL5XT6OQZhOngV4C3owvVZq3dxusi 7RS9NwQVHSZkgNw6Q79KUWF1lUViCaRYLT4c6XMlXihomMs385PWVF/gkOL7llqHJVGs sZ24s2MToqhaC0dYx3vqe25wn+vwyAqAZC5O7xJsD2RtDaJkF0HpJQenoqINVkddRzIZ Hrqw== 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=4/aVFA/sOkURh0DEnUx5+ZqOF5T+pCehMG36kDmI0Wg=; b=Bshjlrx92R13ZWvk/5XZHsaEW/elCciTrfzWHdgmSbyY/OMRxpwnGBTfzYqq7Fq8Uo gnKtxAhaEqzY1rN0vtbJWrjfdIDC8kH47YzsWJNQkedscQCZfxppAy9Irg/C9z0pth9n C7tNJ37hCNM0PWADxsL3dvdw2oVDuxZYWDpUhMCY44g2vkNOdIkSa4BBig47TOwglT+i /IW/W1iA7FjjGQLPp6T0/FRCwnm0GOM8+EwUMH921u/i5kagXCJ5cEaNP9gmeFforTcn 33J4UbrppvrjorhYQ3CVjLmRXsmNF08AlUPU8odmqMBC7B4mt2IaHkkmMfxmDjxmA2SJ kYKg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kTGKet8G; 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=4/aVFA/sOkURh0DEnUx5+ZqOF5T+pCehMG36kDmI0Wg=; b=VRDp1RSbt8NOdsBxaF6fN1sjwn2etwfz1AH5Wwqmi9MPmfYAI6HrldTLiFKN6tihwv TzHDFkKke3AuaXadPgrn6kum7Y2MCZEV27AaRzItmfYsoJyy/AUXM7c76U72DlAItRSB RP7xTIdZHfmWwLBzDRXp1tddQjjqL2DiZkZVo= 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=4/aVFA/sOkURh0DEnUx5+ZqOF5T+pCehMG36kDmI0Wg=; b=bqrvBQRiszs9HVwP9ntOFROrE1hQRjz6S1goEHRlXxoH/phT3AEM5CkcBQ7WJsQICu LCbEhmXIlWrSvs8cosNlyz2Dq16C6f3jZz+Ls45d8JGZ7lARReejnRL1x53I+RFFZqQA e6fmnt2itWhzWBIJD1FAnABhjwKbC+s568PfbBuIeoAz/SbhxsZLTI96JhI4PEnjE3km 2pM3xEuKZBSScQ5yrqL8LwEPaXnZIgrYWYm3ip9l06bJMFlR+1Xhsc1D4hnyOjp5ltpN IqcIw3/8/UgyK1iymlQAEkOvf6R6mJcXuR1PbXzyeCDBOKzxGjAA9zPetC5U4R0NttlS aEOQ== X-Gm-Message-State: AOAM530qOHlgG2Ztx6dwKdWIuiixsFHLF/3uVx0YwRXLjccK+YWkHtSa k9BF1gt7ffUq9N9cNvwHZ+53Ag/q X-Google-Smtp-Source: ABdhPJwV/CSjYZk5B1PzAvKcymiVB/8h/vfWEJTa6UAiRk4lWOFfffW+NDe+bQylOs8ddyEHiQVMZg== X-Received: by 2002:a05:6830:1d43:: with SMTP id p3mr29548557oth.369.1594202742028; Wed, 08 Jul 2020 03:05:42 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6830:1599:: with SMTP id i25ls365560otr.3.gmail; Wed, 08 Jul 2020 03:05:41 -0700 (PDT) X-Received: by 2002:a9d:468c:: with SMTP id z12mr13460755ote.113.1594202741624; Wed, 08 Jul 2020 03:05:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594202741; cv=none; d=google.com; s=arc-20160816; b=qiaIHnszjQNEZ9tfJUelRKVtBmmGG6oigetneg0rhXhX9abmzlA9celr7I4cCpuPlH kS3nPYEUWByjnOafnPBSUiPOpcJf4j8VxmPcDOgH0fCSUJPvqll5cgwx6hZDEwFPNW9C oCjf79T3p5G+hP+VYPyNojb3OiyLfsgVKpH4jad0fNtqKytkxNiVXoXHpoEAr+cOh3NY uHjvL1mZKfjGPqq7ZpxG21ZwvFMBMD/wAAGnG48B1WNPg46bycrVHKlt3rg7bCBLNZoN nyBffsafQHJ71F2t0m+2xPL2yrxIfGjdgX4tH8hNmMnKePkwue8QjtqH8C182oOMDcW3 PgbA== 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=yCLJFw3vKG4dueNOWofWcs8eH46cwiooJLyTkrvhGIo=; b=XdT5h7nFV5M5TEMRdj6/Iz/oneQUyZt4x6qsMAXFpb0lcgnxAICh4g95xunR73n8qK By16o1EtqncQZUXOjhd/Qs5CFspcMqEGEcb0cyatm3Xqy2UI/pnO5g8KAZQLZc75hFZ/ iTARNawael9qnOSm23pjfKMnz0dWBZXMa2Grjri5blDU7SABELLMx5FW05UPJmxbdkyf /vAdmVZbuFD4QFjig5xQU+6bjoLrbRb1TgZwFU9bX6wmaTQO1zSX/ir1kV3fbBZbYJgC M+bq8kQhlfU1KhqY1hDQq7vr0LX0jKPmAa+Y4QRuvgrQfDBjJrx1vdIQW8xKaw/uHdef 3/Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kTGKet8G; 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 h65sor326069oia.131.2020.07.08.03.05.41 for (Google Transport Security); Wed, 08 Jul 2020 03:05:41 -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:90a:e50c:: with SMTP id t12mr8665003pjy.209.1594202741321; Wed, 08 Jul 2020 03:05:41 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:ade2:f5f3:8cc0:52f9]) by smtp.gmail.com with ESMTPSA id n18sm25726647pfd.99.2020.07.08.03.05.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 03:05:40 -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 , Tom Cubie Subject: [PATCH v2 1/7] arm64: dts: rockchip: Sync v5.7-rc1 rk3399pro.dtsi Date: Wed, 8 Jul 2020 15:35:22 +0530 Message-Id: <20200708100528.419035-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200708100528.419035-1-jagan@amarulasolutions.com> References: <20200708100528.419035-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=kTGKet8G; 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: , Sync linux-next v5.7-rc1 rk3399pro.dtsi. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/rk3399pro.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 arch/arm/dts/rk3399pro.dtsi diff --git a/arch/arm/dts/rk3399pro.dtsi b/arch/arm/dts/rk3399pro.dtsi new file mode 100644 index 0000000000..bb5ebf6608 --- /dev/null +++ b/arch/arm/dts/rk3399pro.dtsi @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd. + +#include "rk3399.dtsi" + +/ { + compatible = "rockchip,rk3399pro"; +}; + +/* Default to enabled since AP talk to NPU part over pcie */ +&pcie_phy { + status = "okay"; +}; + +/* Default to enabled since AP talk to NPU part over pcie */ +&pcie0 { + ep-gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; + num-lanes = <4>; + pinctrl-names = "default"; + pinctrl-0 = <&pcie_clkreqn_cpm>; + status = "okay"; +}; From patchwork Wed Jul 8 10:05:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1457 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 506933F062 for ; Wed, 8 Jul 2020 12:05:47 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id z16sf26221442pfq.7 for ; Wed, 08 Jul 2020 03:05:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594202746; cv=pass; d=google.com; s=arc-20160816; b=Kdx5A4T/uH1lE/PhI2AwEICKDAFWK5wp7H2GPc49Bu2LVVl1c5fH4lcB3GrJJlQV9p QzaEuqA+Yd6PtXcRgwsexGkzuIkMcC3dLg3Yk4Zu89bHwizgNpoPXPSC4FwKFjKjtNQI YSh1gACaP8YAi1HNhvPtXZ0ilvkzxsw8ED7PrETAbLOAct6AY9EC+tPiKL4oTWD257jQ /6LRimNtzIgWQkTO8c50zGSmLDCE/vDz06rSkBn2/eO1/E4FvdtCcJTiRyhPlMQRzyu5 f+5H7ecAvWBTrTOdpLL66NNtQHgeUA+eSFvj702yMTaLrZ8cILgFz/FnhT8Sy6IgVfi6 uZ+w== 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=7P9l2Hk5vR2oaZT1aEXpryVIIamyYM/0YTpNispkB70=; b=V42gn9DSjv+Mu4cGzMv708npb5yLhtXGVeTk+VCqysm9/a0E2M1Swvg2OLTDEOn/+3 7AeBw/PJ+B9vcnereEwYShEK2U0XyUG63DsalJgMKy6L5cmfYH632VJUBafGhyPuwavj 3bz09Y1SdUNrf2RHc4HEa3f5yEE6l5FFyYu9y2W+vPbpoFu2swj6T3G16SG7WDz56Xde 7nquV4lPtLbFsiTpzQFajI8cn4Uw24miBcxhu267yjEjz/mtrrVQAb9ruJQHGIzUVN3O JCr6mOWzmGrFNvBizkf94nS+LRum8Cw5GNEoqlUJpGLdQK+wYVqF2vAyRx6qEEsG4LPv iBjQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dYzVRiGK; 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=7P9l2Hk5vR2oaZT1aEXpryVIIamyYM/0YTpNispkB70=; b=DpiCec07hba+oSA5KLirL6n74w0Pct/wsp/OFkbhnv46Zf3af6S6n/l8De3iggw488 onn+w0ABjBiyPatvUv4GzwPPAdE+h/6bkG2BMfiEjimVfNXyk//H0/kgz2EHH8pdPags G8pTu4YLKdQp9NufqltqW49k8AKkMB9LFeilA= 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=7P9l2Hk5vR2oaZT1aEXpryVIIamyYM/0YTpNispkB70=; b=mcOKlrd6iQobVyIjhUbfHuOe5+hMH54if3QCwCAFbZ82O1A2LMEHQlRkZCjOPfwAN0 zDPHzyfcJwdyqh2XS/sevQCcvt40x1zT1iOQfEiPMHNnVlNyQnAKr/6x0CPyKLAilBkP z5SoLbKr6ptIvLZzRl0UNBPieKv6zlR3pQFzvh8n2vnPWJDYR6miAAlYI1+c8ilGRLes TpA4PI9WV6u9Es4rHt4uhagsLupG5OWgJaqfkAIGpkQxjG2UGKP51uuSwjvZMQZTvS13 CbNA8IXSe7yWIkTExl1JqyASZIkiG+L6ZNqWNSvvvBYJY3GwsR5FYiJnOe+FLsAVsR0S udwA== X-Gm-Message-State: AOAM530KbYNtxXhNOnLQYWJxgXrb7fJmvuHO72fOeZHpbnf3hGl1UMWH W2Z+7oF/j57eoyUR1ThBCCAuo+Q3 X-Google-Smtp-Source: ABdhPJzNCpsQM0HZQMGGYg3w3hwtkm+/rbk+r6TlPH+sSL6dlOqrIfZxOK2fkFHGM8Lid+HdcViC7w== X-Received: by 2002:a62:140e:: with SMTP id 14mr9638153pfu.196.1594202746048; Wed, 08 Jul 2020 03:05:46 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:6891:: with SMTP id e17ls583620pgt.3.gmail; Wed, 08 Jul 2020 03:05:45 -0700 (PDT) X-Received: by 2002:aa7:948c:: with SMTP id z12mr21781479pfk.47.1594202745449; Wed, 08 Jul 2020 03:05:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594202745; cv=none; d=google.com; s=arc-20160816; b=sAASRfvXOA1alwkPjVUGZCbWy39k7WuOYcF16t0UraDwY8bQMV28zORVq7Svv1GFE8 /WsVKLXTPXqbmY18sKfhBQjup2ZXfx8sWhrXC+W3Il/9S4ionoesxP9r3RTjK/yRraC/ OZQYIVfc3Krt+J8WpoqxbF/+A9B4x/QTYizWtz0XUQmLLgVXzIxZPknvVFFkq10Yt0y9 MvwxJA351utiHHbawix5qD1uqaEXsmdZQKggyTGzhpvnqVt8joJ8b82wlw+aHFGuoyRo Asb1Li43+BhVZUy1v84HqwMYJVvvgtx645H4Pz9Um0A5FqTBTiAnZ7k4jQb6J+yNn1Cn 39xg== 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=l7P7xIYp61OHYIkY/FentMBpXE8C+e7r+u0K1675Ps0=; b=0Pd4LtC8vL1NCuxWQmJf6NzPH0RxGRk+F5OpuQssFP1vVuuBAIlY6HkkxJt427DMOc Fi9e3w7kaZ9VBUfteUd33xQbLB80XSc7wHvph1DMGmByOrhTi3eREv6DVWt/Fv6O9tFI ksLvM2niZpcjnwpqxt9wThmvXVtmIKJ2A+r+rGNjmxk+WjWCBtwLKcWk9NTk2Sx2RNXY ZYop8nF/zVPREQBvWgVpImcH/o6HLiZ59UaJKFYZnhDSUWNHs6VFQWjif7t5iF+0s4I1 nLi4lz5HLs6FjmkVkU+yLwKuWzG67Uxq7kZrzu2F/J9Hn5Fd9DsuIWt+NhrPlKB3V3lN uf+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dYzVRiGK; 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 q6sor33241992pgp.48.2020.07.08.03.05.45 for (Google Transport Security); Wed, 08 Jul 2020 03:05:45 -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:a63:7f5a:: with SMTP id p26mr48947412pgn.117.1594202744833; Wed, 08 Jul 2020 03:05:44 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:ade2:f5f3:8cc0:52f9]) by smtp.gmail.com with ESMTPSA id n18sm25726647pfd.99.2020.07.08.03.05.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 03:05:44 -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 , Tom Cubie Subject: [PATCH v2 2/7] arm64: dts: rockchip: Sync v5.7-rc1 VMARC RK3399Pro SOM Date: Wed, 8 Jul 2020 15:35:23 +0530 Message-Id: <20200708100528.419035-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200708100528.419035-1-jagan@amarulasolutions.com> References: <20200708100528.419035-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=dYzVRiGK; 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: , VMARC RK3399Pro SOM is a standard SMARC SOM design with Rockchip RK3399Pro SoC, which is designed by Vamrs. Specification: - Rockchip RK3399Pro - PMIC: RK809-3 - SD slot, 16GiB eMMC - 2xUSB-2.0, 1xUSB3.0 - USB-C for power supply - Ethernet, PCIe - HDMI, MIPI-DSI/CSI, eDP Add initial support for VMARC RK3399Pro SOM, this would use with associated carrier board. Sync this dtsi from linux-next v5.7-rc1. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/rk3399pro-vmarc-som.dtsi | 333 ++++++++++++++++++++++++++ 1 file changed, 333 insertions(+) create mode 100644 arch/arm/dts/rk3399pro-vmarc-som.dtsi diff --git a/arch/arm/dts/rk3399pro-vmarc-som.dtsi b/arch/arm/dts/rk3399pro-vmarc-som.dtsi new file mode 100644 index 0000000000..0a516334f1 --- /dev/null +++ b/arch/arm/dts/rk3399pro-vmarc-som.dtsi @@ -0,0 +1,333 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Vamrs Limited + * Copyright (c) 2019 Amarula Solutions(India) + */ + +#include +#include +#include + +/ { + compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; + + clkin_gmac: external-gmac-clock { + compatible = "fixed-clock"; + clock-frequency = <125000000>; + clock-output-names = "clkin_gmac"; + #clock-cells = <0>; + }; + + vcc12v_dcin: vcc12v-dcin-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc12v_dcin"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + }; + + vcc5v0_sys: vcc5v0-sys-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc12v_dcin>; + }; +}; + +&cpu_l0 { + cpu-supply = <&vdd_cpu_l>; +}; + +&cpu_l1 { + cpu-supply = <&vdd_cpu_l>; +}; + +&cpu_l2 { + cpu-supply = <&vdd_cpu_l>; +}; + +&cpu_l3 { + cpu-supply = <&vdd_cpu_l>; +}; + +&emmc_phy { + status = "okay"; +}; + +&gmac { + assigned-clocks = <&cru SCLK_RMII_SRC>; + assigned-clock-parents = <&clkin_gmac>; + clock_in_out = "input"; + phy-supply = <&vcc_lan>; + phy-mode = "rgmii"; + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>; + snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; + snps,reset-active-low; + snps,reset-delays-us = <0 10000 50000>; + tx_delay = <0x28>; + rx_delay = <0x11>; +}; + +&i2c0 { + clock-frequency = <400000>; + i2c-scl-rising-time-ns = <180>; + i2c-scl-falling-time-ns = <30>; + status = "okay"; + + rk809: pmic@20 { + compatible = "rockchip,rk809"; + reg = <0x20>; + interrupt-parent = <&gpio1>; + interrupts = ; + #clock-cells = <1>; + clock-output-names = "rk808-clkout1", "rk808-clkout2"; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_int_l>; + rockchip,system-power-controller; + wakeup-source; + + vcc1-supply = <&vcc5v0_sys>; + vcc2-supply = <&vcc5v0_sys>; + vcc3-supply = <&vcc5v0_sys>; + vcc4-supply = <&vcc5v0_sys>; + vcc5-supply = <&vcc_buck5>; + vcc6-supply = <&vcc_buck5>; + vcc7-supply = <&vcc5v0_sys>; + vcc8-supply = <&vcc3v3_sys>; + vcc9-supply = <&vcc5v0_sys>; + + regulators { + vdd_log: DCDC_REG1 { + regulator-name = "vdd_log"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <1350000>; + regulator-initial-mode = <0x2>; + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <900000>; + }; + }; + + vdd_cpu_l: DCDC_REG2 { + regulator-name = "vdd_cpu_l"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <1350000>; + regulator-ramp-delay = <6001>; + regulator-initial-mode = <0x2>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_ddr: DCDC_REG3 { + regulator-name = "vcc_ddr"; + regulator-always-on; + regulator-boot-on; + regulator-initial-mode = <0x2>; + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vcc3v3_sys: DCDC_REG4 { + regulator-name = "vcc3v3_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-initial-mode = <0x2>; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcc_buck5: DCDC_REG5 { + regulator-name = "vcc_buck5"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <2200000>; + regulator-max-microvolt = <2200000>; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <2200000>; + }; + }; + + vcca_0v9: LDO_REG1 { + regulator-name = "vcca_0v9"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_1v8: LDO_REG2 { + regulator-name = "vcc_1v8"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + vcc_0v9: LDO_REG3 { + regulator-name = "vcc_0v9"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <900000>; + }; + }; + + vcca_1v8: LDO_REG4 { + regulator-name = "vcca_1v8"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1850000>; + regulator-max-microvolt = <1850000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + /* + * As per BSP, but schematic not showing any regulator + * pin for LD05. + */ + vdd1v5_dvp: LDO_REG5 { + regulator-name = "vdd1v5_dvp"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1500000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_1v5: LDO_REG6 { + regulator-name = "vcc_1v5"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1500000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vccio_3v0: LDO_REG7 { + regulator-name = "vccio_3v0"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vccio_sd: LDO_REG8 { + regulator-name = "vccio_sd"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + /* + * As per BSP, but schematic not showing any regulator + * pin for LD09. + */ + vcc_sd: LDO_REG9 { + regulator-name = "vcc_sd"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc5v0_usb2: SWITCH_REG1 { + regulator-name = "vcc5v0_usb2"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <5000000>; + }; + }; + + vccio_3v3: vcc_lan: SWITCH_REG2 { + regulator-name = "vccio_3v3"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + }; +}; + +&io_domains { + status = "okay"; + bt656-supply = <&vcca_1v8>; + sdmmc-supply = <&vccio_sd>; + gpio1830-supply = <&vccio_3v0>; +}; + +&pmu_io_domains { + status = "okay"; + pmu1830-supply = <&vcc_1v8>; +}; + +&sdhci { + bus-width = <8>; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; + non-removable; + status = "okay"; +}; + +&tsadc { + status = "okay"; + rockchip,hw-tshut-mode = <1>; + rockchip,hw-tshut-polarity = <1>; +}; + +&pinctrl { + pmic { + pmic_int_l: pmic-int-l { + rockchip,pins = + <1 RK_PC2 0 &pcfg_pull_up>; + }; + }; +}; From patchwork Wed Jul 8 10:05:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1458 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 97A863F062 for ; Wed, 8 Jul 2020 12:05:50 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id o9sf25670551pfp.6 for ; Wed, 08 Jul 2020 03:05:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594202749; cv=pass; d=google.com; s=arc-20160816; b=g91Y7CYsAm8GtPVYtETgYuAnha4LucbrIPPNHBMp9o44yKJ/PfqD9fm36obRhbt/E+ 2erbiZLlu2tU/hW9IHGoGmwk1djLrs9kU74IuH7iMki0uWw64hANJOmcclqM4aFuT2TF 9m6YS8pu0RLeJRBfh4eUOvVn9FFG2dmywyn/ETWPy08zsOIxJ/+4Cz9uY6ItmXGKeaJx ZBRw/Py2EvR+CYhaIIpCKI3GFcBkfYY5q9Dj3WsIU/LXew42gG9o99ekcvjsIYyHiN9+ SCTlDBJYJFmEeSHe9HkCBP04DMJcUZ9SijCWc4Hqv+maszD0Bb27dflE9YzosgBgY0qs +3TQ== 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=a6DfQ2aYfbX5d8IG7GwT5Bi8spLxmiH0tTVtsn642Mo=; b=hKpbb5WsKWWmC5MU4CHhqzgE8XQttM9VHAzw+bG3SqqBBShKmJbZPsRIOmsJ1jQvtn mYX5JADO/HpafQMKPvX9fJTLO4RME1Cb3+2pGm/IMi8CsMbva0ib4Y6I/MLzZp9v+T3R tPcXiwXAG5F6czIFzIQSYmvqPjrFofEJzqFYU4y7b9LuBDeLTSep4B6KOz6wQrTPc5bV C2szya+DGBIbaXEVHJUR8YIOra/OvZUEQDRCMxMAC1WNy/9MDs73LjDk84xPb8TlSnxX rc5zfKDu9qO4gXg0l8oWD+1WQOZgUVvCkrk66tVt9UgAvQNaJzUzlnbVriyKChmL6Xuq eeWg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YzaelATp; 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=a6DfQ2aYfbX5d8IG7GwT5Bi8spLxmiH0tTVtsn642Mo=; b=a1FV/aGtAkNM2v/h533WWJTAFdueSRiS40mWFqgNir15GPas+thgvt7QVNinh/eXgQ f69vRqmZ7j3CJTdVqLHCwnf+J0ws87CoRZ66ruHVXu4+axywwyYq19mmyE24heui34Ww QXr5jLIWKV5WYcXeOoZQaj43rjLppmC5qGtfA= 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=a6DfQ2aYfbX5d8IG7GwT5Bi8spLxmiH0tTVtsn642Mo=; b=OE7b/fLaFm+2H7Xi3r2caI1Vm6KZa9MFECO47pgR5yIb5dc7LoOL/n3qppn2yuUvUs G86l0H9IaLcA7UGRSD7k5gKAHwWUK4WK+uMGAMoleRfUsPZqA7eCn6JMo0cIzQUb0pHZ gryNI7kAJelWy2EyxD8mwYBIiCvLjQ3DK6gK3jnXsH2x7goUYw5ad91QL17oGtEZV2ER vK1+YUUYlvoeVARE+KWO3vK7wN8deio3TgAU4B03cmJbTq3ykicE5O2+lbABZ82ghxIe fCy56moNLD3YOLI3Y0OK4kkCi9QVHO1Z7ZmFVb6qChKYHTezSSfyd+7TLQmSZsgOBWVg Ko2A== X-Gm-Message-State: AOAM531gVh0dNX3NYcAYCILh2srwRBHGNZ0KqSP21JKFV68B81YfTKLp dUJHci88WaRw4GgYbovbdS1O1f4c X-Google-Smtp-Source: ABdhPJyIpaNkh1goW0U+ySoYPrXqGl2C78XpNSKygfu/FOtIKp/7qvxljDCSaAp+oJfWs0TlVLz6Nw== X-Received: by 2002:a63:531e:: with SMTP id h30mr46975749pgb.165.1594202749415; Wed, 08 Jul 2020 03:05:49 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:1bce:: with SMTP id b197ls677094pfb.10.gmail; Wed, 08 Jul 2020 03:05:49 -0700 (PDT) X-Received: by 2002:a05:6a00:4c:: with SMTP id i12mr27543232pfk.71.1594202748943; Wed, 08 Jul 2020 03:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594202748; cv=none; d=google.com; s=arc-20160816; b=JosmHy2jI3tp5xltNY/yyDL48U/u970yRqSlBrVVT2bif66g19b0F1u9B94ZcBT6jb A14tbMitdjBBbe2/sRBScYEl3ZUcCZs3iThN0rBGs4SIo/+nQuC0Tihw+V4Lftegj4kk NL6DT0HsyUjqsnR8TEQ5HRHxvfQnFMnFySji3gIJyGT/5+Q63kGilYQWR6R7nd2d5RxL JdOTRka4beSYby8R/BpJiY2PhedsAtHJJ8O4zvlk6p5K6i+AVd1XBJ4hs3+FvzBoKezq 9Yx9zQWIhzztBT0cnsem13JJj7u/4q6gFIXjtyzzOL0nBUVkMD24eO52RknHd2zwDqVv Yr8w== 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=Rs54VkhWpkD4iviCP+LDPKoySoJuX6XtfCWZxCWQuXo=; b=Hg9Qe2et4wjfXiqUwWW9GnrDDeiScDGk3ul6Btxd+Girew7b0n71rPbqXBrl+IosFm VPkcQzMmuGmx4GlqHx9UBqueKsIQKhttMNc4mP5Q7vKhJETfVB8dz16tWu9djvFKY10j Isaac4VGGR1JNEo/FSQBBNlwGke4qD7fI4bBNkMmoOqAHGGrow6L1sdviHppqDIIqGs8 3Jkyp4q36+pHS/xL8taLpZzJpOaxieI3LPooX1IaOghF3iObiLNHTIVHpog7gWsHNr0L 2Zozn1WD7QQ1zG8t1ePooHaWOqZOPMBpjFA4M/qlFk3DzerNHg8AWEJ3D9uV6Fi+5SNH xE0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YzaelATp; 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 d15sor33135598pgt.12.2020.07.08.03.05.48 for (Google Transport Security); Wed, 08 Jul 2020 03:05:48 -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:a63:80c8:: with SMTP id j191mr46542173pgd.38.1594202748602; Wed, 08 Jul 2020 03:05:48 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:ade2:f5f3:8cc0:52f9]) by smtp.gmail.com with ESMTPSA id n18sm25726647pfd.99.2020.07.08.03.05.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 03:05:47 -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 , Tom Cubie Subject: [PATCH v2 3/7] ARM: dts: rockchip: Sync v5.7-rc1 Radxa Dalang Carrier Date: Wed, 8 Jul 2020 15:35:24 +0530 Message-Id: <20200708100528.419035-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200708100528.419035-1-jagan@amarulasolutions.com> References: <20200708100528.419035-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=YzaelATp; 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: , Carrier board often referred as baseboard. For making complete SBC or any other industrial boards, these carrier boards will be used with associated SOMs. Radxa has Dalang carrier board which supports on-board peripherals, ports like USB-2.0, USB-3.0, HDMI, MIPI DSI/CSI, eDP, Ethernet, WiFi, PCIe, USB-C, 40-Pin GPIO header and etc. Right now Dalang carrier board is used with two SBC-variants: Rock Pi N10 => VMARC RK3399Por SOM + Dalang carrier board Rock Pi N8 => VMARC RK3288 SOM + Dalang carrier board(+codec) So add this carrier board dtsi as a separate file in ARM directory, so-that the same can reuse it in both rk3288, rk3399pro variants of Rockchip SOMs. Sync this dtsi from linux-next v5.7-rc1. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- .../dts/rockchip-radxa-dalang-carrier.dtsi | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi diff --git a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi new file mode 100644 index 0000000000..df3712aedf --- /dev/null +++ b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi @@ -0,0 +1,81 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Radxa Limited + * Copyright (c) 2019 Amarula Solutions(India) + */ + +#include + +/ { + chosen { + stdout-path = "serial2:1500000n8"; + }; +}; + +&gmac { + status = "okay"; +}; + +&i2c1 { + status = "okay"; + i2c-scl-rising-time-ns = <140>; + i2c-scl-falling-time-ns = <30>; +}; + +&i2c2 { + status = "okay"; + clock-frequency = <400000>; + + hym8563: hym8563@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + #clock-cells = <0>; + clock-frequency = <32768>; + clock-output-names = "hym8563"; + pinctrl-names = "default"; + pinctrl-0 = <&hym8563_int>; + interrupt-parent = <&gpio4>; + interrupts = <30 IRQ_TYPE_LEVEL_LOW>; + }; +}; + +&pwm0 { + status = "okay"; +}; + +&pwm2 { + status = "okay"; +}; + +&sdmmc { + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; + disable-wp; + vqmmc-supply = <&vccio_sd>; + max-frequency = <150000000>; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; + status = "okay"; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_xfer &uart0_cts>; + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; + +&pinctrl { + hym8563 { + hym8563_int: hym8563-int { + rockchip,pins = + <4 RK_PD6 0 &pcfg_pull_up>; + }; + }; +}; From patchwork Wed Jul 8 10:05:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1459 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 58DF23F062 for ; Wed, 8 Jul 2020 12:05:54 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id b69sf23401525pfb.14 for ; Wed, 08 Jul 2020 03:05:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594202753; cv=pass; d=google.com; s=arc-20160816; b=R5pfxoB4zhECNo3vegonaB/HuHE0CR46XCJ1eKZw305m+uaERRV7fGgnnQSkgwfZ7T gLllbO3mv7pq0sr4D2ml3ckyM05MSkokeXatSFwBrBE7J8WE58z9gA+s4ftHXZa/axpB Jg5X2tQxh7/o7goUGqW9m3q1Xw7XAj0dKdUvIXWxBMGdcBPawucTVyUjJLMkzhx5yrs1 /VzFlmnMIVOAjwlPYG+mBvT6Fe/9mBIVMHx0vNvGahxSuWedojGzaBIW4fTNN5o7AmxR V26XF4/8gJDGPqoarmMrJh4pZgAw07W+wpLexQ9fkqGgEVUOcTkcj2y9SsPmLo693zzj W16A== 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=Q8JPyW66fkeqmPsseovMcmu5Gw7arYNIPwMu26FH/fI=; b=f1PF/dxpfALIqoJhyEQoUyAN86m78ydMdh8R5w8mVCpii0xEPTLGyp9nEJe/HSFzj/ ygSF+tZGaf42D5JWq1abEtKlQICXj1xQGuTPXHMbQbLQb/c7qR6FqKQMzmaXBk4Xtl9E YYAXdBke2JQaxvuEVJGJeC5SRy5IToAWNvQtocfjyeLM3x6maBwmBORibfuk4PW5Gmaw 0OqcHpaH1qvW7z5SH3WHucexlnSbCyjXyKvSVxEToZMQ48kq42TtUOCO259/YpNSMkEs nxGKpcv+CFVVN230CTSOz8VAlM2zkxrzQ9gpVEtPzRafz0kdTlVsf8Y5uCqQ5t0qb7+8 rSxA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hzuKqwm7; 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=Q8JPyW66fkeqmPsseovMcmu5Gw7arYNIPwMu26FH/fI=; b=ZQ7fD+cqS3rX4+JmCvJJBhLjHX6Qun+VL8t+6E04pRyMaTU8+T8E3N8Tqek940/lIQ gS0MKGc8UlLqk1eKop1OZU09oMdNdVWGLFNnd5be0hRhRWU1DzvAhrzbqtSqheXAmfft aGuRWoPVwI/jadYMsitiPeFOGfXjFyM8+PieM= 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=Q8JPyW66fkeqmPsseovMcmu5Gw7arYNIPwMu26FH/fI=; b=lO7rsKKIfE14FLGjkfmT+h6vi2ShoElW8iVNnSH/K31tVe+gJIOI2go19mDlLsCgA2 MXnojBsBIFq6Sg1ncutlYERENgL4Jgsiery/6Ejveq3Nx0shv4CQ38oQpMZEFLLksGRC 2VuGX+7tZ0628WQcfXtbVlXTn481qLLrqe4LOWoM4YWTMSeJOMf+oaQI8xPVkkiypH1V A0POLxzvEhqqIh3qP4kd9SN7kHIfE8WzVM06QsLNEIHlF9VpHPAzXiUlYV8sRzITOK2v PqxETEhqNi7HgprPygLoSovbTYt6t1pB3U/wBTSQiJmMr5jJkYzLVormlH+S2BdUWqOe WwmA== X-Gm-Message-State: AOAM531S1zbwolJJ4RWrXMZFgwv3mJsuExvNeBTosEexIt3m4mVEhskm qXbVDDEUrIP7zwRpYvnLKzoE5MrP X-Google-Smtp-Source: ABdhPJzxVLyNk6bLtuqiHDMerjM0tw+ss/Uu3KsUO+FvPb/TwHZrbaxRg3qLrNKCJudLUnRISUihZA== X-Received: by 2002:a63:fc09:: with SMTP id j9mr50435817pgi.308.1594202753073; Wed, 08 Jul 2020 03:05:53 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:b602:: with SMTP id b2ls805608pls.3.gmail; Wed, 08 Jul 2020 03:05:52 -0700 (PDT) X-Received: by 2002:a17:90b:2348:: with SMTP id ms8mr8339023pjb.5.1594202752511; Wed, 08 Jul 2020 03:05:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594202752; cv=none; d=google.com; s=arc-20160816; b=P4Rbp6YbyopIYQcv2aG7ARk1ikahQ/oW+FGzaUe5YnD4QlZoTBdIEFHSdxeKiQ3jwr jXz5Hmnw9F1+5n6ttT+v39x1FRvIt3gfHCk/v0DUBd76+kK6RiRVEpZW75/oxuR2D21U MLcLqNQF5UBS/HH27Abcx2uDjkJRhr2mrNAEtXPw8m0euOCA3BHk4CFFEJpkCT1Co8bd f6sTpf/Tg4P6U7vsoTZM+4dGApPxaUCsqQIEEL8gczzxFFaD5JViS94IqivU5tHqcOjQ 2c9+fm7Kx5F1J0MEBy1vwMzqm7xQ6MWnyJ1LO2XBiq31VbDJrcIBHifCoL5O2awNC//2 pRAA== 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=gpgiPiYyQ3FIPjPKzvYCSf15PWG3SC6968IC4C3AT3g=; b=vHcoFuF9J0EAkWzaExm4QrM6/wj03FLu62uBjJRFhn176ZDtiMTYSrRUUhbx7E113T uWC42XNKdXMLWtRn4lHCWJXCYUYz+paEOqRrCb+RfZgEaONSFRXvPLaG/BmAXEHIcegK UuTg+MdJ+ZaygEXTLSa/jvrwfh4PVCMH9V7zQBgbgSd0GxwVLPJ4GALtqc/7t7m9/Xlk T8ZYM4kK1gumGb0NezSD9NZGArJB7bRl+P4ZBBG5kvHk7NR1PhlLnjeznPc6xXdcEYrJ 7GlaYp3P9oQ1B/mYcvQcYhf3xUH9UAXDlK/h5LilH1xqyOPtXtmoyE8+oHFHrQ67pa32 KJzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hzuKqwm7; 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 o131sor32699797pfg.81.2020.07.08.03.05.52 for (Google Transport Security); Wed, 08 Jul 2020 03:05:52 -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:9a92:: with SMTP id w18mr10060739pfi.233.1594202752175; Wed, 08 Jul 2020 03:05:52 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:ade2:f5f3:8cc0:52f9]) by smtp.gmail.com with ESMTPSA id n18sm25726647pfd.99.2020.07.08.03.05.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 03:05:51 -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 , Tom Cubie Subject: [PATCH v2 4/7] arm64: dts: rockchip: Add Radxa Rock Pi N10 initial support Date: Wed, 8 Jul 2020 15:35:25 +0530 Message-Id: <20200708100528.419035-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200708100528.419035-1-jagan@amarulasolutions.com> References: <20200708100528.419035-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=hzuKqwm7; 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: , Rock Pi N10 is a Rockchip RK3399Pro based SBC, which has - VMARC RK3399Pro SOM (as per SMARC standard) from Vamrs. - Compatible carrier board from Radxa. VAMRC RK3399Pro SOM need to mount on top of radxa dalang carrier board for making Rock Pi N10 SBC. So, add initial support for Rock Pi N10 by including rk3399, rk3399pro vamrc-som and raxda dalang carrier board dtsi files. rk3399pro-rock-pi-n10.dts was synced from linux-next v5.7-rc1. Tested - ROCK PI N10 Model B - ROCK PI N10 Model C - Boot from SD Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/Makefile | 3 +- .../arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi | 7 +++ arch/arm/dts/rk3399pro-rock-pi-n10.dts | 18 ++++++++ arch/arm/dts/rk3399pro-u-boot.dtsi | 6 +++ board/rockchip/evb_rk3399/MAINTAINERS | 6 +++ configs/rock-pi-n10-rk3399pro_defconfig | 46 +++++++++++++++++++ 6 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399pro-rock-pi-n10.dts create mode 100644 arch/arm/dts/rk3399pro-u-boot.dtsi create mode 100644 configs/rock-pi-n10-rk3399pro_defconfig diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 89fa448818..36f3dc6db8 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -136,7 +136,8 @@ dtb-$(CONFIG_ROCKCHIP_RK3399) += \ rk3399-roc-pc-mezzanine.dtb \ rk3399-rock-pi-4.dtb \ rk3399-rock960.dtb \ - rk3399-rockpro64.dtb + rk3399-rockpro64.dtb \ + rk3399pro-rock-pi-n10.dtb dtb-$(CONFIG_ROCKCHIP_RV1108) += \ rv1108-elgin-r1.dtb \ diff --git a/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi b/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi new file mode 100644 index 0000000000..946a0230db --- /dev/null +++ b/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Jagan Teki + */ + +#include "rk3399pro-u-boot.dtsi" +#include "rk3399-sdram-lpddr3-4GB-1600.dtsi" diff --git a/arch/arm/dts/rk3399pro-rock-pi-n10.dts b/arch/arm/dts/rk3399pro-rock-pi-n10.dts new file mode 100644 index 0000000000..6ac2d4d721 --- /dev/null +++ b/arch/arm/dts/rk3399pro-rock-pi-n10.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Radxa Limited + * Copyright (c) 2019 Amarula Solutions(India) + */ + +/dts-v1/; +#include "rk3399.dtsi" +#include "rk3399-opp.dtsi" +#include "rk3399pro-vmarc-som.dtsi" +#include + +/ { + model = "Radxa ROCK Pi N10"; + compatible = "radxa,rockpi-n10", "vamrs,rk3399pro-vmarc-som", + "rockchip,rk3399pro"; +}; diff --git a/arch/arm/dts/rk3399pro-u-boot.dtsi b/arch/arm/dts/rk3399pro-u-boot.dtsi new file mode 100644 index 0000000000..7bddc3acdb --- /dev/null +++ b/arch/arm/dts/rk3399pro-u-boot.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Jagan Teki + */ + +#include "rk3399-u-boot.dtsi" diff --git a/board/rockchip/evb_rk3399/MAINTAINERS b/board/rockchip/evb_rk3399/MAINTAINERS index 792df1087f..578638a58b 100644 --- a/board/rockchip/evb_rk3399/MAINTAINERS +++ b/board/rockchip/evb_rk3399/MAINTAINERS @@ -68,3 +68,9 @@ M: Jagan Teki S: Maintained F: configs/rock-pi-4-rk3399_defconfig F: arch/arm/dts/rk3399-rock-pi-4-u-boot.dtsi + +ROCK-PI-N10 +M: Jagan Teki +S: Maintained +F: configs/rock-pi-n10-rk3399pro_defconfig +F: arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig new file mode 100644 index 0000000000..c705ce01ce --- /dev/null +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -0,0 +1,46 @@ +CONFIG_ARM=y +CONFIG_ARCH_ROCKCHIP=y +CONFIG_SYS_TEXT_BASE=0x00200000 +CONFIG_SPL_GPIO_SUPPORT=y +CONFIG_ENV_OFFSET=0x3F8000 +CONFIG_ROCKCHIP_RK3399=y +CONFIG_TARGET_EVB_RK3399=y +CONFIG_NR_DRAM_BANKS=1 +CONFIG_DEBUG_UART_BASE=0xFF1A0000 +CONFIG_DEBUG_UART_CLOCK=24000000 +CONFIG_DEBUG_UART=y +CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399pro-rock-pi-n10.dtb" +CONFIG_MISC_INIT_R=y +CONFIG_DISPLAY_BOARDINFO_LATE=y +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set +CONFIG_SPL_STACK_R=y +CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x10000 +CONFIG_TPL=y +CONFIG_CMD_BOOTZ=y +CONFIG_CMD_GPT=y +CONFIG_CMD_MMC=y +# CONFIG_CMD_SETEXPR is not set +CONFIG_CMD_TIME=y +CONFIG_SPL_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="rk3399pro-rock-pi-n10" +CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-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_ROCKCHIP_GPIO=y +CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y +CONFIG_MMC_DW=y +CONFIG_MMC_DW_ROCKCHIP=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_ROCKCHIP=y +CONFIG_DM_ETH=y +CONFIG_ETH_DESIGNWARE=y +CONFIG_GMAC_ROCKCHIP=y +CONFIG_PMIC_RK8XX=y +CONFIG_REGULATOR_PWM=y +CONFIG_REGULATOR_RK8XX=y +CONFIG_PWM_ROCKCHIP=y +CONFIG_BAUDRATE=1500000 +CONFIG_DEBUG_UART_SHIFT=2 +CONFIG_SYSRESET=y +CONFIG_ERRNO_STR=y From patchwork Wed Jul 8 10:05:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1460 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 10BE63F062 for ; Wed, 8 Jul 2020 12:05:58 +0200 (CEST) Received: by mail-pg1-f199.google.com with SMTP id m7sf34559981pgv.12 for ; Wed, 08 Jul 2020 03:05:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594202756; cv=pass; d=google.com; s=arc-20160816; b=GT3HbtZ3yAo3JBjDJMVwWjAtr48SifSGxJOvtAotT8GbGmap0VgEFz7S3LVBIplx7E Z6VrvTDTPmslOFQxO04OBvjvV3NJR5wbS/YYaBKOuGHDjBQVs8kF9Nvab3S7duvMw/xY mVOrCznsozi+V0BtkaF8CRIfFmUWfyJkT6wsTSHRcSSF9aUI/lV0ClHEcU9YcL9cUdhe tyhmQ9LgOV3vHFdle811xC9sq/8AcjkOhNIVJtvt0+7Q3t8Lct3DVIiFACdfWebXJkAb yNJVbf8NZ4qa3NLNTsW5BaS8GR6OF57RcGpXJPPM63CEry+gA51dMpwP7FPJpzWVnaYI AAFQ== 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=KjhZ7PbnTAcBUFqkzWlzU13tF/L6LslfQ08+sYwW9eA=; b=XGjrpbhmBpdjuKewG2ovDLcw3s8oktltU10rZDlvKdP//KLT/gMKT+Q++tKo4hoY6s AUsMLF1LUMCm6FESbhfrvYPhsjBvP2eQFbdUNmJxErcdJ5UN6Kkn/GffIaE+IieNK0Sv JeBsxN3k+1cOhg60BgRdvjb8DiOfNWO39eOUq9tgg2GaUs0GB+8CsecDPdZwzuu8E5pN DWszO/JFZQMNcwA+VBj0vWmrlT/yK+o9vYx8goIzp/+AM9riS0qzzmJ48BR/U2Xhr7X7 MNhptGTKHOC1S+q+8/G3D967oK4o1q1hodpPsmHvsoj4fyyJhpmFdZnsKvEjqSaf+66x W0Dg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kS5X4Zf3; 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=KjhZ7PbnTAcBUFqkzWlzU13tF/L6LslfQ08+sYwW9eA=; b=c0BjbQmsnTP9u7Ve3+LBJ9dPNfOtGEeTWnlisXuOHstCs1GQgJ2542h7OYmXZ7dMmy OjRcXWPu6glG2ONy1HQZ1zZzVfO4Nt+BrPyY2HNFGbGaXGI/HyBfdlV+WUuRYwv7iIAS E50jlOqrste9h0p7mrT+/NuStTRMCGuZN6hIk= 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=KjhZ7PbnTAcBUFqkzWlzU13tF/L6LslfQ08+sYwW9eA=; b=Rr8LkU85yW7aJInGrUIx+8TuR1NTycr6g13UUwd13w1tgkEiT6Z8kYHFSJxbMkQSgE DiY6grdNSvcaSo+zQ9fUdxKn3aNaX38H62AaYlZ+TgNtLstTTG6bdjEjp/8tSSt8CGlG DkUZZ6Qy3KpyU/bJHAJBMzLCdgFp0uxkKzS0KymyDqFNRlUXlSshslo+TCp+RVKNj9+t 0lWHuLeyF42lf0VxvBC7/ODh3LoLa4TwQusuaqm5hkeN3owzzgfvKK49CB4/O/luV2WO vb8N158cYnFEwfkIOE9Ubyczd9v1uxcYLf1h4FHdZo81O/Nb/BtwgOmyjZyJsbjjW/1O prnw== X-Gm-Message-State: AOAM5323mF21X7v2D0MBt2+sG+kyhgbtIjtQv12dzIw8LBN2eNJxstIF DwW8k7lKLCTuzHO7ucQK00MfY1Zu X-Google-Smtp-Source: ABdhPJzW+lVreYdiEfPfYdbrplKWm6wbXSs6oKQmFqpdY4dS7Kh5n1e+tnZB0O/7rAxI9Vp88006lA== X-Received: by 2002:a63:c50a:: with SMTP id f10mr49970605pgd.167.1594202756573; Wed, 08 Jul 2020 03:05:56 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:1b4d:: with SMTP id q71ls823658pjq.2.gmail; Wed, 08 Jul 2020 03:05:56 -0700 (PDT) X-Received: by 2002:a17:90a:7103:: with SMTP id h3mr8845837pjk.34.1594202756053; Wed, 08 Jul 2020 03:05:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594202756; cv=none; d=google.com; s=arc-20160816; b=FGM+eM5jHXoJZERcYEYyKN7OOwQabRykFWFLmbWFkN4qdEZDSEQCVXNtzbRqyXfs22 TGeCz0g8AK/3vw+7kG7Z5jF4FwinclY/4ky+fqNqNw2TkgvacXNemIZ+IBpeFCwru6Vr 64wC6ve43us+sGBYJGXFLeQR9g4yHTG2gMfk9i05MHAcDxn1c/Roh/r7oPpXbIEDUoGy ek/YUNF75Xt+HQ38Zo/zho9POQoQMUjJfYyxJOwIUG6PphlmfvRsxZWdVD878159jgEm y+HojodugysNMZe+Epwjy9eXkSkMwNRSYzjmY5xhScjFn/Fi5q6Ry8q/jhNjMZECf3jt 6eSg== 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=0SPmGytSj/8zEf4KNTts1Clr8NPUNvgI/N005A/TVNY=; b=n9ZI08sJvVTDNzN0AWO8diADLmHmVC05fU/g4XKp5J9QSvZrIztkzAiCn/RK7XsetD EGXDR/uHi6E0lw79ww4D+Wvn3O1Mw/YeVPysNTzfTTU2gm3K3DfSURRgF6Xe51Az1Z1E xFDkHoWcUgf3cGGeB5AnyXQ0fhRBmxjqzgH66h+lP9i/FAUoMYNHacJ6Vfhi4lmyf5pQ 1t9CSGwQkUUAut6SrFKmClI+/gj5X4kP499ylWpHBzXsA/h1KsDamwUCL2mk2H0WLFLc URqtQF3XVhFUuvD0JmRSRR+Zff8dzYw+AsbnrLhdVkdB5RNEE849QvkeHNUMNCpItHq+ qO1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kS5X4Zf3; 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 i5sor32925544pfe.47.2020.07.08.03.05.56 for (Google Transport Security); Wed, 08 Jul 2020 03:05:56 -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:dd91:: with SMTP id w139mr30763757pff.40.1594202755727; Wed, 08 Jul 2020 03:05:55 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:ade2:f5f3:8cc0:52f9]) by smtp.gmail.com with ESMTPSA id n18sm25726647pfd.99.2020.07.08.03.05.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 03:05:54 -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 , Tom Cubie Subject: [PATCH v2 5/7] arm64: dts: rockchip: Trivial cleanups for RockPI N10 Date: Wed, 8 Jul 2020 15:35:26 +0530 Message-Id: <20200708100528.419035-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200708100528.419035-1-jagan@amarulasolutions.com> References: <20200708100528.419035-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=kS5X4Zf3; 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: , Radxa dalang carrier boards are used to mount vmarc SoM's of rk3399pro and rk3288 to make complete SBC. So, this patch adds trivial changes to properties. - move common properties into radxa dalang carrier dtsi. - maintain ascending order for nodes, properties. - change the order of dtsi include so-that common properties will reflect in main dts. - drop unnecessary header includes. No functionally changes. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3399pro-rock-pi-n10.dts | 2 +- arch/arm/dts/rk3399pro-vmarc-som.dtsi | 98 ++++++++++--------- .../dts/rockchip-radxa-dalang-carrier.dtsi | 67 ++++++------- 3 files changed, 85 insertions(+), 82 deletions(-) diff --git a/arch/arm/dts/rk3399pro-rock-pi-n10.dts b/arch/arm/dts/rk3399pro-rock-pi-n10.dts index 6ac2d4d721..8001635182 100644 --- a/arch/arm/dts/rk3399pro-rock-pi-n10.dts +++ b/arch/arm/dts/rk3399pro-rock-pi-n10.dts @@ -8,8 +8,8 @@ /dts-v1/; #include "rk3399.dtsi" #include "rk3399-opp.dtsi" -#include "rk3399pro-vmarc-som.dtsi" #include +#include "rk3399pro-vmarc-som.dtsi" / { model = "Radxa ROCK Pi N10"; diff --git a/arch/arm/dts/rk3399pro-vmarc-som.dtsi b/arch/arm/dts/rk3399pro-vmarc-som.dtsi index 0a516334f1..63eb498b36 100644 --- a/arch/arm/dts/rk3399pro-vmarc-som.dtsi +++ b/arch/arm/dts/rk3399pro-vmarc-som.dtsi @@ -7,35 +7,12 @@ #include #include -#include / { compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; - clkin_gmac: external-gmac-clock { - compatible = "fixed-clock"; - clock-frequency = <125000000>; - clock-output-names = "clkin_gmac"; - #clock-cells = <0>; - }; - - vcc12v_dcin: vcc12v-dcin-regulator { - compatible = "regulator-fixed"; - regulator-name = "vcc12v_dcin"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <12000000>; - regulator-max-microvolt = <12000000>; - }; - - vcc5v0_sys: vcc5v0-sys-regulator { - compatible = "regulator-fixed"; - regulator-name = "vcc5v0_sys"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - vin-supply = <&vcc12v_dcin>; + chosen { + stdout-path = "serial2:1500000n8"; }; }; @@ -61,17 +38,13 @@ &gmac { assigned-clocks = <&cru SCLK_RMII_SRC>; - assigned-clock-parents = <&clkin_gmac>; - clock_in_out = "input"; phy-supply = <&vcc_lan>; - phy-mode = "rgmii"; - pinctrl-names = "default"; - pinctrl-0 = <&rgmii_pins>; snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; - snps,reset-active-low; - snps,reset-delays-us = <0 10000 50000>; - tx_delay = <0x28>; - rx_delay = <0x11>; +}; + +&hym8563 { + interrupt-parent = <&gpio4>; + interrupts = ; }; &i2c0 { @@ -297,16 +270,53 @@ }; }; -&io_domains { +&i2c1 { + i2c-scl-rising-time-ns = <140>; + i2c-scl-falling-time-ns = <30>; + status = "okay"; +}; + +&i2c2 { + clock-frequency = <400000>; status = "okay"; + + hym8563: hym8563@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + #clock-cells = <0>; + clock-frequency = <32768>; + clock-output-names = "hym8563"; + pinctrl-names = "default"; + pinctrl-0 = <&hym8563_int>; + interrupt-parent = <&gpio4>; + interrupts = ; + }; +}; + +&io_domains { bt656-supply = <&vcca_1v8>; sdmmc-supply = <&vccio_sd>; gpio1830-supply = <&vccio_3v0>; + status = "okay"; +}; + +&pinctrl { + hym8563 { + hym8563_int: hym8563-int { + rockchip,pins = <4 RK_PD6 0 &pcfg_pull_up>; + }; + }; + + pmic { + pmic_int_l: pmic-int-l { + rockchip,pins = <1 RK_PC2 0 &pcfg_pull_up>; + }; + }; }; &pmu_io_domains { - status = "okay"; pmu1830-supply = <&vcc_1v8>; + status = "okay"; }; &sdhci { @@ -317,17 +327,13 @@ status = "okay"; }; +&sdmmc { + cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; + max-frequency = <150000000>; +}; + &tsadc { - status = "okay"; rockchip,hw-tshut-mode = <1>; rockchip,hw-tshut-polarity = <1>; -}; - -&pinctrl { - pmic { - pmic_int_l: pmic-int-l { - rockchip,pins = - <1 RK_PC2 0 &pcfg_pull_up>; - }; - }; + status = "okay"; }; diff --git a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi index df3712aedf..450e5bb5af 100644 --- a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi @@ -8,36 +8,44 @@ #include / { - chosen { - stdout-path = "serial2:1500000n8"; + clkin_gmac: external-gmac-clock { + compatible = "fixed-clock"; + clock-frequency = <125000000>; + clock-output-names = "clkin_gmac"; + #clock-cells = <0>; }; -}; -&gmac { - status = "okay"; -}; + vcc12v_dcin: vcc12v-dcin-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc12v_dcin"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + }; -&i2c1 { - status = "okay"; - i2c-scl-rising-time-ns = <140>; - i2c-scl-falling-time-ns = <30>; + vcc5v0_sys: vcc5v0-sys-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc12v_dcin>; + }; }; -&i2c2 { +&gmac { + assigned-clock-parents = <&clkin_gmac>; + clock_in_out = "input"; + phy-mode = "rgmii"; + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>; + snps,reset-active-low; + snps,reset-delays-us = <0 10000 50000>; + tx_delay = <0x28>; + rx_delay = <0x11>; status = "okay"; - clock-frequency = <400000>; - - hym8563: hym8563@51 { - compatible = "haoyu,hym8563"; - reg = <0x51>; - #clock-cells = <0>; - clock-frequency = <32768>; - clock-output-names = "hym8563"; - pinctrl-names = "default"; - pinctrl-0 = <&hym8563_int>; - interrupt-parent = <&gpio4>; - interrupts = <30 IRQ_TYPE_LEVEL_LOW>; - }; }; &pwm0 { @@ -52,10 +60,8 @@ bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed; - cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; disable-wp; vqmmc-supply = <&vccio_sd>; - max-frequency = <150000000>; pinctrl-names = "default"; pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; status = "okay"; @@ -70,12 +76,3 @@ &uart2 { status = "okay"; }; - -&pinctrl { - hym8563 { - hym8563_int: hym8563-int { - rockchip,pins = - <4 RK_PD6 0 &pcfg_pull_up>; - }; - }; -}; From patchwork Wed Jul 8 10:05:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1461 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 06A703F062 for ; Wed, 8 Jul 2020 12:06:02 +0200 (CEST) Received: by mail-pl1-f200.google.com with SMTP id m4sf24798449pll.11 for ; Wed, 08 Jul 2020 03:06:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594202760; cv=pass; d=google.com; s=arc-20160816; b=o6BDb343ueO/mC8qOgqGWLv7BazKVkA80WQIH/KfRO3s3Tnxx7I8jRzrYzoWOYUK6r tf6dKW4LYeYhyctiJn8fUUEeZpvR3mo3uFx5yEIMrkz7IULYWJ7j8slQmTTEYqcM3gLX e4q0eoyj/yxklA6oQ9qSfGrBDM8Cs5Lm+U9EQPNwHnrXTWZNulouR51pFzW7/LfRaybv FslodcptFmXmlEegNWFMLFK38jQFbxJyln0JetQS6Qu1qlyExAC/boP6EPnZaJz6+T9w 8ty4seaDO70OcJKp9Wdlhw7qDLipfNSDZF4zWG9ou27Gfvuw1zIcMUCP2Gly8s7PGnpb 693g== 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=T1yw6GqrplAsKqJ+XEdFUNcXGzTNrhSe/zZVH0uVjBM=; b=HbvF9Ya9YMyWIhmTN18WhKp0JO6RaCWnFgWuAsNjiSSyXFFqa/jEkhjUpyRGdXFEBI lwI+biFn3QyDNnLcTCptzxgRwRTpbbC2EpMZV4/uBtsNa1cpqJyjVBL8Mz2CBvxaWJBP Dd8gKmxt00umRIlJ2V7nYEvPCXgJ6A7gN0igOihmjNS4g2JMOn3s7K4LZuKUAmO0sAM/ tKu134E2tsM2tsMTV5Zxjr+vcwV2NumlQG7oelvQnb81FOQ1NJpuKW210yfrDKIa0qUP 3oaaRppB/7gGVjY4vJM7G8wvuUZnsQPBe8IesWfC6C26igUJUSTRWy0bMwfe8MfP3FXY IdPg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QrmGVdKO; 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=T1yw6GqrplAsKqJ+XEdFUNcXGzTNrhSe/zZVH0uVjBM=; b=c3KXqUYHUYa98zLJucbkw5DUMQ3dsPCow1pFhaOrhawrlPtPfjp7JvyTlcvgEVZz4L P6l8vWuMhojXLSjj8NyJEDRWWfvfUFmP2rnkWTAkSYJLkFxp3vCgpurUy7slgB8BtFem IOdAg3JnJfvN6TMS/BkA2Wb+bVsVIBvTgTAd4= 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=T1yw6GqrplAsKqJ+XEdFUNcXGzTNrhSe/zZVH0uVjBM=; b=DqVB5+9nXRFkl0Az1TVm8SPJvdqanOr2VMJGZHvMkdUzbtxX1ogeWRcjbS06xKcVws EDFmbJHNQ29LYbVVKtlaahdLUXztq69qwdFlZcJbZKlr9nvxrUL56vl8yngS7zZ2fWdd 1shzsFEznMrd7z5D3BJ5S5Qx0TmpO+V4PVMKaqqW6Lfp1jiJPbJz4+DKhntxYUf3+Vnz wfzOrZxErdZZtdYVteeSRj6k7j+jHWnB8BvlWTNqAiLgDY1ymabS1/9THsXZ2WPS7AVR N+CD4+GpPMDGozsSZFX0MbTm69tHRe/MjCb0kTE0mkdbY9ID6JJVdECUYJ5Xm3GWM1PI O+FA== X-Gm-Message-State: AOAM530utH3SjxoynmbYoPdO368ybyzHyhL9E5ggl747wMWzkMig8RuX WQ4QL8VfN03YTxeHB1UFgXDBIdF5 X-Google-Smtp-Source: ABdhPJxZpzElHrNUq2+LgRYjb8nJsHf7MqSf6X/qS0BAbef01+3Bco8up/QHgZJUxTy85c5sdMTXXA== X-Received: by 2002:a05:6a00:84e:: with SMTP id q14mr53245021pfk.309.1594202760069; Wed, 08 Jul 2020 03:06:00 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:bb8f:: with SMTP id m15ls802914pls.5.gmail; Wed, 08 Jul 2020 03:05:59 -0700 (PDT) X-Received: by 2002:a17:90a:8a8b:: with SMTP id x11mr9057189pjn.127.1594202759524; Wed, 08 Jul 2020 03:05:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594202759; cv=none; d=google.com; s=arc-20160816; b=iW2duuR6GCNcmj5ajHlQxjlBJH+9iqDERBS2u7IdjdwC7VFqm3vSVf8UYo33dq2LR9 jqdwF4pXvQzNSR01RuNxSVH5tR9daBDdT1yy5rWlOHBj4JhqEo7Uxmw9e2/KQbnBjddP 8yzQ28+EnWLsclNOmkmjJbJvbPHKpgb/q9PzVzl3uby5/OlAoYiAG5tAscLP9zqs2Sp8 t0+goB+TjJ1hxw+k7opVpZfejFSHEZ97Pm+nTDd1XAnWptM+qiA6V83nspkzLMuaqBSa uqITdti2fRtODeM9bVNJr0oeFbNK2qBvx5FzLfpn4FK3c/yC3+NquoIpXsMMEMYFlupg 35ZQ== 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=ZvymIFpzpqT6dA5muRoxEQNXuSgzsFU0Jw8JbJLPKfI=; b=tDt6q7sGlIHbCNAHG4ALyyzjEvPujE3BnL/Qvt+KZYQPEJbAif88kvgl6SuyhOtHRB DKQ7eOsUW3BPbBagswOyqhxruqoMjGkBuiSxved9uousO6wFsin9Y+/TuBpUe3tjqjYx EXT3k5nXxunVYcWupoRw0w33LCi4GmoyVaSWJGyCwK4bpDYeqQsDviMssxjzM7QH3yia ewyR5hfRKCznxHeSb+8A9xLPNGyU5G76KczdZaQjzpM9GsqfIlMoIPhKRMQTW3Ea5l7m IdH5FzoCeMWwg2DFGIkT+glHXkovyrjDuZ62dnW2kGDJTT8YbTYWkFW7lM503WFfCg2T NhNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QrmGVdKO; 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 y8sor26208227pfq.18.2020.07.08.03.05.59 for (Google Transport Security); Wed, 08 Jul 2020 03:05:59 -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:934a:: with SMTP id 10mr16052774pfn.302.1594202759197; Wed, 08 Jul 2020 03:05:59 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:ade2:f5f3:8cc0:52f9]) by smtp.gmail.com with ESMTPSA id n18sm25726647pfd.99.2020.07.08.03.05.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 03:05:58 -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 , Tom Cubie Subject: [PATCH v2 6/7] ARM: dts: rockchip: Add VMARC RK3288 SOM initial support Date: Wed, 8 Jul 2020 15:35:27 +0530 Message-Id: <20200708100528.419035-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200708100528.419035-1-jagan@amarulasolutions.com> References: <20200708100528.419035-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=QrmGVdKO; 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: , VMARC RK3288 SOM is a standard SMARC SOM design with Rockchip RK3288 SoC, which is designed by Vamrs. Specification: - Rockchip RK3288 - PMIC: RK808 - eMMC: 16GB/32GB/64GB - SD slot - 2xUSB-2.0, 1xUSB3.0 - USB-C for power supply - Ethernet - HDMI, MIPI-DSI/CSI, eDP Add initial support for VMARC RK3288 SOM, this would use with associated carrier board. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-vmarc-som.dtsi | 270 +++++++++++++++++++++++++++++ 1 file changed, 270 insertions(+) create mode 100644 arch/arm/dts/rk3288-vmarc-som.dtsi diff --git a/arch/arm/dts/rk3288-vmarc-som.dtsi b/arch/arm/dts/rk3288-vmarc-som.dtsi new file mode 100644 index 0000000000..0bcb9f067d --- /dev/null +++ b/arch/arm/dts/rk3288-vmarc-som.dtsi @@ -0,0 +1,270 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Vamrs Limited + * Copyright (c) 2019 Amarula Solutions(India) + */ + +#include +#include + +/ { + compatible = "vamrs,rk3288-vmarc-som", "rockchip,rk3288"; + + vccio_flash: vccio-flash-regulator { + compatible = "regulator-fixed"; + regulator-name = "vccio_flash"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vcc_io>; + }; +}; + +&emmc { + bus-width = <8>; + cap-mmc-highspeed; + disable-wp; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>; + vmmc-supply = <&vcc_io>; + vqmmc-supply = <&vccio_flash>; + status = "okay"; +}; + +&gmac { + assigned-clocks = <&cru SCLK_MAC>; + phy-supply = <&vcc_io>; + snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; +}; + +&i2c0 { + clock-frequency = <400000>; + status = "okay"; + + rk808: pmic@1b { + compatible = "rockchip,rk808"; + reg = <0x1b>; + interrupt-parent = <&gpio0>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_int &global_pwroff>; + 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>; + vcc6-supply = <&vcc5v0_sys>; + vcc7-supply = <&vcc5v0_sys>; + vcc8-supply = <&vcc_io>; + vcc9-supply = <&vcc_io>; + vcc10-supply = <&vcc5v0_sys>; + vcc11-supply = <&vcc5v0_sys>; + vcc12-supply = <&vcc_io>; + vddio-supply = <&vcc_io>; + + regulators { + vdd_cpu: DCDC_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <1400000>; + regulator-name = "vdd_arm"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_gpu: DCDC_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <1250000>; + regulator-name = "vdd_gpu"; + regulator-ramp-delay = <6000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_ddr: DCDC_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc_ddr"; + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vcc_io: DCDC_REG4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_io"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcc_tp: LDO_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_tp"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcca_codec: LDO_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcca_codec"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vdd_10: LDO_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-name = "vdd_10"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1000000>; + }; + }; + + vcc_wl: LDO_REG4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc_wl"; + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + 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>; + }; + }; + + vdd10_lcd: LDO_REG6 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-name = "vdd10_lcd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_18: LDO_REG7 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc_18"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + vcc18_lcd: LDO_REG8 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc18_lcd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_sd: SWITCH_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc_sd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_lcd: SWITCH_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc_lcd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + }; +}; + +&io_domains { + bb-supply = <&vcc_io>; + flash0-supply = <&vccio_flash>; + gpio1830-supply = <&vcc_18>; + gpio30-supply = <&vcc_io>; + sdcard-supply = <&vccio_sd>; + status = "okay"; +}; + +&pinctrl { + pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { + drive-strength = <8>; + }; + + pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { + bias-pull-up; + drive-strength = <8>; + }; + + pmic { + pmic_int: pmic-int { + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + sdmmc { + sdmmc_bus4: sdmmc-bus4 { + rockchip,pins = + <6 RK_PC0 1 &pcfg_pull_up_drv_8ma>, + <6 RK_PC1 1 &pcfg_pull_up_drv_8ma>, + <6 RK_PC2 1 &pcfg_pull_up_drv_8ma>, + <6 RK_PC3 1 &pcfg_pull_up_drv_8ma>; + }; + + sdmmc_clk: sdmmc-clk { + rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>; + }; + + sdmmc_cmd: sdmmc-cmd { + rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>; + }; + }; +}; From patchwork Wed Jul 8 10:05:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1462 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id BDAAA3F062 for ; Wed, 8 Jul 2020 12:06:04 +0200 (CEST) Received: by mail-oo1-f69.google.com with SMTP id j13sf14728568ooe.22 for ; Wed, 08 Jul 2020 03:06:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594202763; cv=pass; d=google.com; s=arc-20160816; b=mhgZKIb/kPhBvxd/tsVgDGBoMSqIQz9MSnl9rjpOV2LhLN+601YmqfJ2rIWxjD9QSJ 1fVSpJSgQ3z/ePwvH5PbuMpKV3rGdgedG9KOmt/5IWZaaBhe0Z7vWoYmvCL0fIZP0JO+ IKMe4cH510e5Rk7UMxgQR0ZKh2uhSIcaREq8jNC3qIHauf5QCPLrdG8Ww5wzkQbwaCwQ dWepLWsEWcrYNfwn3L+StU5Kkz53bSxWAOdRAHPRly2AdGCRxqO28VQYGThoJDBMVvHc e0vTW2T2yPd9NKp+m0MCbvnYGDUok6Mo13pMoZTnSYRcz9XHm7J68aTInOcRr9GB1Rim M1bw== 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=3Hk4/LOrgGengfIzz5IVlRr7fLQ7cYmrE9IocGOrfMw=; b=A5V1NM5Kg6ugElFSG5bojuLTksMLtae9P1anS3FURQiyqmv2tUHM6pak26PFanRmsL gSInipCb3ySirmmyeIYYZsLeL8TWC/yyv5yLQID+TGgitLQfm9XLgfDeOY3ApOYtD+RL 2vuesi2w0RxxzBrvYGs8lzOUSugKV54sp2yQmp2qsqsVObpaKC9n61BDqJTUrNrwEbis WUFEj8igVaM4CUSGF/hTagRjecQCStSNoUL7hfDCDcA0GHpT1FApyE8HYkxaHZIArFCU KPVymMk71MFdnXgoWqfEKvzG1/PLodeS37qbzag67uUe349LTBxNdYxXxZmMid+JebDb K5tA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Mk3h2P3Q; 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=3Hk4/LOrgGengfIzz5IVlRr7fLQ7cYmrE9IocGOrfMw=; b=SlROSFJHZZA03Gqfni+MuIRonD4v3zkhW0ckLlAZf8W34XTL7x8pNyV3uXu7ti4nyE Cv04dA/YA4FIIQJui+qZA3sYVcHngg/kpE1r0eqM3yeueUn2bw286zowu5rsRxCULEmg 8Mss9btltKG/aSDtIvoYYBD5AMQeV27s8aKNI= 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=3Hk4/LOrgGengfIzz5IVlRr7fLQ7cYmrE9IocGOrfMw=; b=KESR0Kc6OBZ7hZRL0Wfa05jtXlI9OBoCgFsdPC6Z5RbLk8oBdyBNSLbqFSWZFa6oJF +lj0+o+W1oL8DVS8hDnJWtOgSrYhTrsrJrBIkOb9DnilEdMr/erdg+yESUV0KMOxz+ru a6ArsuC6VlKoZJHE1nS9Y6OUQaObAQk3fSC0wArc3n4BIDQX8U+NHoGa9iqyZkDlLCav 3rUjxq4WQuVXyUveCSMkIVu7UY7s7AeHA9B+cvqLlMCh1L3S3wpQPTSCknJ+m68IFc9G p11VvIX4TsOcF9eCRgmPQzTSBJm5bXZiDeJPCN6Kyipy0pmpy1OvWwoYgq669PWghlAN xqRw== X-Gm-Message-State: AOAM532swTn1vFRPVGAl/YmMso97tVMHDwfPcpQFxD13Rwu8szaPg4Ki z5+l8n7LAekaoutUGhtwvGTR1YY1 X-Google-Smtp-Source: ABdhPJwH8i+oGCtcJ69Dlbs/vLMTUrL/VuihOBMXymSOJCewgY1Tc68uaJTJp73wPd7xZm34vhyCLg== X-Received: by 2002:a4a:2459:: with SMTP id v25mr50162607oov.75.1594202763632; Wed, 08 Jul 2020 03:06:03 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aca:8cd:: with SMTP id 196ls349174oii.4.gmail; Wed, 08 Jul 2020 03:06:03 -0700 (PDT) X-Received: by 2002:aca:cc02:: with SMTP id c2mr6661169oig.5.1594202763240; Wed, 08 Jul 2020 03:06:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594202763; cv=none; d=google.com; s=arc-20160816; b=XVYi2Cr4WgkqmEN7it46msZfMUzCNu/4Cx0/iDh9aAaUBVWu5vHVppY1kKjJDVEYRz nFo3XC7EAflx8DoVt54fA0R7hhru9nO51dQIq2Kz+CTk+lq8YeKBjq8pr8/IlpFwsNXb O3E4dcAbWOMWiVBYT/gjrUl7mkAf46eWsdIl61jD4g15EeuH88B4ySLI4osJdONgTtaC YjUjGEbmtp+YI1B5uS9AhTiUcAmn+aQ+zx5PbOpW3ONZBm6stEs3AJH0nHDBLolJup3j whP5pOGYJkL1gf6cBnbscAeW6B+Ng0DN3TSsQtXQFYYfJ/IZdFCqGOlLm33XsuC26hwK 2kpg== 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=HCUsQxBWcOE9MprkuN5TAtZo/o8Ak5v+3Qo//Jeb3Yo=; b=y9VLoaGqDsnA74b9Df2TnecMsua8cC6TNpvCcatf8AiJrjv9zMRL0wJaGS0UB1j+Zj c/ADtIuG2B+daOPZ1oeUgx1A2wZs9JSYRLGPAo7JzJNHC3K3fBpDD4ltJHGs/J2DJpBz 0yaNlUSE6dfrk0IIEYmgCOSnToPyjdaZtRMwrqGcPqooyih1DhsNH7R40igeBOVAsICC e9/rKtaX0UM7P/pP0XxIVLO4Z6KVBeZp6BjnG5aI7THYk2diVLtyQhV9M6C3ko09YBUm sm2gmrfrlub9xunp3sZCE7kcxAA6ObMVRnBdTIxW2DjM/FiPAHMFQO5YffVkuGJM+Ac+ orcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Mk3h2P3Q; 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 a69sor8534925oib.108.2020.07.08.03.06.03 for (Google Transport Security); Wed, 08 Jul 2020 03:06:03 -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:a63:5412:: with SMTP id i18mr35196202pgb.63.1594202762902; Wed, 08 Jul 2020 03:06:02 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:ade2:f5f3:8cc0:52f9]) by smtp.gmail.com with ESMTPSA id n18sm25726647pfd.99.2020.07.08.03.05.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 03:06:02 -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 , Tom Cubie Subject: [PATCH v2 7/7] ARM: dts: rockchip: Add Radxa Rock Pi N8 initial support Date: Wed, 8 Jul 2020 15:35:28 +0530 Message-Id: <20200708100528.419035-8-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200708100528.419035-1-jagan@amarulasolutions.com> References: <20200708100528.419035-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=Mk3h2P3Q; 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: , Rock Pi N8 is a Rockchip RK3288 based SBC, which has - VMARC RK3288 SOM (as per SMARC standard) from Vamrs. - Compatible carrier board from Radxa. VAMRC RK3288 SOM need to mount on top of radxa dalang carrier board for making Rock Pi N8 SBC. So, add initial support for Rock Pi N8 by including rk3288, rk3288 vamrc-som and raxda dalang carrier board dtsi files. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi | 39 +++++++++++++ arch/arm/dts/rk3288-rock-pi-n8.dts | 17 ++++++ arch/arm/dts/rk3288-vmarc-som.dtsi | 9 --- board/rockchip/evb_rk3288/MAINTAINERS | 6 ++ configs/rock-pi-n8-rk3288_defconfig | 66 ++++++++++++++++++++++ 6 files changed, 129 insertions(+), 9 deletions(-) create mode 100644 arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi create mode 100644 arch/arm/dts/rk3288-rock-pi-n8.dts create mode 100644 configs/rock-pi-n8-rk3288_defconfig diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 36f3dc6db8..befa9554a8 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -91,6 +91,7 @@ dtb-$(CONFIG_ROCKCHIP_RK3288) += \ rk3288-miqi.dtb \ rk3288-phycore-rdk.dtb \ rk3288-popmetal.dtb \ + rk3288-rock-pi-n8.dtb \ rk3288-rock2-square.dtb \ rk3288-tinker.dtb \ rk3288-tinker-s.dtb \ diff --git a/arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi b/arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi new file mode 100644 index 0000000000..538607dd73 --- /dev/null +++ b/arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi @@ -0,0 +1,39 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2017 Jagan Teki + */ + +#include "rk3288-u-boot.dtsi" + +/{ + chosen { + stdout-path = &uart2; + }; +}; + +&dmc { + rockchip,pctl-timing = <0x215 0xc8 0x0 0x35 0x26 0x2 0x70 0x2000d + 0x6 0x0 0x8 0x4 0x17 0x24 0xd 0x6 + 0x4 0x8 0x4 0x76 0x4 0x0 0x30 0x0 + 0x1 0x2 0x2 0x4 0x0 0x0 0xc0 0x4 + 0x8 0x1f4>; + rockchip,phy-timing = <0x48d7dd93 0x187008d8 0x121076 + 0x0 0xc3 0x6 0x2>; + rockchip,sdram-params = <0x20d266a4 0x5b6 2 533000000 6 9 0>; +}; + +&sdmmc { + u-boot,dm-pre-reloc; +}; + +&emmc { + u-boot,dm-pre-reloc; +}; + +&uart2 { + u-boot,dm-pre-reloc; +}; + +&pinctrl { + u-boot,dm-pre-reloc; +}; diff --git a/arch/arm/dts/rk3288-rock-pi-n8.dts b/arch/arm/dts/rk3288-rock-pi-n8.dts new file mode 100644 index 0000000000..c9894a60e7 --- /dev/null +++ b/arch/arm/dts/rk3288-rock-pi-n8.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Vamrs Limited + * Copyright (c) 2019 Amarula Solutions(India) + */ + +/dts-v1/; +#include "rk3288.dtsi" +#include +#include "rk3288-vmarc-som.dtsi" + +/ { + model = "Radxa ROCK Pi N8"; + compatible = "radxa,rockpi-n8", "vamrs,rk3288-vmarc-som", + "rockchip,rk3288"; +}; diff --git a/arch/arm/dts/rk3288-vmarc-som.dtsi b/arch/arm/dts/rk3288-vmarc-som.dtsi index 0bcb9f067d..0e609e7fd3 100644 --- a/arch/arm/dts/rk3288-vmarc-som.dtsi +++ b/arch/arm/dts/rk3288-vmarc-som.dtsi @@ -225,15 +225,6 @@ }; }; -&io_domains { - bb-supply = <&vcc_io>; - flash0-supply = <&vccio_flash>; - gpio1830-supply = <&vcc_18>; - gpio30-supply = <&vcc_io>; - sdcard-supply = <&vccio_sd>; - status = "okay"; -}; - &pinctrl { pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { drive-strength = <8>; diff --git a/board/rockchip/evb_rk3288/MAINTAINERS b/board/rockchip/evb_rk3288/MAINTAINERS index 8a4f127f88..9bd6b1e8a4 100644 --- a/board/rockchip/evb_rk3288/MAINTAINERS +++ b/board/rockchip/evb_rk3288/MAINTAINERS @@ -4,3 +4,9 @@ S: Maintained F: board/rockchip/evb_rk3288 F: include/configs/evb_rk3288.h F: configs/evb-rk3288_defconfig + +ROCK-PI-N8 +M: Jagan Teki +S: Maintained +F: configs/rock-pi-n8-rk3288_defconfig +F: arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig new file mode 100644 index 0000000000..6b31e19eda --- /dev/null +++ b/configs/rock-pi-n8-rk3288_defconfig @@ -0,0 +1,66 @@ +CONFIG_ARM=y +# CONFIG_SPL_USE_ARCH_MEMCPY is not set +# CONFIG_SPL_USE_ARCH_MEMSET is not set +CONFIG_ARCH_ROCKCHIP=y +CONFIG_SYS_TEXT_BASE=0x00100000 +CONFIG_ENV_OFFSET=0x3F8000 +CONFIG_ROCKCHIP_RK3288=y +CONFIG_TARGET_EVB_RK3288=y +CONFIG_SPL_STACK_R_ADDR=0x80000 +CONFIG_NR_DRAM_BANKS=1 +CONFIG_DEBUG_UART_BASE=0xff690000 +CONFIG_DEBUG_UART_CLOCK=24000000 +CONFIG_DEBUG_UART=y +CONFIG_USE_PREBOOT=y +CONFIG_SILENT_CONSOLE=y +CONFIG_DEFAULT_FDT_FILE="rk3288-rock-pi-n8.dtb" +CONFIG_DISPLAY_BOARDINFO_LATE=y +CONFIG_SPL_STACK_R=y +CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000 +CONFIG_CMD_SPL=y +CONFIG_CMD_GPIO=y +CONFIG_CMD_GPT=y +CONFIG_CMD_I2C=y +CONFIG_CMD_MMC=y +# CONFIG_CMD_SETEXPR is not set +CONFIG_CMD_CACHE=y +CONFIG_CMD_TIME=y +CONFIG_CMD_PMIC=y +CONFIG_CMD_REGULATOR=y +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set +CONFIG_SPL_PARTITION_UUIDS=y +CONFIG_SPL_OF_CONTROL=y +CONFIG_DEFAULT_DEVICE_TREE="rk3288-rock-pi-n8" +CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-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_SPL_SIMPLE_BUS is not set +CONFIG_CLK=y +CONFIG_SPL_CLK=y +CONFIG_ROCKCHIP_GPIO=y +CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_LED=y +CONFIG_LED_GPIO=y +CONFIG_MMC_DW=y +CONFIG_MMC_DW_ROCKCHIP=y +CONFIG_DM_ETH=y +CONFIG_ETH_DESIGNWARE=y +CONFIG_GMAC_ROCKCHIP=y +CONFIG_PINCTRL=y +CONFIG_SPL_PINCTRL=y +CONFIG_DM_PMIC=y +# CONFIG_SPL_PMIC_CHILDREN is not set +CONFIG_PMIC_RK8XX=y +CONFIG_DM_REGULATOR_FIXED=y +CONFIG_REGULATOR_RK8XX=y +CONFIG_PWM_ROCKCHIP=y +CONFIG_RAM=y +CONFIG_SPL_RAM=y +CONFIG_DEBUG_UART_SHIFT=2 +CONFIG_SYSRESET=y +CONFIG_ERRNO_STR=y