From patchwork Fri Sep 2 06:50:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2337 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 CAD493F080 for ; Fri, 2 Sep 2022 08:51:12 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id x25-20020aa79199000000b005358eeebf49sf610754pfa.17 for ; Thu, 01 Sep 2022 23:51:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662101471; cv=pass; d=google.com; s=arc-20160816; b=PPZUbDrhtscqqzexs9hbPkC3xXhqRz01IziLlt+li/EQWOmi9GoqiSJ3suQIFxBIlv S+Nep0vDvmmKNybDfwcnnZw+ZGsybQ/+VqbYZATpCsPRvfuC9aeYqza3do+kB8Dwp2FM UsSmP8NvCuV+36hSIssV7TTzeRpBbgXntoMEFFmMnhvlZ6M0uSLNtEPxLJAGRd9rafaE IMUXv53cnDWdwsGNaVy6SZVyBa7kitUqRKyE53txf3+bimNvAps1wBYRAlL91h+RTkyE nLFQTuis10tEAqVvfXyVG3yDvVws5a0enR/ShWJ1A2lhBrWgATCe7wZitOKYgqqcwFK5 slEA== 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:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=6Ik/WFECi6Szrh2PKRcvhGWRTl+LgzqObmFNmmUFTgE=; b=GlkdNSeW/2h+k7MA2dMpY0Z1uvp5c5Io3jNXs3ybr4bLiUFRFTOjLgo6x0YmclE4WE wQaXOP1F5Pksk/XFeLcHtmF4l8Vjq0mXqjs2kpwVqiixxFjbRUYeM4AuWUcXC5VndCLE U500IfJAmWk9OoepGtzbWNZRqOHC3YIjEqB40laCBDB3AnnCV9Z7YwsTZplBb+uGt8lN /ni3rRl9JkqAydz6gCJOXT9vQaNowxZME1QkUt4wKY47qMwEJJBe2odtsdxvhsgCuylW YUDq0nV8L3e4d0Z24j9DdJM9fDkS8Awv6UEydXvIA0RR+09Rl0BTBItoPSGrDRWjwTuc faPA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="gjWXs/10"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:content-transfer-encoding:mime-version:message-id :date:subject:cc:to:from:from:to:cc:subject:date; bh=6Ik/WFECi6Szrh2PKRcvhGWRTl+LgzqObmFNmmUFTgE=; b=mmOlvlcLtBNJPdEkOki1zvXDXoANRj8W26qJPytFsVwbgnCt7k2pYoUHo750mq4AkK 321mxM/goVH7965NTHU8X4qI8mdB7xIlv7s8s+oW9MvA2hJdtjYN2RY7Rxi5rl1GbuXe d4847Zh8bT/MBWvL6z1FHqdX07nL3dW1sjmtI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=6Ik/WFECi6Szrh2PKRcvhGWRTl+LgzqObmFNmmUFTgE=; b=3n+l4LmZ+RuRyLNvnTYCnqfgOEf38YhYZBkwXBOnXA9QsJpo7k9XvvzDDbX4HCet1L iU6Ea6hihpM1dt+g6czv0rFhzWioOtFnxt3AqO2SsfYb9iXp+t4WgZEEZGehF5UyBl7R QtPdObfJqvsnxqG2LnH93Jf17BE0C04U1VA4RdsiyjqesUMnWpVRAZGOvvWLr8ohYPyS owp4LDfNYESXEbVmVl3LFfiGY2ABeuzN+o4tyvTvUy5Dqdn7D49FImdnbY3Uvv2OO3Hy OF/uqo6q42LPyfmkBBI8A7JrJAUac7t1wEnAeCmIYVxzWsrQgmtxiKsG5z5eyg8y13+T IgVA== X-Gm-Message-State: ACgBeo2LZZUzHhti/osD68IWgHwph2gRxk1kOgyw5yjSL3wQvV16csmb Qam9EhwPmJ1cOLkZSjnKXk22Em6v X-Google-Smtp-Source: AA6agR7T7aNdJDFq4+ZUIkC2xHRDpy6IhdTK4tzsLC/3EfU074oJovM/cAew9crNNtQn3Ad/FKHykw== X-Received: by 2002:a63:531e:0:b0:42b:d33a:529a with SMTP id h30-20020a63531e000000b0042bd33a529amr23291207pgb.55.1662101471345; Thu, 01 Sep 2022 23:51:11 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:130a:b0:1fe:4a38:8ee3 with SMTP id h10-20020a17090a130a00b001fe4a388ee3ls2956335pja.1.-pod-canary-gmail; Thu, 01 Sep 2022 23:51:10 -0700 (PDT) X-Received: by 2002:a17:90a:39c9:b0:1fa:c50d:11f4 with SMTP id k9-20020a17090a39c900b001fac50d11f4mr3262800pjf.166.1662101470503; Thu, 01 Sep 2022 23:51:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662101470; cv=none; d=google.com; s=arc-20160816; b=waTSq/8cR3xf22vMDC4zylIrLVtLRZANUikCRHrOIxAcuOU679Alxn2SuREElPtQtw mnkiaA08fnFaP83AAOjqwL9iR+pi0ONBj5+LKeymB2tsOLMN9zYkzej7sMHc9tJ0bvb2 axnlP0Lyyx2BYYCXjzWMIZuue5ipo/Gv0LZ8QlfUdDLT65ZTQSyCPpf7cXmve79eb2Lp kpXMoMNwinFNfKpcogWQkn3qGrlWfAC7XhY6pPlxHNFOuHCXqjSPeNZC/H/BFedN36YK fkr7jxYalvfAbItGtOZ9vZ9FPhSKT9U3r52Ft26wdBDD/QWNl29I+kqEjbIvJpz92Kuf Z0pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=yyAKPmKQH9lfnrQSZBKeBIRjtCOa6/ER8apL8e3NRik=; b=U1vPtaqCMJB1AdwDbusTBHdUSTBVyiOJRV9fW/cH0U2VXp6v8aZHl4jjFNpbyBPHrn G/h6aNdLnPMw5u894Ow8eeZFX+h0tpMjfQ5+irIQV4yGoxMCyWiLAIbhFEUlEM3negQU sHEr7I6mqRipLOFLoMdCJWrdGayH3HAUfyivlmaZT4R55J0bE7I2PNuhfjhnXXR1yaaZ Og0TxnAU3Fldx7wiIrXLOOY/jqGqFuCOqlq1pkGa0IEREpqpy6fwj+46vNWW+IoaXdh0 fIgvDGHy2U4uFyg+Q/mnI1fpDBoPE/WcrmmnSNy7KGnPkIs2VUoS7RRE7H+tXcJyFD6H vI3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="gjWXs/10"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 2-20020a170902c20200b0017272dec36fsor538422pll.56.2022.09.01.23.51.10 for (Google Transport Security); Thu, 01 Sep 2022 23:51:10 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:90a:9b04:b0:1fb:fcb:1de1 with SMTP id f4-20020a17090a9b0400b001fb0fcb1de1mr3232560pjp.235.1662101470074; Thu, 01 Sep 2022 23:51:10 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a073:e40:9bbb:af2b:bca3]) by smtp.gmail.com with ESMTPSA id e17-20020a17090301d100b00172a2a41064sm769815plh.298.2022.09.01.23.51.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 23:51:08 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: FUKAUMI Naoki , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki , Krzysztof Kozlowski Subject: [PATCH v4 1/3] dt-bindings: arm: rockchip: Document Radxa ROCK 4C+ Date: Fri, 2 Sep 2022 12:20:55 +0530 Message-Id: <20220902065057.97425-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="gjWXs/10"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com 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: , Document the dt-bindings for Radxa ROCK 4C+ SBC. Key differences of 4C+ compared to previous ROCK Pi 4. - Rockchip RK3399-T SoC - DP from 4C replaced with micro HDMI 2K@60fps - 4-lane MIPI DSI with 1920*1080 - RK817 Audio codec Also, an official naming convention from Radxa mention to remove Pi from board name, so this 4C+ is named as Radxa ROCK 4C+ not Radxa ROCK Pi 4C+. Acked-by: Krzysztof Kozlowski Signed-off-by: Jagan Teki --- Changes for v4: - none Changes for v3: - updated commit message Changes for v2: - fix line wrapping - collect Krzysztof Ack Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index 7811ba64149c..ec3525fb1e60 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -537,6 +537,11 @@ properties: - const: radxa,rockpi4 - const: rockchip,rk3399 + - description: Radxa ROCK 4C+ + items: + - const: radxa,rock-4c-plus + - const: rockchip,rk3399 + - description: Radxa ROCK Pi E items: - const: radxa,rockpi-e From patchwork Fri Sep 2 06:50:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2338 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 B17283F080 for ; Fri, 2 Sep 2022 08:51:16 +0200 (CEST) Received: by mail-pj1-f69.google.com with SMTP id 2-20020a17090a0b8200b001fdb8fd5f29sf631761pjr.8 for ; Thu, 01 Sep 2022 23:51:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662101475; cv=pass; d=google.com; s=arc-20160816; b=M45QaDlRlIj53aeYglULi0pj3ZE9uFhGqRypTaseNEgNWoB2vNugc5i92sGHlASr8j MvcOhzeWLl9F/Gq2LkmaMrTZqXVUSC/oTAGBTZxNd+FANj9F+Z5IfaXAwVnULCXyRu6f 6iPAPzAjofWIT9eITOKaFoyNhkkG1UFGnzuETOEfoTRQFw/fwuzV6JOz+rCrQlCKuFNf D+qJ3vkBgKnL9wfFjwkuf28gCinWkxoZue6+34toGvzj30di3BAtio9xWDVis/9mr2KB FZiGVDnePIzHz5CWN+LaE1VZgVUn0OniNWkPXFtizalIDLzuLjGbG+mOcbJAc1z70UPq SiAw== 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=nxfOuhjJxM6DZH20N/DHsuxlju9P1lBxzem/lnT5u6w=; b=KEGyJWaCtMspkMQL8r5b6Bpxvwk34q3d3pN+KDvJvDxBQCTLuoulPVgnizCOY3nA/J NeMocd+e1flIIyaWJXq/Hek/DtFFNDLSkYPPqnr4D4recbU32ZYeWBq1BbunIOkPGKAN dEe6MfHhpLRBHc6AHwPLWqJDE64gLbUkOMckGMSaMN3BQ6t1Q6o3JnGfqjnfx/1fJRar 5QILER0l9mU5+F4T5ZPSnJuvYqGfuStkjKT4uf8RSlpOh+8lvDpowI8k+A+JS+D+nRoC lAupA4LBCbj9f3CdwmDmY149kOqYFPNO1RlSFNP35YeTH3Da9MuVUSyl5ELyB2yMQqi3 WwQQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gdWMtBFh; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date; bh=nxfOuhjJxM6DZH20N/DHsuxlju9P1lBxzem/lnT5u6w=; b=nY66TtjWYsry3g1/hA4MgGjVD6vc/RL8/1FVtfdUWd1NPlKt/sf6/e3D5H+stGmaMH G00z2a49FFJfaxBu6y6ylVxcHdgdE3w3QD9KOKIJtrgtgQ5XZJzPf9vOQNZudJX9U4v6 p8VvKstcMQL4hd0VusCmuRVtW1uxEGEOp9XKE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date; bh=nxfOuhjJxM6DZH20N/DHsuxlju9P1lBxzem/lnT5u6w=; b=H8cTedpOcLV784WYX58A0nZlaZN1wFev/lh1CW8ISrapuMZGJ1hw1OWBe53WDhP8jR VdY6yva0FWM/9UQzsvBqCITmLYH+0PFjLJuecXEWO59MKMlhsLMVc+CWzjyDp3EJw7yR sBokQZU6PL1Mgm7Ms//CigMGWhzu2lI2CmLHRuaenRh0f+ZfZxNI+P9TXRbeDyHinuqh uM3NHV/h0c6lBbQn6va9qH2woengBdU9IlaefBElS8E+NOTScRDehvnPD8poFG7Acw9t CwzTbLhLJu6Zg/+0RwjKJPS/FphjEZ0/Qeuh4Q7vWaDr9ubj/0+O9aUI1/dz/8OQ9FoU +g6Q== X-Gm-Message-State: ACgBeo2KT2NytpoR9UEk8sljdpx0XTw92C5P/Krthv2LlG8aanS7LIlf P4S+hcJaZa/+4K+hT/tXqHeYIWOa X-Google-Smtp-Source: AA6agR5Czhq8hrcmv1c+R1p3DSedc50t+OxD+vBUrYqfjK/83HiF4J4hJb2lvlafezmljopJMKsr5g== X-Received: by 2002:a17:90a:7c08:b0:1fd:7118:aa88 with SMTP id v8-20020a17090a7c0800b001fd7118aa88mr3323676pjf.193.1662101475374; Thu, 01 Sep 2022 23:51:15 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:7b42:0:b0:53b:2c0a:3d43 with SMTP id w63-20020a627b42000000b0053b2c0a3d43ls1163082pfc.10.-pod-prod-gmail; Thu, 01 Sep 2022 23:51:14 -0700 (PDT) X-Received: by 2002:a63:5702:0:b0:42a:b77b:85b3 with SMTP id l2-20020a635702000000b0042ab77b85b3mr28603390pgb.263.1662101474441; Thu, 01 Sep 2022 23:51:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662101474; cv=none; d=google.com; s=arc-20160816; b=z8XOkqcauRBriSl7V1wBzR3bY9g/8McW6+iuavqQpa/KLr9mya3wKcP3CebH8imt1E 3QXtlF0kcBlTKUkAaCBBYiyYQrosV7oga3JyUa68r3lj5utwwlQGn3BJffHR5iKjq5LY 1KEnFBGNDpdlJyqBngXEUIDUs5vlEx2liRf1lAuZOlaqjQyFMTuuz/UQ5s5l4OkjRehM TBO6H4Bx0ZHAnOlY2ySzcOC2aNCvFIdP5lFp6cszehFs1wep91DMaaaRw8dj9MREv/HB 2N1DHtoe3DO50zEFhNfjohWTNnQ+Jz2dYpAWkWexDkjt9o12eFshmbIPqebFM7Il+OqW g0Zw== 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=vZHYMRZyWlyW2jlBdgxed8KmgG5fMCMo0+ikPtTJWgQ=; b=OKIlLgIAs+7lMainsvy5cDe2ThQFV+vAFS78ARGVzFqJ15Y27NHnU3RzpDOyQf7jDv NrBJgEwW5vnGjhrCBXNcwGZJJo6ghxUdcfuLX+sEx3KAB2jGBQYyU0Y0fatRTgshFlVn fTmoJbvlUwFceFiqe9tUrh5eul5f5pII4H0PNs3iEVFE85mJFUxfiX5qnI8M+WDUfTfv 9yNZhyLbcsmhRjaSJfKM4pIJf7mkyHoV4Yw8SIAB0gKUJ00A/Y+7C4syXi4CzxXQsjm6 ZNqum+XCXPR9L9n/+Th6gvxpGH3qz/41VhiaUddxCUYdH/Twmd4aDNxr78qKi+E1OG5+ pq1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gdWMtBFh; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id i19-20020a170902e49300b00172eb2c66b7sor545474ple.34.2022.09.01.23.51.14 for (Google Transport Security); Thu, 01 Sep 2022 23:51:14 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:90a:748c:b0:1ff:f437:d36c with SMTP id p12-20020a17090a748c00b001fff437d36cmr2548512pjk.0.1662101474101; Thu, 01 Sep 2022 23:51:14 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a073:e40:9bbb:af2b:bca3]) by smtp.gmail.com with ESMTPSA id e17-20020a17090301d100b00172a2a41064sm769815plh.298.2022.09.01.23.51.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 23:51:13 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: FUKAUMI Naoki , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v4 2/3] arm64: dts: rockchip: Add RK3399-T OPP table Date: Fri, 2 Sep 2022 12:20:56 +0530 Message-Id: <20220902065057.97425-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220902065057.97425-1-jagan@amarulasolutions.com> References: <20220902065057.97425-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=gdWMtBFh; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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: , RK3399-T is down-clocked version of RK3399 SoC operated at 1.5GHz. Add CPU operating points table for it. Signed-off-by: FUKAUMI Naoki Signed-off-by: Jagan Teki --- Changes for v4: - update opp-table node names Changes for v3: - new patch .../arm64/boot/dts/rockchip/rk3399-t-opp.dtsi | 114 ++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-t-opp.dtsi diff --git a/arch/arm64/boot/dts/rockchip/rk3399-t-opp.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-t-opp.dtsi new file mode 100644 index 000000000000..1ababadda9df --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3399-t-opp.dtsi @@ -0,0 +1,114 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016-2017 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2022 Radxa Limited + */ + +/ { + cluster0_opp: opp-table-0 { + compatible = "operating-points-v2"; + opp-shared; + + opp00 { + opp-hz = /bits/ 64 <408000000>; + opp-microvolt = <875000 875000 1250000>; + clock-latency-ns = <40000>; + }; + opp01 { + opp-hz = /bits/ 64 <600000000>; + opp-microvolt = <875000 875000 1250000>; + }; + opp02 { + opp-hz = /bits/ 64 <816000000>; + opp-microvolt = <900000 900000 1250000>; + }; + opp03 { + opp-hz = /bits/ 64 <1008000000>; + opp-microvolt = <975000 975000 1250000>; + }; + }; + + cluster1_opp: opp-table-1 { + compatible = "operating-points-v2"; + opp-shared; + + opp00 { + opp-hz = /bits/ 64 <408000000>; + opp-microvolt = <875000 875000 1250000>; + clock-latency-ns = <40000>; + }; + opp01 { + opp-hz = /bits/ 64 <600000000>; + opp-microvolt = <875000 875000 1250000>; + }; + opp02 { + opp-hz = /bits/ 64 <816000000>; + opp-microvolt = <875000 875000 1250000>; + }; + opp03 { + opp-hz = /bits/ 64 <1008000000>; + opp-microvolt = <925000 925000 1250000>; + }; + opp04 { + opp-hz = /bits/ 64 <1200000000>; + opp-microvolt = <1000000 1000000 1250000>; + }; + opp05 { + opp-hz = /bits/ 64 <1416000000>; + opp-microvolt = <1075000 1075000 1250000>; + }; + opp06 { + opp-hz = /bits/ 64 <1512000000>; + opp-microvolt = <1150000 1150000 1250000>; + }; + }; + + gpu_opp_table: opp-table-2 { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <200000000>; + opp-microvolt = <875000 875000 1150000>; + }; + opp01 { + opp-hz = /bits/ 64 <300000000>; + opp-microvolt = <875000 875000 1150000>; + }; + opp02 { + opp-hz = /bits/ 64 <400000000>; + opp-microvolt = <875000 875000 1150000>; + }; + opp03 { + opp-hz = /bits/ 64 <600000000>; + opp-microvolt = <975000 975000 1150000>; + }; + }; +}; + +&cpu_l0 { + operating-points-v2 = <&cluster0_opp>; +}; + +&cpu_l1 { + operating-points-v2 = <&cluster0_opp>; +}; + +&cpu_l2 { + operating-points-v2 = <&cluster0_opp>; +}; + +&cpu_l3 { + operating-points-v2 = <&cluster0_opp>; +}; + +&cpu_b0 { + operating-points-v2 = <&cluster1_opp>; +}; + +&cpu_b1 { + operating-points-v2 = <&cluster1_opp>; +}; + +&gpu { + operating-points-v2 = <&gpu_opp_table>; +}; From patchwork Fri Sep 2 06:50:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2339 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 239453F080 for ; Fri, 2 Sep 2022 08:51:21 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id d62-20020a621d41000000b00537e06bf5e8sf617439pfd.10 for ; Thu, 01 Sep 2022 23:51:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662101480; cv=pass; d=google.com; s=arc-20160816; b=dtvxloAupsOUgcORs/j/QZSggX20K2UHTmy7oc+HRgFMIJc1Sy5IPV+e7Uceuv5d57 CJyBjVzKlwWwHM1BHaHiGXJojW44p2pJgPcI8ptVDv1uGqbmMJHVa8R3ZMA1Otbhvz6L SJDD9DD1erfMTU9w7jKiTlEBWwwbjqodxj8Ox6Zbu/aR/HGXZr+JEi27Fh/YRc24UItx 0EuB/0+NmhjGRiudAzqG0cXrewjCDpfMA9CYfHT8gUxltxjKNSx1jyHGM8WpFFS5Z8UW MtXLjx5VlTsRAYOssPMZyoP6A136YoiQH828DC9hsr3BV/6hKfnQzEdooLcgGpKf8hpx m0kQ== 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:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=M3X23ZTmhfYrjlihgT3KvIIdyF22XIssdfkbPBPA5Rg=; b=tdMz9a8065vhuhioCzaMtEorwAb6BYZxBOmSe4oG78vOpmL3Yn0zd0IbDbDEaUtTxH 0WISjI4TufXXAGkOy+vG6N2TrkKB8XEzm6hA6Ai4Vwrlbp3VaA8J0OY2VBayrFDlhOnr 6p/Fjad2LSTQgCwSdUEzMgoj+xdVXGrXsc91lNl5SSGt5hL8xURtkz8uIGnqZff+EJDn rbLLOEDEuBJiWI7s2CgcKcW0gjR2vo4D/4n9NvpAI0t7eatlTlXOfiryVTKJG8nTk2Mc /t4/qcqxd8bpbVhWwS9PPjeZBUu0hhz7AXK2RW6iUYiX9D4ICyErE2zyiHxxbVwjTbLQ wBgA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KIn4jzl5; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date; bh=M3X23ZTmhfYrjlihgT3KvIIdyF22XIssdfkbPBPA5Rg=; b=cZqVgHzbrfMLlc96jY83lndkpC4PL6ronS3re08YS8RNqGWh+BaltfDbJGQzri+omo kuurQlYM68Su2Ygjb0lXLfebCzd48BVCt6g8vAOIC9EjU8MUI6WOrTBMqNmODQpBXtfK aFpGr6Tc20our6vRNbAMoY9ReEFH08x9IkFEk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=M3X23ZTmhfYrjlihgT3KvIIdyF22XIssdfkbPBPA5Rg=; b=pwE6CLsZaSWSURE4ObLh2zpyL48bjqc6xIqgZO+ynj7442bh9ZaRDq6m4n2Di4vIuZ OgqZvHILCq1IfHNOW0k72FhqKto6LVikAORIvJ22ZnYT6zsroPqD41+/yNleG6c25RRb lScFxITtyd8Uxl1cQJmODzCCrRB8FQhibuh2o/pBiK131pqq0/6KIhH1Q0k33MphUbhG H7icJUhJSbQUM6RYD+JybulMlPMCz8AvsSsHfuVCG+IIPBnmVN2Gi771yoaiwSipCMZ6 qFaE6j2q+OfQNayiEYOxFdR7mzsAuwJ9VvWLU6hSInfG5Gtw5NpgxfPXkHxK/t+2K8lO Uylg== X-Gm-Message-State: ACgBeo3fBAmT9Mh+FH9vFWfGu0hDU5vMUOH0yGJR+t4kLpLgHDpPMY2c rlPVrOrIPe0ZnaMRreB9b2nuLqv7 X-Google-Smtp-Source: AA6agR4N+ERCMD6Utdc8QUFVc7Kxubb4auypwFrDqOv3qVmbUBPRn6OoexmBARIfVLcCLfTQHdU7Sg== X-Received: by 2002:a05:6a00:1a44:b0:52a:ecd5:bbef with SMTP id h4-20020a056a001a4400b0052aecd5bbefmr34305222pfv.28.1662101479850; Thu, 01 Sep 2022 23:51:19 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:f145:b0:172:c963:32c with SMTP id d5-20020a170902f14500b00172c963032cls2832540plb.8.-pod-prod-gmail; Thu, 01 Sep 2022 23:51:19 -0700 (PDT) X-Received: by 2002:a17:902:ebd2:b0:172:8eee:80f5 with SMTP id p18-20020a170902ebd200b001728eee80f5mr34528449plg.9.1662101478917; Thu, 01 Sep 2022 23:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662101478; cv=none; d=google.com; s=arc-20160816; b=FfwhHc6Sl1eniWq/ENG9E830oDzdzKtaX2c61nHIcbHifT/6eOybERHsor0o5mHF9s nliuK+wys+v8NhcNdo78nGnk3j3G3GoMEaWCJCW/vZ5XgEgWLIInhIZPDy7yfYaBys7z yId2UWEv0THQ4k/lzS6G4ZSCQ8t5sgjjj6sFyO7q/W/yyne62RUdodgJaO5GobMClZAg Z3+KUP+ajPibmaqxHvGf9IhPxVlKpo0nbcsnAAbgP7Fa2/zvM5bggELeBrmct5F+ovcl OQRODaiv/qdMKpPT9CKxUa8NPzqauerPQAPXHouVrJWltBt7h6GUeIyF0M7dzCQj0cGw JDrg== 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=P25T6gqT0Xv+JyzlQtxoRYK/hzVjIHYB/XUoA9bGNhY=; b=SmvaaXlEMVTMyg9DL7TY2kSURCAusTq9xCYIyFlvzlu0EZ4croEYX7yXvHP8geBti9 RI/9RDrh8O3Fzo+iDSrKBnBObrTNlp1FPf33b240pIRYWKJJcngSivhBGTPMVRN2IcZQ TkdJTLjdMyGWng5Voh6HJBFzFu/k9NVD+5ZjltzCNrmBzT1EU/9qXJ0y/lqdmjlLskZA zbUbMCmsjtKRNwCdlpv+FNI4R+N2n25sdPG5avEiUqbfkX38/Rpq8RgARLMfPeWgSuIc NMLQr+Mjl/ptm2TLRtjAkBUe41U2jA0iaQ4Y8+VRmI7/Qskn0BSF2WbV6yS38krUkkaJ mmXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KIn4jzl5; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id f10-20020a62380a000000b00536582be1d4sor699550pfa.9.2022.09.01.23.51.18 for (Google Transport Security); Thu, 01 Sep 2022 23:51:18 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6a00:2db:b0:537:f78b:222e with SMTP id b27-20020a056a0002db00b00537f78b222emr28622122pft.35.1662101478540; Thu, 01 Sep 2022 23:51:18 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a073:e40:9bbb:af2b:bca3]) by smtp.gmail.com with ESMTPSA id e17-20020a17090301d100b00172a2a41064sm769815plh.298.2022.09.01.23.51.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 23:51:17 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: FUKAUMI Naoki , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki , Stephen Chen , Manoj Sai Subject: [PATCH v4 3/3] arm64: dts: rockchip: rk3399: Radxa ROCK 4C+ Date: Fri, 2 Sep 2022 12:20:57 +0530 Message-Id: <20220902065057.97425-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220902065057.97425-1-jagan@amarulasolutions.com> References: <20220902065057.97425-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KIn4jzl5; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com 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: , Add support for Radxa ROCK 4C+ SBC. Key differences of 4C+ compared to previous ROCK Pi 4. - Rockchip RK3399-T SoC - DP from 4C replaced with micro HDMI 2K@60fps - 4-lane MIPI DSI with 1920*1080 - RK817 Audio codec Also, an official naming convention from Radxa mention to remove Pi from board name, so this 4C+ is named as Radxa ROCK 4C+ not Radxa ROCK Pi 4C+. Signed-off-by: Stephen Chen Signed-off-by: Manoj Sai Signed-off-by: Jagan Teki --- Changes for v4: - remove supports-emmc Changes for v3: - updated commit message - include sdhci in aliases - add i2s2 - add sdmmc cd-gpios - use rk3399-t-opp.dtsi Changes for v2: - s/vcc-sys/vcc5v0-sys-regulator - used proper node name 'regulator' for syr828 regulator nodes. - fix line wrapping. arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3399-rock-4c-plus.dts | 646 ++++++++++++++++++ 2 files changed, 647 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index ef79a672804a..f92637eb6f90 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -46,6 +46,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-puma-haikou.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc-mezzanine.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc-plus.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-4c-plus.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4a.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4a-plus.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4b.dtb diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts new file mode 100644 index 000000000000..a1c4727acfcd --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts @@ -0,0 +1,646 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Radxa Limited + * Copyright (c) 2022 Amarula Solutions(India) + */ + +/dts-v1/; +#include "rk3399.dtsi" +#include "rk3399-t-opp.dtsi" + +/ { + model = "Radxa ROCK 4C+"; + compatible = "radxa,rock-4c-plus", "rockchip,rk3399"; + + aliases { + mmc0 = &sdmmc; + mmc1 = &sdhci; + }; + + chosen { + stdout-path = "serial2:1500000n8"; + }; + + sdio_pwrseq: sdio-pwrseq { + compatible = "mmc-pwrseq-simple"; + clocks = <&rk809 1>; + clock-names = "ext_clock"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_enable_h>; + reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; + }; + + clkin_gmac: external-gmac-clock { + compatible = "fixed-clock"; + clock-frequency = <125000000>; + clock-output-names = "clkin_gmac"; + #clock-cells = <0>; + }; + + 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>; + }; + + vcc5v0_host1: vcc5v0-host-regulator { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio3 RK_PD6 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&vcc5v0_host_en>; + regulator-name = "vcc5v0_host1"; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vcc5v0_host0_s0>; + }; + + vcc5v0_typec: vcc5v0-typec-regulator { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&vcc5v0_typec0_en>; + regulator-name = "vcc5v0_typec"; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vcc5v0_sys>; + }; + + vcc_lan: vcc3v3-phy-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_lan"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; +}; + +&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>; +}; + +&cpu_b0 { + cpu-supply = <&vdd_cpu_b>; +}; + +&cpu_b1 { + cpu-supply = <&vdd_cpu_b>; +}; + +&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 = <0x2a>; + rx_delay = <0x21>; + status = "okay"; +}; + +&gpu { + mali-supply = <&vdd_gpu>; + status = "okay"; +}; + +&hdmi { + ddc-i2c-bus = <&i2c3>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_cec>; + status = "okay"; +}; + +&hdmi_sound { + status = "okay"; +}; + +&i2c0 { + status = "okay"; + i2c-scl-falling-time-ns = <30>; + i2c-scl-rising-time-ns = <180>; + clock-frequency = <400000>; + + 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-always-on; + regulator-boot-on; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <1350000>; + regulator-initial-mode = <0x2>; + regulator-name = "vdd_log"; + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <900000>; + }; + }; + + vdd_cpu_l: DCDC_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <1350000>; + regulator-ramp-delay = <6001>; + regulator-initial-mode = <0x2>; + regulator-name = "vdd_cpu_l"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_ddr: DCDC_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc_ddr"; + regulator-initial-mode = <0x2>; + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vcc3v3_sys: DCDC_REG4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-initial-mode = <0x2>; + regulator-name = "vcc3v3_sys"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcc_buck5: DCDC_REG5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_buck5"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcca_0v9: LDO_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + regulator-name = "vcca_0v9"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + 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>; + }; + }; + + vcc0v9_soc: LDO_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + regulator-name = "vcc0v9_soc"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <900000>; + }; + }; + + vcca_1v8: LDO_REG4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcca_1v8"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_mipi: LDO_REG5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-name = "vcc_mipi"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_1v5: LDO_REG6 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1500000>; + regulator-name = "vcc_1v5"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_3v0: LDO_REG7 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-name = "vcc_3v0"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vccio_sd: LDO_REG8 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vccio_sd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_cam: LDO_REG9 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_cam"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc5v0_host0_s0: SWITCH_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc5v0_host0_s0"; + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + lcd_3v3: SWITCH_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-name = "lcd_3v3"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + }; + + vdd_cpu_b: regulator@40 { + compatible = "silergy,syr827"; + reg = <0x40>; + fcs,suspend-voltage-selector = <1>; + regulator-compatible = "fan53555-reg"; + pinctrl-0 = <&vsel1_gpio>; + vsel-gpios = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>; + regulator-name = "vdd_cpu_b"; + regulator-min-microvolt = <712500>; + regulator-max-microvolt = <1500000>; + regulator-ramp-delay = <1000>; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vcc5v0_sys>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_gpu: regulator@41 { + compatible = "silergy,syr828"; + reg = <0x41>; + fcs,suspend-voltage-selector = <1>; + regulator-compatible = "fan53555-reg"; + pinctrl-0 = <&vsel2_gpio>; + vsel-gpios = <&gpio1 RK_PB6 GPIO_ACTIVE_HIGH>; + regulator-name = "vdd_gpu"; + regulator-min-microvolt = <712500>; + regulator-max-microvolt = <1500000>; + regulator-ramp-delay = <1000>; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vcc5v0_sys>; + regulator-initial-mode = <1>; /* 1:force PWM 2:auto */ + regulator-state-mem { + regulator-off-in-suspend; + }; + }; +}; + +&i2c3 { + i2c-scl-rising-time-ns = <450>; + i2c-scl-falling-time-ns = <15>; + status = "okay"; +}; + +&i2s2 { + status = "okay"; +}; + +&io_domains { + bt656-supply = <&vcc_3v0>; + gpio1830-supply = <&vcc_3v0>; + sdmmc-supply = <&vccio_sd>; + status = "okay"; +}; + +&pinctrl { + bt { + bt_enable_h: bt-enable-h { + rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + bt_host_wake_l: bt-host-wake-l { + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + bt_wake_l: bt-wake-l { + rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + pmic { + pmic_int_l: pmic-int-l { + rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>; + }; + + vsel1_gpio: vsel1-gpio { + rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>; + }; + + vsel2_gpio: vsel2-gpio { + rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>; + }; + }; + + sdmmc { + sdmmc_bus4: sdmmc-bus4 { + rockchip,pins = <4 8 1 &pcfg_pull_up_8ma>, + <4 9 1 &pcfg_pull_up_8ma>, + <4 10 1 &pcfg_pull_up_8ma>, + <4 11 1 &pcfg_pull_up_8ma>; + }; + + sdmmc_clk: sdmmc-clk { + rockchip,pins = <4 12 1 &pcfg_pull_none_18ma>; + }; + + sdmmc_cmd: sdmmc-cmd { + rockchip,pins = <4 13 1 &pcfg_pull_up_8ma>; + }; + }; + + usb-typec { + vcc5v0_typec0_en: vcc5v0-typec-en { + rockchip,pins = <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + usb2 { + vcc5v0_host_en: vcc5v0-host-en { + rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + wifi { + wifi_enable_h: wifi-enable-h { + rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + wifi_host_wake_l: wifi-host-wake-l { + rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + +&pmu_io_domains { + pmu1830-supply = <&vcc_3v0>; + status = "okay"; +}; + +&saradc { + status = "okay"; + vref-supply = <&vcc_1v8>; +}; + +&sdhci { + max-frequency = <150000000>; + bus-width = <8>; + mmc-hs400-1_8v; + non-removable; + mmc-hs400-enhanced-strobe; + status = "okay"; +}; + +&sdio0 { + #address-cells = <1>; + #size-cells = <0>; + bus-width = <4>; + clock-frequency = <50000000>; + cap-sdio-irq; + cap-sd-highspeed; + keep-power-in-suspend; + mmc-pwrseq = <&sdio_pwrseq>; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>; + sd-uhs-sdr104; + status = "okay"; + + brcmf: wifi@1 { + compatible = "brcm,bcm4329-fmac"; + reg = <1>; + interrupt-parent = <&gpio0>; + interrupts = ; + interrupt-names = "host-wake"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_host_wake_l>; + }; +}; + +&sdmmc { + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + card-detect-delay = <800>; + disable-wp; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>; + cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; + vqmmc-supply = <&vccio_sd>; + status = "okay"; +}; + +&tcphy0 { + status = "okay"; +}; + +&tcphy1 { + status = "okay"; +}; + +&u2phy0 { + status = "okay"; + + u2phy0_otg: otg-port { + status = "okay"; + }; + + u2phy0_host: host-port { + phy-supply = <&vcc5v0_host1>; + status = "okay"; + }; +}; + +&u2phy1 { + status = "okay"; + + u2phy1_otg: otg-port { + status = "okay"; + }; + + u2phy1_host: host-port { + phy-supply = <&vcc5v0_host1>; + status = "okay"; + }; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; + status = "okay"; + + bluetooth { + compatible = "brcm,bcm4345c5"; + clocks = <&rk809 1>; + clock-names = "lpo"; + device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; + max-speed = <1500000>; + pinctrl-names = "default"; + pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; + vbat-supply = <&vcc3v3_sys>; + vddio-supply = <&vcc_1v8>; + }; +}; + +&uart2 { + status = "okay"; +}; + +&usb_host0_ehci { + status = "okay"; +}; + +&usb_host0_ohci { + status = "okay"; +}; + +&usb_host1_ehci { + status = "okay"; +}; + +&usb_host1_ohci { + status = "okay"; +}; + +&usbdrd3_0 { + extcon = <&u2phy0>; + status = "okay"; +}; + +&usbdrd_dwc3_0 { + status = "okay"; + dr_mode = "host"; +}; + +&usbdrd3_1 { + status = "okay"; +}; + +&usbdrd_dwc3_1 { + status = "okay"; + dr_mode = "host"; +}; + +&vopb { + status = "okay"; +}; + +&vopb_mmu { + status = "okay"; +}; + +&vopl { + status = "okay"; +}; + +&vopl_mmu { + status = "okay"; +};