From patchwork Fri Mar 4 16:11:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12769401 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 07C58C433EF for ; Fri, 4 Mar 2022 16:12:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NRH2HIItBU1DLanknOUSOcQUbjcRxUqDCrDojqV4R6o=; b=XvRYRYo55krkrd h/xwI6bILCyEi/qqHXN0p6+gCD7PMB+tBCgsb9KK8CNf+LuQUjItRd8LIsWjY0XnEgKnqLGvijfDD JwLNrN3YxTzvBb57nWKSvFsdJpa9COgd/qLrgBUr7ZQsSbCwJwVPyFpgzgntfRTZh8ZVw9mJ+vsB8 d51DgJWYB7bZK+KZwHWbJq7v6OPC58KAj7vYmc8+9YFvsltsKW1sF9lHDR7LaFKE1GM0WwiDEl9Nc bE5XQMdsmtVaJ/SNPs8PX/KAlNN26ed1m+4gHJjmrreYaPb2VzwZGzkXIDw04DNDnxBMfuC42SkWO jrNpiQhYr81SoNs/DJ6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQAXM-00Aw1X-IP; Fri, 04 Mar 2022 16:12:12 +0000 Received: from mail-he1eur01on0604.outbound.protection.outlook.com ([2a01:111:f400:fe1e::604] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQAWz-00AvrI-K4; Fri, 04 Mar 2022 16:11:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hNS4N6A5/aHHKc9+t4pIcaqMdTC1RALebffs77kGwMPUMB09vlkPOq2lQu68gU7eNAqFPAfbfa2f7QmK0YdyPn3q0Khn0cPdiEvAi+yyFEyFWPH7h/1DUIgP9k1PB8vP3pPy0kM5wVURSjx0ZiXOPau9k/Y5YKyIr7zBKbYeHu/uK2KPtdMFRdxTvnbQYnewKD7J/jVuwKYpJclV7DB7rL0LWXsKzUukf2O8QrqGiUI/h5jKykUVDfwMQXO9E0FweiWGYz4neu+1DZ6B+Ohp8ql9/b9vq9gbJIF+gjb5g4wITa/LIdmdLfGsZQPIKSxfkkd2bjG8l6RcUa7JWIJovw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NvI7z4KR2veL7qgxqkrIQA7ZsqlzpVHMiwmsB7yl9tw=; b=GIhnGXN3+17NHTzFolCVE+aPpv7sv/3D21ZtNMKAdMz7wpStV3H+aj92OXgXCVEJ7+oKsxBOYM5RFwsZtRakz29Evu9mMANyTBjcnvq/LOOc93MJw97xS9YX/pIsQbVCptdE/r6JWjtEqjgB2Ltne7d5hxpjzqu7A/XIivPIu+ys6WpbNutRte7ZXI7Uzk4fhOXWqTkncz207V5Y6/wZy91kR7npvGXee0QC6Sp7R7lKCm/XkjDcGgO8GOOTPy0YEHmOXNrdh2r6F5vKz+ICkNtb5ZNUfUJCdyK5ZS03HJHDk5Y6qxbnrpmZI363bwhc7Yp/2VmagR9tczzJz97+sw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NvI7z4KR2veL7qgxqkrIQA7ZsqlzpVHMiwmsB7yl9tw=; b=p1El/qlFBEG6L6/UxummLMfH0HROY1/LcgXjF0EqDA+IoaRQeTp1mLwq/ti1CK0G7zirGdgmdwErB7dKie0CL6tqmVR96zaMM+UNEdobqgkpQwrGPnGVABFOD/XJby1RiBvxEfF2N3rVRYq+8Qg5Xoryhhf7EnbJvh7+UXJL/6Q= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by DB8PR08MB5481.eurprd08.prod.outlook.com (2603:10a6:10:114::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.16; Fri, 4 Mar 2022 16:11:45 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049%4]) with mapi id 15.20.5017.028; Fri, 4 Mar 2022 16:11:45 +0000 From: Michael Riesch To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Heiko Stuebner , Levin Du , Tianling Shen , Chen-Yu Tsai , Sascha Hauer , Alex Bee , Liang Chen , Peter Geis , Michael Riesch Subject: [PATCH 1/3] dt-bindings: arm: rockchip: add radxa rock3 model a Date: Fri, 4 Mar 2022 17:11:28 +0100 Message-Id: <20220304161130.34977-2-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220304161130.34977-1-michael.riesch@wolfvision.net> References: <20220304161130.34977-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0016.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:16::26) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bd0a208e-efd7-410a-ccb9-08d9fdf9ad82 X-MS-TrafficTypeDiagnostic: DB8PR08MB5481:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qqlRwef6hXr7RhcW7iOBjYCjxXYQs0m87nZtiHe4fus1PS48AnsDDwbAAh4TdxBv5EcURJzUgq7Ve5hcMUgfGq7J/FPG7towoLKpw++8b4na1vU1r9jGIUaDAD0eM6KS+iwC/D5TJHyilC7waFIZpSuqu7HnPTHOo/hmicP7vbW6OCsXqHFaaYDz8k2tD1H1NgyBzCoUAiWPF/+tfoJfYEngMpxCfG6xO+97UOkskIPy9PPHZ9n+aPCf94Iy13LD1eiBpXg/mBqeb0QzWdNqkvfhFXL/3UbLK0GHauU9AKTKvb6YIxZQHUOrv3c9fZbsW3ygKkL35V+3pkCXCWrtOlqUfEftrmQ6JGg62q8Eosqn+454T4P3PDE4Lh3bSgdExnOuK62bwcQsaRZXW9hmH6KeMmFc0hdW73Q+EEwiqTvF7oi4xLHovFdw0hU1bZR9H0wUSsD7HnQp3yrM56Aq6Y6f3A5x2dzRdu9usLaufvB7ejSZ5SO/1FWhG57hHwD5OI0KCt8rN7KYAoBaHvRWZtTkim/LbNnNROtPLr0hpOnIy0ym0DUWHKI0WSPoS2S0s7wUNcqt003n8kdhO0FFH+d0vR3FH/KN0I0OJg/nyf6Ja/xfTQZuw5xuAULi3VZVyi2ifzrO2NAUWPpJRoE6hykfNbvmf8F32r1w47TnYU5+6aFbJ3oTHnLKRxMKxZ7ONGSNRvQxo6g5lsECXgTzIQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0802MB2426.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(346002)(376002)(39840400004)(366004)(136003)(396003)(5660300002)(4326008)(38100700002)(8676002)(66476007)(7416002)(86362001)(66556008)(44832011)(6486002)(2616005)(508600001)(4744005)(186003)(316002)(1076003)(107886003)(66946007)(6512007)(54906003)(36756003)(6666004)(52116002)(6506007)(2906002)(8936002)(129723003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: h+4KPVCmVPdLsW0rENYCXsofjzDllJKHgKPFchkxFIz8UXv7xYrDFzzbVmwC8ch//et6LIRCzzKs+l34WDs2BemhFPfGeIkU3u0gAx50E2OKJrTkYpuBdTj7vzoiGXVdltPxNOF8rA12tEFoSvdUyWWTIi/15E2Xg5wO5xH30Tlq6oa5huLi0llSjqukSUhcMa6wiNMDC70qe0sKcYznzXNbpqTSdq8O4TWZmvkmcwv86tfAaNnBbCmm2mykmyAiWrz2w16c7bQfybCOSgbxi63F0WLr93qHnSNFBhy6xZZMVf55lxdGLd9ekNbAFXT0IfCgBJ7DUIxbm0JdvUmfsW+BVjxdjTGIbD/H+yQdmjpVJhpvjhBZNd+WTsWmTTgW2AiOtVtG1l7MzVfBo6hvH8Lv7Rbu02kZ9XZCcDcWoylcnJXRQ4hq2tyRHVgFZ0aAHyWcHJIR4neisnLtf2LLhAO82NZ33I3t+ynXQqPwI5d3tkwrvDcOVGIUatEjhGx1qhVCNB05th4jJ0H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2HkDLyXjc0pcEvKq+dcgCAyKX5LOHj1KMoDwt8aGAqVH1rnyrcyN5CQ4+4TxVd6ftJL8r+RJMFcdJopIOLNglXUYC5TbTIh/hdQXa5poJmjBaic2I4Mm1vq5vDU3DTZfL2CJ4dvMONqHMWa40vMEPOCeFc+DZc= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: bd0a208e-efd7-410a-ccb9-08d9fdf9ad82 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Mar 2022 16:11:45.1225 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XelXqKCehbUUwp/Roe+6vI7MLUS5V0owT91FB/bvEPgGX7hVG4Di2jdDaSGZdxVP/j+9WiMnynSnQ5qzzOSxnZWIuhLpyfG1158vrvt0Avc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5481 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220304_081149_684002_77F4719E X-CRM114-Status: UNSURE ( 8.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add entry for the Radxa ROCK3 Model A board (with the Rockchip RK3568 SoC). Signed-off-by: Michael Riesch Acked-by: Rob Herring --- 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 4aed16176434..94b1107ba5f2 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -537,6 +537,11 @@ properties: - const: radxa,rock2-square - const: rockchip,rk3288 + - description: Radxa ROCK3 Model A + items: + - const: radxa,rock3a + - const: rockchip,rk3568 + - description: Rikomagic MK808 v1 items: - const: rikomagic,mk808 From patchwork Fri Mar 4 16:11:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12769402 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D7154C433EF for ; Fri, 4 Mar 2022 16:12:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=muKKJ5etf2XYHRXBCa8ui3wPlBFqjUHE5+7EvN4qHuo=; b=TYMFC4LpVCwdz7 hALmkVFJHZclKUUr3J2fi0KEvPEawMjGOGvDL26dqUJUaH2g3RwAkF1y2/ALKxFgad0BX9hN1/40E lo2+JPXXAYNvyBQwF+J1f6QdxtycAUSrShzme7qiBUDn7DxQRIQgauUc6DyL751/URY22qcKIZGuq o5PJ6Hkrbtpqa7SU4Se1ggdcNa5GE0Wto7I5itdUEyLyziYh3C4lLEu6Da/hDROUjcCkrrnnAnHYw WweJRMvQoJjYh74d4vEaH6jKxP3fVmyroKYiJWQrc6f0pCY/RmwdJianpKbxWLkKR+CbunPUIIXK4 h7xUlgTMB8kqBE27HEXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQAXk-00AwFA-7R; Fri, 04 Mar 2022 16:12:36 +0000 Received: from mail-he1eur01on0604.outbound.protection.outlook.com ([2a01:111:f400:fe1e::604] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQAX1-00AvrI-Be; Fri, 04 Mar 2022 16:11:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nSquBm1S6mvuxCmWxuuIEw7Fk2HA1qWrHtCrjyVsESDipLXUKIDXFqoqlLefzZ9z51+P4nq3+pCGu0q6Uck/2rchJmI6Ad4tm0oNXexoE3NP1ZOOxm01dsMlMnpbd/S86KkXns/U/DqiFP7MSiTi96N9Wgoi9GS3kq5QpCDTqAa81hXpn9ItOBZc69Nd50UIg/GEZUAN/X6uYe+EowYg0ttwLO3RwEji21fy38q+29cPBROydeh7VA9vwSMtd6DCyWuCJzW9VV7ZNaczERb1CO08dpgcM6ANIOkI81yTk7E6RFugw4RPDWaX0N4tYLkUH3Gj/l9LILKuowgreL7Nxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nrBegQthmemtahFXhXM5fiaRmm97+pq/urQh5Ie61Uo=; b=HNIoCdEvHwgLiJtzc8axeAejfwbp2TPxOVs1MdOIGQ00PtTBFpxgALsxl6tLSBtvP3zNlcI7gEhLaRXaKmavjgzV6vRZt1R6wossOl20BvNttiZhVQ72hZYOVGgHfDDiWlzYz/eydtwOuVL4XvHad1+Z6A1k6bCYU2gt0CCTCiKVsbiBcDT8yoqBSnocDpMT3NFqUZL7v2Xlz3Q1IsAetRd11tsugWpM/rvWou2CKpvkQdJj7w01nDdMS6RL17uN/a7tAiKPuSY/EuMT+iJ9Mj/1lknFLZArFnZ/v92TTokEzkN0sbuDeZtjb64dz04WXSgP+BqHfjdB/+vIW1YsWg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nrBegQthmemtahFXhXM5fiaRmm97+pq/urQh5Ie61Uo=; b=lNpwgvbUsFcMPMis3tudq6S/B4Uad1RvjjMds2+LZMI75zMfQuIlnkR6iBOx/gnKFIWhe2Z1vmQhZRc7OzPc/y5bSxhgyitEMctC8gn0dvL3/t76BA7Nmgj/qen1Px9CX8MoDtcmxAzthkd0I4+euf0S2zDrp+bMg171dKpeL9U= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by DB8PR08MB5481.eurprd08.prod.outlook.com (2603:10a6:10:114::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.16; Fri, 4 Mar 2022 16:11:47 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049%4]) with mapi id 15.20.5017.028; Fri, 4 Mar 2022 16:11:47 +0000 From: Michael Riesch To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Heiko Stuebner , Levin Du , Tianling Shen , Chen-Yu Tsai , Sascha Hauer , Alex Bee , Liang Chen , Peter Geis , Michael Riesch Subject: [PATCH 2/3] arm64: dts: rockchip: add basic dts for the radxa rock3 model a Date: Fri, 4 Mar 2022 17:11:29 +0100 Message-Id: <20220304161130.34977-3-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220304161130.34977-1-michael.riesch@wolfvision.net> References: <20220304161130.34977-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0016.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:16::26) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d4978932-65b1-444e-082b-08d9fdf9aea8 X-MS-TrafficTypeDiagnostic: DB8PR08MB5481:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9KrYOnURGrvFQi1F2VPeEpIAd3rGfcomavmkNy/+hZnW0mVDQ1ri+PQmCqeYpecbVF2/72zmYboLVe6tMTPioLQknIX4a1u6HzK2pFBZIK1thjpwbgY6cBA5gCTE77BaD4+J9rvZ5QDxfTt/BO/Y3FdWfshwHr4jAcUeqoFgNuO57mdV1YB29sNrETpDrtibrVrc80rGOdZAW6hXtshnQVBIQankYIdH+mL3A8QdMz9KT94mr262lPjGOLqY3ZaN5T3LHH+3JtobAw3y0sD3cXMGa716aCCyCj9aYiGYBVFerBlLT3fu1qOsF0UHMK/pjN3Al4dbrMhceTSNSlGElwLt6tKik7zLrGPMdz4qZ6UKGnUsfldmaBvmTiWPuuswmzCyIVedn2kxNGliAEqNMR68dN37g1dfg+KAUN1iipV7tVqVo8+aeQ4Ndf6y6ErDOuiuSEgImSPJh4Yy+OAQHZhDTzb2zwxZij3CzJ3RckKaJwHSK0sA0Xgut2nq4u0T8ZLFUrFUwwpfWP/oC9Lq8OJGqDApHYou3PZat94hTSqbBInqk7hWI10FkvT8zFBLFNWYuGTQZVYI7qPVIL0SWNmtIzx4hsGusGTPTDAxuffnZ4hOQZh/O7z8dXHNYyQlpyHUv8IHHQThFdaBvr5uwUXIT3Nr2ImPYFxhiKdjzwBF/Y5iQFszXCUf3km0EhlLTp8cpi0hqOWMF44SNB274w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0802MB2426.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(346002)(376002)(39840400004)(366004)(136003)(396003)(5660300002)(4326008)(38100700002)(8676002)(66476007)(7416002)(86362001)(66556008)(44832011)(6486002)(2616005)(30864003)(508600001)(186003)(316002)(1076003)(107886003)(66946007)(6512007)(54906003)(36756003)(83380400001)(6666004)(52116002)(6506007)(2906002)(8936002)(129723003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: sbPLaHrh8WAATgUWBhJ3LbRMJU7TikFCVCVeXiKXF4hMk8mL/Ml5IETdoad66AN2WwvroNUETNw6JO5O2hruF9u9bMpFDZwabe2HENOPiEwL+difFg4CooPylHCE3JKG+Ga5LCQHieZSa/djJS/vfZ5ZYJgfTRoZn94EGniu5xNBXL8M/hMMVZP9jTQAAECC/3l1xRHo7X6cloTNEEnVTK+USZDINDNAZkm6QkDo7lFF9odMNNTcvm6gnZkqrq1VACJGP0jFGFOtuCb5nLGK1lJRSQaqmiwOM0Tl3qN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aIAzT2I7qZRw/oi8mWpYpOiCdGrGryoX2Lhpbz616O+xbghQVGpSS5pez+M3pqa5mIRP+Di/Fo8WIgSb+3yOxWWNqJv6VSmw2tF59SCaamJaPu0QBYUddi8yaSzjes+1i38alvSFugCIDDbqB+sOr9uUi3OauIJRECNu9oTpWfq9bOlH8t0lESYmJhDLyumhTyLEeXx77VT5AqrPrKImHJFwqKvtxnpUuiIurtCQadRuw3waaoGY/3RGwGRO3npYAqdJaKyMA2YAjQuKNf5lQOO5eQ+oizUpoBzTKQvuVlYxRJsCyy1SnP0RPsSWiQ/JtbjKx+Rce133VcAu6p7davFCx1K5YsTzw3HtvkCyPwFp8xSDa3S4FOZBTNpiJRw+NOKIdXfTZteBEk+2qOPA= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: d4978932-65b1-444e-082b-08d9fdf9aea8 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Mar 2022 16:11:47.0129 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XIW0mzXdddzPuCieAh1r0+MFnonCzRj3lP59XAFkb3dgTcLA9pZrHH6Xr7aS/LK9lEHl5OKtyudLa1IYnVk4XVMx7AYDfqP4WmR2MV9YK0w= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5481 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220304_081151_452529_2238888C X-CRM114-Status: GOOD ( 12.29 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add basic device tree for the Radxa ROCK3 Model A board (with the Rockchip RK3568 SoC) including Ethernet, USB2 and headphone connector. Signed-off-by: Michael Riesch --- .../boot/dts/rockchip/rk3568-rock-3a.dts | 501 ++++++++++++++++++ 1 file changed, 501 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts new file mode 100644 index 000000000000..18d2d8e5e693 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -0,0 +1,501 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; +#include +#include +#include +#include "rk3568.dtsi" + +/ { + model = "Radxa ROCK3 Model A"; + compatible = "radxa,rock3a", "rockchip,rk3568"; + + aliases { + ethernet0 = &gmac1; + mmc0 = &sdmmc0; + mmc1 = &sdhci; + }; + + chosen: chosen { + stdout-path = "serial2:1500000n8"; + }; + + leds { + compatible = "gpio-leds"; + + led_user: led-0 { + gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; + function = LED_FUNCTION_HEARTBEAT; + color = ; + linux,default-trigger = "heartbeat"; + pinctrl-names = "default"; + pinctrl-0 = <&led_user_en>; + }; + }; + + rk809-sound { + compatible = "simple-audio-card"; + simple-audio-card,format = "i2s"; + simple-audio-card,name = "Analog RK809"; + simple-audio-card,mclk-fs = <256>; + + simple-audio-card,cpu { + sound-dai = <&i2s1_8ch>; + }; + simple-audio-card,codec { + sound-dai = <&rk809>; + }; + }; + + vcc12v_dcin: vcc12v-dcin { + compatible = "regulator-fixed"; + regulator-name = "vcc12v_dcin"; + regulator-always-on; + regulator-boot-on; + }; + + vcc3v3_sys: vcc3v3-sys { + compatible = "regulator-fixed"; + regulator-name = "vcc3v3_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vcc12v_dcin>; + }; + + vcc5v0_sys: vcc5v0-sys { + 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>; + }; + + vcc5v0_usb: vcc5v0-usb { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_usb"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc12v_dcin>; + }; + + vcc5v0_usb_host: vcc5v0-usb-host { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&vcc5v0_usb_host_en>; + regulator-name = "vcc5v0_usb_host"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc5v0_usb>; + }; +}; + +&cpu0 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu1 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu2 { + cpu-supply = <&vdd_cpu>; +}; + +&cpu3 { + cpu-supply = <&vdd_cpu>; +}; + +&gmac1 { + assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>; + assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>; + assigned-clock-rates = <0>, <125000000>; + clock_in_out = "output"; + phy-handle = <&rgmii_phy1>; + phy-mode = "rgmii-id"; + pinctrl-names = "default"; + pinctrl-0 = <&gmac1m1_miim + &gmac1m1_tx_bus2 + &gmac1m1_rx_bus2 + &gmac1m1_rgmii_clk + &gmac1m1_rgmii_bus>; + status = "okay"; +}; + +&gpu { + mali-supply = <&vdd_gpu>; + status = "okay"; +}; + +&i2c0 { + status = "okay"; + + vdd_cpu: regulator@1c { + compatible = "tcs,tcs4525"; + reg = <0x1c>; + fcs,suspend-voltage-selector = <1>; + regulator-name = "vdd_cpu"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1150000>; + regulator-ramp-delay = <2300>; + vin-supply = <&vcc5v0_sys>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + rk809: pmic@20 { + compatible = "rockchip,rk809"; + reg = <0x20>; + interrupt-parent = <&gpio0>; + interrupts = ; + assigned-clocks = <&cru I2S1_MCLKOUT_TX>; + assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>; + #clock-cells = <1>; + clock-names = "mclk"; + clocks = <&cru I2S1_MCLKOUT_TX>; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_int>, <&i2s1m0_mclk>; + rockchip,system-power-controller; + #sound-dai-cells = <0>; + vcc1-supply = <&vcc3v3_sys>; + vcc2-supply = <&vcc3v3_sys>; + vcc3-supply = <&vcc3v3_sys>; + vcc4-supply = <&vcc3v3_sys>; + vcc5-supply = <&vcc3v3_sys>; + vcc6-supply = <&vcc3v3_sys>; + vcc7-supply = <&vcc3v3_sys>; + vcc8-supply = <&vcc3v3_sys>; + vcc9-supply = <&vcc3v3_sys>; + wakeup-source; + + regulators { + vdd_logic: DCDC_REG1 { + regulator-name = "vdd_logic"; + regulator-always-on; + regulator-boot-on; + regulator-init-microvolt = <900000>; + regulator-initial-mode = <0x2>; + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1350000>; + regulator-ramp-delay = <6001>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_gpu: DCDC_REG2 { + regulator-name = "vdd_gpu"; + regulator-always-on; + regulator-init-microvolt = <900000>; + regulator-initial-mode = <0x2>; + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1350000>; + regulator-ramp-delay = <6001>; + + 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; + }; + }; + + vdd_npu: DCDC_REG4 { + regulator-name = "vdd_npu"; + regulator-init-microvolt = <900000>; + regulator-initial-mode = <0x2>; + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1350000>; + regulator-ramp-delay = <6001>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_1v8: DCDC_REG5 { + regulator-name = "vcc_1v8"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdda0v9_image: LDO_REG1 { + regulator-name = "vdda0v9_image"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdda_0v9: LDO_REG2 { + regulator-name = "vdda_0v9"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdda0v9_pmu: LDO_REG3 { + regulator-name = "vdda0v9_pmu"; + 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>; + }; + }; + + vccio_acodec: LDO_REG4 { + regulator-name = "vccio_acodec"; + regulator-always-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vccio_sd: LDO_REG5 { + regulator-name = "vccio_sd"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc3v3_pmu: LDO_REG6 { + regulator-name = "vcc3v3_pmu"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcca_1v8: LDO_REG7 { + regulator-name = "vcca_1v8"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcca1v8_pmu: LDO_REG8 { + regulator-name = "vcca1v8_pmu"; + 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>; + }; + }; + + vcca1v8_image: LDO_REG9 { + regulator-name = "vcca1v8_image"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_3v3: SWITCH_REG1 { + regulator-name = "vcc_3v3"; + regulator-always-on; + regulator-boot-on; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc3v3_sd: SWITCH_REG2 { + regulator-name = "vcc3v3_sd"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + + codec { + mic-in-differential; + }; + }; +}; + +&i2s1_8ch { + rockchip,trcm-sync-tx-only; + status = "okay"; +}; + +&mdio1 { + rgmii_phy1: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0x0>; + pinctrl-names = "default"; + pinctrl-0 = <ð_phy_rst>; + reset-assert-us = <20000>; + reset-deassert-us = <100000>; + reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_LOW>; + }; +}; + +&pinctrl { + ethernet { + eth_phy_rst: eth_phy_rst { + rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + leds { + led_user_en: led_user_en { + rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + pmic { + pmic_int: pmic_int { + rockchip,pins = + <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + usb { + vcc5v0_usb_host_en: vcc5v0_usb_host_en { + rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + +&pmu_io_domains { + pmuio1-supply = <&vcc3v3_pmu>; + pmuio2-supply = <&vcc3v3_pmu>; + vccio1-supply = <&vccio_acodec>; + vccio2-supply = <&vcc_1v8>; + vccio3-supply = <&vccio_sd>; + vccio4-supply = <&vcc_1v8>; + vccio5-supply = <&vcc_3v3>; + vccio6-supply = <&vcc_1v8>; + vccio7-supply = <&vcc_3v3>; + status = "okay"; +}; + +&saradc { + vref-supply = <&vcca_1v8>; + status = "okay"; +}; + +&sdhci { + bus-width = <8>; + max-frequency = <200000000>; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>; + vmmc-supply = <&vcc_3v3>; + vqmmc-supply = <&vcc_1v8>; + status = "okay"; +}; + +&sdmmc0 { + bus-width = <4>; + cap-sd-highspeed; + cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; + disable-wp; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; + sd-uhs-sdr104; + vmmc-supply = <&vcc3v3_sd>; + vqmmc-supply = <&vccio_sd>; + status = "okay"; +}; + +&tsadc { + rockchip,hw-tshut-mode = <1>; + rockchip,hw-tshut-polarity = <0>; + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; + +&usb_host0_ehci { + status = "okay"; +}; + +&usb_host0_ohci { + status = "okay"; +}; + +&usb_host1_ehci { + status = "okay"; +}; + +&usb_host1_ohci { + status = "okay"; +}; + +&usb2phy1 { + status = "okay"; +}; + +&usb2phy1_host { + phy-supply = <&vcc5v0_usb_host>; + status = "okay"; +}; + +&usb2phy1_otg { + phy-supply = <&vcc5v0_usb_host>; + status = "okay"; +}; From patchwork Fri Mar 4 16:11:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12769403 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9B48FC433EF for ; Fri, 4 Mar 2022 16:13:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JvW+NepxSAqxD+3EYyRoo1TVRiVvhdCcF1lgWEptyzI=; b=Cf23IJQtN07/f9 brifqlSMtd2bOGgZogb0qiqFG9KhH6HGx6tcdO4w4x0SzqieSO9l71r3hw9zDwp2X0NErprpw4ux7 tAKjWyXwSckvxrqeea5EjXteadkdK6p0DpAVq+3pLW9Z488ud9pzYlkXwXr5dwFBzZCTzZ9APdF5Y lo9kLvRUAGKeH9NZoQ/aZoBymRfAEuCNOo5ZWGYRiCnv7ezgCTPH4S3MrbR5JSraat2V1ZWbTgEUy K3muisszeRSjt2Pr+UtNvOdQ9Mzs2Vm8RUU1ML04Sj6XeaZlYyis0hzhmbywjcioyWtil/vvBq5tG kkbBBVdjPPvb0945dH7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQAYF-00AwXA-63; Fri, 04 Mar 2022 16:13:07 +0000 Received: from mail-he1eur01on0604.outbound.protection.outlook.com ([2a01:111:f400:fe1e::604] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQAX4-00AvrI-1y; Fri, 04 Mar 2022 16:11:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wsp2HwADH3nLx/+DKlsCP0qm5PBVFGeysiKsjzQsbEiuxtlUzA0M0NCi4c+oWtm68Ca9i13s29uZhVCeDEfPv6tFochqdZ18lo7VU4d2nsi9O0noGjgGPhnkpw0Mh8zvS5fDNQc10z18tayidz5qJWX9dFBTlCj3bXrcgBbuUKTgxPBKQE4T6HOZW3NYnZlS64XpzlK+s3HUZ9nDrSIwp1aA8BhzIs65XzVULY7c5eeAlz2N4EJ0xURr3lxuTsvEX56IeoYaGBAdoV2p8rLaEWr6BS9FwA5mQeVj0ERecup00Wz1yUQj0HjuCTo6ODBocxMMMQFKkhLsUCzWGZQF1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LZw1+VtLOQLBFtratwHT1jmRlN9tWZHxciODuakdhR8=; b=TTqhgv0MCRUpfFmopSUe8jP0bvJ6Tfo+0SK5r8q5LXArksXa8QxG6kCtM4n+N362IwnmpVZkS2depU3UnkGN7+y8G9jPIpbdsO1kYlpskdUXmiVsrBC2G1Avx1gR2G7wZnbJBJPct9PQcc2iDS3e9yKVY914k9P/tS0tKYn6KumGxS6Fhg7TyyGknyWpcVYMu80QzhyhC/3OX4hYJwUZjMK9JYrAzI4sVdxuYzTdnCpvINuxNbbm/nclDUBoP9+wonpsTCM4AQREprAYW/FhASi5X9lxTW0ARDFtsu0UDzNlfDHy6bISTybXhsUXV43TfMALENGwUxfdjhGR2Jy1Ew== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LZw1+VtLOQLBFtratwHT1jmRlN9tWZHxciODuakdhR8=; b=NFd3fwxR04iyZsVodfZ7qSfOgXcNW6bAgEGiSUXK9cJX1QV5PjaOVCUgxJMTO8ZiVzqiBBUgd42tZkYsvt/0QDEMGyuaB9+gvq64IvSyh+uJXHWjQwS+VvAPKCWRpb9mEq6qRbnQ8k6T8bGTc+mTiEkv3bNUDnVpxD+/7/KjLq4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by DB8PR08MB5481.eurprd08.prod.outlook.com (2603:10a6:10:114::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.16; Fri, 4 Mar 2022 16:11:48 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049%4]) with mapi id 15.20.5017.028; Fri, 4 Mar 2022 16:11:48 +0000 From: Michael Riesch To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Heiko Stuebner , Levin Du , Tianling Shen , Chen-Yu Tsai , Sascha Hauer , Alex Bee , Liang Chen , Peter Geis , Michael Riesch Subject: [PATCH 3/3] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a Date: Fri, 4 Mar 2022 17:11:30 +0100 Message-Id: <20220304161130.34977-4-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220304161130.34977-1-michael.riesch@wolfvision.net> References: <20220304161130.34977-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0016.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:16::26) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b80ed30e-e6dd-4c22-45ac-08d9fdf9afae X-MS-TrafficTypeDiagnostic: DB8PR08MB5481:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l3Dc8EpPBzidiMJRgvj8IVfik9hwzFKQw4QgYYSI4d5QJph5a6Z0PmDgGYhnde4tx6uwwdGX25VBCu7pifyegML6Cvv1pLRAkAZ5Gp1shaabFwoeRqPfYaneHCs5SPkJEJ9NBjd+EHag/4BUaoFuEJ7lVYK0tuynU5rGfaLCAthEn7Zk8e4Zj90k6L2OB4tblw+2FXrvDKDwYMdcUfX2oTTMTeFb+LC3wtbTYbdK1xwxqEFxK0koFnImfXJHPkJ5/GU2ky9a3UkAG7iPhuoDgJYufX6NsnH/1LXIwy7x5eiKUQGNp8abc929Vrf61LvsuTJL8sfIWi0WltU6Hb+KOf65r00toSjs3XwCgSIrodj9dymSrS+GGVLXYw3xx1GaWYJE2Ac6Wy78tD1Cltyu6Dig5YcKiQ3H5qrs4gDVK7wFwQxSDxt+Tc/ERGG4J4mbt6hDgfywq4sOS8r7wDZIO/dLvEDim+9qff+I90eMJLmO77YivxagknvAHW8Ke/N06RQuOYvcNu9Aa7sfM2WebbjoGhO5ph0HFKoOvaCcgggaZcMLVji/PoX7006cLqa3CL2FYtKeHUq+E7RBSug3DzFcEPYyXBu6FvLoljSnkznlmoQOLDxhmrRdD/rFjBJQfiMIbkBoJe/vh1OrnlnOMA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0802MB2426.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(346002)(376002)(39840400004)(366004)(136003)(396003)(5660300002)(4326008)(38100700002)(8676002)(66476007)(7416002)(86362001)(66556008)(44832011)(6486002)(2616005)(508600001)(186003)(316002)(1076003)(107886003)(66946007)(6512007)(54906003)(36756003)(83380400001)(6666004)(52116002)(6506007)(2906002)(8936002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 49L4MmB0kzW2lkJ/gUlavAIyfa47ikKqw+KtUJkPRBaOmKiUhQAUIhnwr+ZSU7xKhCTVBrDkNMxarN5SzMFgVax7kLDfVYb4dufAlAez66KOXUvx6B4/pB007+9hgyOnU2lSe70vayAj/Obw+rxfpXmnaBwe19Ein/yUPZmL8OivJT4LLgOePZaOlKkFWFlmCL3QzIeXzVpYej3Pz43vgcWUe2BCy6dUf2t5VnPrKFG5EW1tSWZvQovOQ7QpStnALQ2ypwZSDdoyPA07cjiv4CIEr4H2iejjBYC2m2KLpQ64FJB9IiezSnGLh6reWe9yztdb8SmMz2oKR7wQeJaNE6Ci66AxtF9PNAAlTI5eHXqqYAueBtQEpOequar/V5vfwpxXBMVqbGF5qnbdsyOUCacGKEYSgqSDmwoeizAuHu1qb9p4J4RxrOn2UdOCPM46HeRC0bHsjj0/ndZyZmhOP/a9kYdGYBzy9cWE737jHIhikkevnZK3h5lb7iF57H2HNeuaFZcUeLV4QVjwPssA12CsJPozqxh0cJmCw2yOzfIgk8ef2/D/pvDU27gNakIZDIjJqDOd25ob9+z2O4JjFaQSUlaVsBTJX4IFHU9R0GfBlR3/9fgaKnknt9clQn0LdmHKa9duR14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w0QqOHSLpqApjLX/qofCaoac1m9xODlfr/ibJI= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: b80ed30e-e6dd-4c22-45ac-08d9fdf9afae X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Mar 2022 16:11:48.7003 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EIfkrwTNEznw8gR++ApRg5Uzk5e0dK8TAI98DEB20LSNflOKfiLr10MXyrneIrcC2L/wJ1X2XdfFv+PxXTBUMIDHZJNlYeAHknMsiiGLn28= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5481 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220304_081154_162554_AD3ECB1A X-CRM114-Status: GOOD ( 10.32 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Enable the RK356x Video Output Processor (VOP) 2 on the Radxa ROCK3 Model A. Signed-off-by: Michael Riesch --- .../boot/dts/rockchip/rk3568-rock-3a.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts index 18d2d8e5e693..e568ce377055 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -4,6 +4,7 @@ #include #include #include +#include #include "rk3568.dtsi" / { @@ -20,6 +21,17 @@ chosen: chosen { stdout-path = "serial2:1500000n8"; }; + hdmi-con { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + leds { compatible = "gpio-leds"; @@ -134,6 +146,24 @@ &gpu { status = "okay"; }; +&hdmi { + avdd-0v9-supply = <&vdda0v9_image>; + avdd-1v8-supply = <&vcca1v8_image>; + status = "okay"; +}; + +&hdmi_in { + hdmi_in_vp0: endpoint { + remote-endpoint = <&vp0_out_hdmi>; + }; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &i2c0 { status = "okay"; @@ -499,3 +529,20 @@ &usb2phy1_otg { phy-supply = <&vcc5v0_usb_host>; status = "okay"; }; + +&vop { + assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>; + assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>; + status = "okay"; +}; + +&vop_mmu { + status = "okay"; +}; + +&vp0 { + vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { + reg = ; + remote-endpoint = <&hdmi_in_vp0>; + }; +};