From patchwork Fri Aug 26 12:08:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2305 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 E3E033F07C for ; Fri, 26 Aug 2022 14:08:38 +0200 (CEST) Received: by mail-pj1-f69.google.com with SMTP id d16-20020a17090ad3d000b001fb42eb7467sf932967pjw.9 for ; Fri, 26 Aug 2022 05:08:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661515717; cv=pass; d=google.com; s=arc-20160816; b=Cqs14+Nq+yA6zXA+mW51+dWD5HXSI24dsVwwqYYzQzqSXeHngsgIYLc8MtvIWCO3ra 94NLIK1UXuKKc2Hg5llPrz6xDvVuVtlE0fBwSzS5t2qHDxvgDNwFeYfqfgVDzbt39gwk 6IG3b7kDHkBB78oIQubuRAyQFVQvssFv4KM6sz3NTIfQf8BRevKVZnRRKhjpzhdeHkXU LYI1V+XeufbEkaPZwbRvsOldIpzRkPIIAr/VWyf83uzN+u6O/day9oB8yWvMuR+waEh/ ffnkQGqT8VmWaz0GBhhsNHML5difsbfe2nQ34okK3vmTzYDcgF6FHtjPW92KNZp10E6N w5pQ== 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=hYO4LgqZ6PzB+kjwlNNy6W7jD65T/xHGJC2UZxqx6ck=; b=eOe1tG9q7GbNEBZA7LxnTNav6D0xNnFKDUwr3xv2AxhzO31xFbvrw3aGeoIBBBmsyi 9Qp9B0Z2wZpx4DloWp4+qjmyWmA6lVz670IB5LvGDvYVB7Mnf9MgMaHD+rWO++P2sGZW d6TisoJQZQP5A+yR+P9BFPXaPttauRNPIgLVlvjs1DfN+pCOunjYU7doGziwM15HXBUQ iPkiAxtCYfqw2i4XV/EI/LgIrMFOxQdLn1Wah6q0So1ZqhQ/cU+sGIwIxOygAYFzPXZa CDEc797mUCA3e0QAUvmn/6STE88T3ssmRI1tCa54bmjWYlAuECTzw0Kjbo9H/UQCPgne w11Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gAfZvDAd; 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; bh=hYO4LgqZ6PzB+kjwlNNy6W7jD65T/xHGJC2UZxqx6ck=; b=q9/LisrUzEk33WLCNBVVD7/x1DwQO5tzK9QV9voEx/UVqGOWuxDGOWLobSzbGom++R RxcmtpqKVMwziP5Z4CiIq7UIPvbtmZDZDfpbfWSIvJMIlqc9a3+F4AwDZ3yVh0wL1FA9 1WMg8t2lnjoy0qHpXE7os1CcIVxa8s/cydpxw= 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; bh=hYO4LgqZ6PzB+kjwlNNy6W7jD65T/xHGJC2UZxqx6ck=; b=PP/8aLIytBOl46Nfx3yYM/BuylOBOUCRsQI+eqCzZt1pxIbPG1ebzzXR6EfBmLARiA OEtI6AyUjGohYiP3zfnJaR6nau+5wDIj0GP0ldojLFWsMAVhkn1S3XmzW1MMjGUqduE6 dVO8h5I0farzTYUnXXmLnHSKja5wN9LOouuoB62j34g33ZJvghId13X1t1rtoDopF9EI 1xfSYwbBaCzF/UyCRpOPSYZMYmANyqg+UReagSZ7LkRKzftLTecrEHHTi08XCFgekdr6 E80+e3RQjBvvXPkCswL6AzMX9MR0b7fbDjrKapYueoysdyrXpF2v4yZjaWkTimKjZ6Rs fHUg== X-Gm-Message-State: ACgBeo2iFAu5zXMu6FcqLQWgSXfM3gSMJHqcknvXrYYhiqODpQbqzt67 la8JZYvCM20Z5XdJowWFnzUPUlR3 X-Google-Smtp-Source: AA6agR5lt4NtG6lAx8auNGjYQ19u7voVAU4Qw25q/L2JCbIcXA970q+biuTjbntxlyObzMzQunsVXA== X-Received: by 2002:a05:6a02:206:b0:427:93bb:9f99 with SMTP id bh6-20020a056a02020600b0042793bb9f99mr3000290pgb.542.1661515717587; Fri, 26 Aug 2022 05:08:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:942:b0:1fa:af58:9837 with SMTP id dw2-20020a17090b094200b001faaf589837ls1696508pjb.2.-pod-prod-gmail; Fri, 26 Aug 2022 05:08:37 -0700 (PDT) X-Received: by 2002:a17:902:d489:b0:172:bedc:995c with SMTP id c9-20020a170902d48900b00172bedc995cmr3473968plg.162.1661515716596; Fri, 26 Aug 2022 05:08:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661515716; cv=none; d=google.com; s=arc-20160816; b=LZn8buAalIAdUBN4H8SxhnNJPzdAJnYJWsLBvXwhG6yXxOyfPetFf9F1H+LJvp1bTU S9TuuwwFXKw/GlS8ng0J1iwhTIrClcNb6MpUc0CvdH7MhxcA7e3DyKPpE4z0gONBLA9t vTG/YwQCpAMTMrdUqyfkHS9+3BL81owo36OxH6Qw/NqTJYBPwLxUpt46M0Z/GXry3Mn1 t2BEnW+J43EKGDMD06CGCtOrHqHYXJuloQkQkjinDyMg+7j2gtzh0nOQ01OApHFYwc3m wEU+RERL/cn3xTzFr8djjgOGQ3TQnzLgGurW1ws8KjRHgVzZP8T1PW8cVUiRtBE2Jg5S +1ag== 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=D3lfFqV/J6np/aW5HDDLz5odIk3AM7hN1s/0B3dYotU=; b=sa5qM9o/T1BK6SEbnl1xqDkCr4T8BZCnMW2gax5zG7XfSGIhFvbL6X1jCe/khKe+P2 PcxMW0Vt0oAj1HhSuHaomIQEImf9e4eZcGAudZ/o3hX21b1ruLcx7vsaNW/Rl/ku8gII X6q4Zx5FNbIJQaUVMpifkEfYxrZYNaRmpc/vCvTOCrWv9uttNLUbEHKyQ7FoLoA9xNX3 8ZCG3HKqKTDdpxkM84+g2zvkyhCC+AT/NFHC/UIrbLkRomThhHT6cZKE75iCxtgvt7bI iUc55TUyDQdbOxL+6cy04tY+g0bWWIeneKPWrMb/yOzO0Tj5kOVOQyGdqyyzcZpAAGWv 5I4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gAfZvDAd; 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 m3-20020a056a00164300b0052d94f92d70sor1088708pfc.70.2022.08.26.05.08.36 for (Google Transport Security); Fri, 26 Aug 2022 05:08:36 -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:174b:b0:52f:c4d1:d12d with SMTP id j11-20020a056a00174b00b0052fc4d1d12dmr3603050pfc.41.1661515716228; Fri, 26 Aug 2022 05:08:36 -0700 (PDT) Received: from localhost.localdomain ([23.27.44.247]) by smtp.gmail.com with ESMTPSA id w2-20020a170902e88200b0016f1aa00abbsm1416364plg.195.2022.08.26.05.08.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 05:08:35 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: 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 v2 1/2] dt-bindings: arm: rockchip: Document Radxa ROCK 4C+ Date: Fri, 26 Aug 2022 17:38:16 +0530 Message-Id: <20220826120817.1623536-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=gAfZvDAd; 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. 4C+ replaced DP with HDMI and updated MIPI DSI/CSI FPC connectors compared to 4C revision. 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: Jagan Teki Acked-by: Krzysztof Kozlowski --- 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 Aug 26 12:08:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2306 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 5F0363F07C for ; Fri, 26 Aug 2022 14:08:48 +0200 (CEST) Received: by mail-pj1-f69.google.com with SMTP id a16-20020a17090abe1000b001fad8c29b0bsf4778367pjs.2 for ; Fri, 26 Aug 2022 05:08:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661515727; cv=pass; d=google.com; s=arc-20160816; b=eA8AUsNZcNCq2+16eWmtE5UaE6jOOCRD0CMTUnrt+6p1/wQ56+/9IGNbwJNOACa1x7 sWqBgf7qPw+g6rPark15Ch5ZXnEkHT4FtxM7u2weG+4mTMbqRBNjUf6IsRjxzr7KiHnX qqhvFSEA4bOKMY9/8w6u+lxzGFWQAucPc8RprnbHV0NzBKbdizH0Y+W9ukEt0onu3uyj AsJ/Z322HaxcD0lCS9Str7qHA7K3TSukRtFxVfBEtPdR+o3nQBCx4XSgeA/mmxTsutSy fQcjuNRB1mTTtQk5QmtQOMboKuR9IUkXvHMNumSiYlRuC1/g4YOa/CIQ6e/ITx+r8uYz sqqA== 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=gman5tDmNgql1MVlesOO3Y0kZOX/u+rV2dOfyRRQZZU=; b=r9vDudVYQJspVBP4RcFGGz17jqcXSAzbPxyZcPPTegjQIsBIsBdhw4ieosHB2xTq8k K2OvCPMrSpaW4aJm5XGRsnnOF6AmDt857TJ2l5Aq5h7CNJWYx7DK52phwEdYFxV7Cr/1 X/YDimWtrTR0vVT4htyY0wKWWunGAk4NYMnUQWHGDgRwFdaSC+4zNFaHF40nlPi/h6iV 3++K97g1ORSKgrWaBIN/+rUfBm82/0JV9EgIF16d6EjaWu2H8KnUt0ZmDYwjpFB5ljkY vG2v+0oKg+RagLJUMbAHt7MrVpWYdAY1FmgVpNghw6F2JLs+sULpwH7vB2ZRANaUva6f XTbg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WBNllwwy; 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; bh=gman5tDmNgql1MVlesOO3Y0kZOX/u+rV2dOfyRRQZZU=; b=pZWoHETJA6FeajepvzM2cVZ0VS2ddsSB8FlmOKcyakX9DBn7Oqgdk/2u8eHV/npDtC G6Upyu8nSj+ClAkObqrSSpHNSKWFCLR/YZMsxAAAMaZ2iy8hpcF0M6W6NqhU8mQiPcrP Aq3WftNZteByk4lvw2DnWaKMSOUuON6f3/Z/E= 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; bh=gman5tDmNgql1MVlesOO3Y0kZOX/u+rV2dOfyRRQZZU=; b=UPDiPchzKFQMFeOMqG4Gxm5Su3erLTFnyjGbii2Ag7JaX5Teh5L9LBZP/0mZHW7K0m x0Ms1p5rla4FBM6kz2LKMJaH9JVwBxXQPk433asXg6C8kxRq16+Oi+okTxNSBxlAjgrn 28EQbIZ9JKUsZ8nL7UfPDg+ASYft+aJ1u2bWtjTAREeviV4qD/vFW4nWOAyJRQbeTbN7 RwuV3mIQgwEE0dnZ/IaC+DLybPbJc4henYCMrbm4HhWtQGAbRmg4pd1nr+uDDV8Z/21F USIUa3waiNB7GKUcikq203RVyXIviBZZV35F3omzB3A7jQ83uJQ/P9ZICt3vv2FbeYut X+0A== X-Gm-Message-State: ACgBeo3n/+LLxYWDcfUSnZYy4c4oOwcBgv3DkdH5zWyR5IcsBMRrnlEu NazklxdInMPqvSfj/J4kt1AJN0DP X-Google-Smtp-Source: AA6agR66wJ4q8rJQPo1TRsqKbkskDI7S0ia6gA1jt/igyWNoCkaDGRTKQsCzJ+4lJ6zsE49TzvwysA== X-Received: by 2002:a63:5015:0:b0:42b:5a50:711d with SMTP id e21-20020a635015000000b0042b5a50711dmr3030772pgb.202.1661515727069; Fri, 26 Aug 2022 05:08:47 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:6a86:0:b0:40d:4b5d:70b8 with SMTP id f128-20020a636a86000000b0040d4b5d70b8ls1220279pgc.0.-pod-prod-gmail; Fri, 26 Aug 2022 05:08:46 -0700 (PDT) X-Received: by 2002:a05:6a00:1c81:b0:536:ee0d:54f1 with SMTP id y1-20020a056a001c8100b00536ee0d54f1mr3580777pfw.39.1661515725744; Fri, 26 Aug 2022 05:08:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661515725; cv=none; d=google.com; s=arc-20160816; b=hw16URmtwjbRMiypfIum7V/bTMqLsBSwPPxIWBzh3o2McH14rr8c2pUZgH8HyeYdZn PoYfkDGdYMr3tLCAbhu1sDTOA+aWJYy9BqxQ9ocuPpywS1EQaUUcSoUM2P7L678CovT8 lR7DJRHX4iyapMv8fycZ5cIPKWwoPDC54JttLOO5La27gTi/x2Ou8WPEQQD8alo8PTZC iZLijRwNHkQbYGjE+pOGQPvEg23PnX7neLUHwlSe054ofuR2d/cKLKfOoj76UPpzkRdV QDboVoIfGl2RqIZs70hVFRVBcYVVC+SS8gWqA7Ugh8ow3/quIJZ5Qyj8IxbBVZtpZvdu JQuA== 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=RvGqr2jVnSFL/XFouIjDKekz2+qA8yXUvmHh4bdImuM=; b=dmU4Gii87pi6B5apRpYzrMmWLtAMV31fpKDXafy0hvsMZZ+m7dl+4W4coFZrIBe8F7 k7Vu4z6CUEUzhp3JQusGvKT6WDvI9gyaMSINNTMwbL5l4KnqK5sCBh5SuaNUMo26IHU6 l+M2wo8sJx6Gptxg5DlNejaAkNPkLL/bH53ZeG/4FVKOBEyOtzThovqMCHByH/fMUXwj QGPHpXamsUJDIy4xsATgJf536Rcg6+Jz0jmP1+6Ri+IQmDiwO35ONdnx7N/D/uA8snix zmL6ZoqqCQ1iLXZiDP7zVC1UONk8rqq57zX+6P3p1xsMdVE8/FaTqQUpMxyC0EAMv7KZ afWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WBNllwwy; 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 z15-20020aa7990f000000b00535fa687a9asor1097026pff.19.2022.08.26.05.08.45 for (Google Transport Security); Fri, 26 Aug 2022 05:08:45 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a62:8446:0:b0:535:d9e2:d137 with SMTP id k67-20020a628446000000b00535d9e2d137mr3627187pfd.29.1661515725262; Fri, 26 Aug 2022 05:08:45 -0700 (PDT) Received: from localhost.localdomain ([23.27.44.247]) by smtp.gmail.com with ESMTPSA id w2-20020a170902e88200b0016f1aa00abbsm1416364plg.195.2022.08.26.05.08.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 05:08:44 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski Cc: 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 v2 2/2] arm64: dts: rockchip: rk3399: Radxa ROCK 4C+ Date: Fri, 26 Aug 2022 17:38:17 +0530 Message-Id: <20220826120817.1623536-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220826120817.1623536-1-jagan@amarulasolutions.com> References: <20220826120817.1623536-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=WBNllwwy; 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. 4C+ replaced DP with HDMI and updated MIPI DSI/CSI FPC connectors compared to 4C revision. 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 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 | 641 ++++++++++++++++++ 2 files changed, 642 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..0a0d12910dea --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts @@ -0,0 +1,641 @@ +// 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-opp.dtsi" + +/ { + model = "Radxa ROCK 4C+"; + compatible = "radxa,rock-4c-plus", "rockchip,rk3399"; + + aliases { + mmc0 = &sdmmc; + }; + + 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"; +}; + +&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; + supports-emmc; + 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_cd &sdmmc_cmd &sdmmc_bus4>; + 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"; +};