From patchwork Thu Mar 10 21:03:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12776927 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 30196C433F5 for ; Thu, 10 Mar 2022 21:04: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=e3TLyajbYFeHhvHg8lIUBDZBq0Zd+8/9xR1s1i8FcCA=; b=1tIbEwT4uXwfSh nZI100QOXBOA5kbsx5hsqgNwhkQsqKQtVr9v8dMVDy0ofy1IUaFtZDIkrusQ/fQBvGelrsTOg2G9p NmdCYmWguZ/DxKoDmzxCXzXWyUIRy+CGdKpqHCizPL+oH4TQ+MRmmrkzZ7AerLplXBbs7owfiB8Ek m2IAdfMmrLAsmHQCrmyhzN4MwEfmBSzlzz1xf8Y85bHk35ECvrBbSceIYWK0CVlG42xKuFJ/UZ6Zc VZd5WKkR3gzgkIB+gyFyTnG0S6m2QZfMo140KfDZovyCHz6FqLJRH8J3oFluQCksEUBpFuwHm2znI ael6bn+pHlGkJYG0rC4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSPxc-00E1pf-54; Thu, 10 Mar 2022 21:04:36 +0000 Received: from mail-vi1eur05on2062d.outbound.protection.outlook.com ([2a01:111:f400:7d00::62d] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSPxE-00E1i5-Np; Thu, 10 Mar 2022 21:04:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rci6h86lhYzHXHA8DV1aoSq49FxqxILy2Ypi+cFkC9SMwCZHHfy8/lIPca1zzDhQBXGllpFTp5Mp1JIzlYHmN9lwVA9f61L/qMBOcA6UmFha4NtnS5dM53gStq4lLCD80lwtsvWrjmooZGn6U7mnnMdY+tOQoc1zUODPwB5uLF/fq4SMusgy3yksrexryihcOhuxZydeEWMJawB0JmwItcORiNyyc7DMfmOxTVZB+7jBOKDlIsJP3EaMh7qSLNirVlVkQB2XoroZwwwTw8MqFypN43kbziNaShcrtkR9oPAA4j1PAJy0h//2vnA0TU3VG9nZnfI+I+lmURQQuaO8HA== 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=aoFSco4UbFRy3r5zzBqspPoQlQvb6BJwWLiI6xnv8Tg=; b=fJB62rP4azB7bzsmgfZ1TE4UApp4ApCY8kJr8ZGwaVw5DiEKSM8xeVzZTR23h17OrcbHUncgyNAHqhrLAkK4dVf/njkaUhjcWmfN2MBg79iwVcS/xIuGU8srhvJGfIYj6idFOdx1Z8cgIKysrWbPi6fw9FeFPQ4LJzMeuVDnaA0U4Gfh3XaZm/oZuV8VJV9DxaiqQRY/NbRtSrti3TU8J/sMo5XpmeRBPHgkb/pZwzhFpsLSYYS8mdjEQ0cNfpk9sLWjUalsT2o/uMxdv2FxrtZrfMYuLJb7GLWK1ejPB7czPByfti+2+gmyAq6g1VvaFYgVSlGDAda54qnGwnhGWw== 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=aoFSco4UbFRy3r5zzBqspPoQlQvb6BJwWLiI6xnv8Tg=; b=rKCj6Zn32MIxaS73VNPeSIe2xsG0qsv/zv1Brsw38madTpYL2MQLcEmNtsHJN2kQIISiYkTZGyeIrPQNTQUoX572x43m8Q2s2ujUVw922gixMoOU6f0mfuwdTncJ52LBlqZOaU9LiTgH81PDcAr3BsWQoQXXz7MzSQ895KlHHZQ= 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 AM6PR08MB5078.eurprd08.prod.outlook.com (2603:10a6:20b:e7::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.22; Thu, 10 Mar 2022 21:04:07 +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.5038.030; Thu, 10 Mar 2022 21:04:07 +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 , Rob Herring Subject: [PATCH v2 1/3] dt-bindings: arm: rockchip: add radxa rock3 model a Date: Thu, 10 Mar 2022 22:03:50 +0100 Message-Id: <20220310210352.451136-2-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220310210352.451136-1-michael.riesch@wolfvision.net> References: <20220310210352.451136-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0132.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:40::11) 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: 91d38729-df7f-4abc-4d84-08da02d983bd X-MS-TrafficTypeDiagnostic: AM6PR08MB5078: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: b4kwKIPhvaQpdhk4OSj8DxO6DhlFGWfk5UIcKe0ICrzF0nsU9PYkUWRi1GZZZPBOAujdwN2KXlTm9IhVgfRJKsumXgF/sAWCr1baZF/6KS2qILh6yQFlDBf9xhgmLxsEGk0MilUbtQHtRj5MN7H6RMunPCUVRqzfzrkFShc/I0DSOoVpyZbqXBAhPzOGoi1J6XrAvDBjJ/X7qxVQDHq1dwjGjbxXQcr0sszOrS2rQJ0W9oQ3TmPgoqeUIDjyeYBNr0spS2lTfCZ/T9IrqLx1kBJq+U3lP4M8IXTp2e8mQ79o8N7QrTyDAMasjhk/i5Gxb0JfcjEm+NzJZ85Fwpx4Wl0jLGvjenMChrC60xRMS7Mopa+YN1tyR7+sioO98Dnpta2DqU324o8trnAhvIqcdvdFPWTSFJXpndoxTHLAxP2TcWTa8C6ukLdqwfncVwvuBuX3rQ2mp7MMe+6gzAPLeZs5JsmJgAFsxZq3u+hxbeUTNImORGTHmJoDMK+ueKPyBarxKBnO2NmT8e3Le+wl7Nc26vBSqsV/9lLjIVSDiSxs6fMwxBYLaBhInZMTRzgKcq8vct+GLIy8Tr2k3MH8ze0vtLvwblpYJxN9OAgb4Sia8rtssCQxZ+PIsMjTGhjTLqYnfJFfmEIt49ejnBAwfXj45qDjm3cSFcDhbk+KaqG4D5l139dJsT04lzCnSE8+FN5ar2zl5dRr+QtxbyNM2w== 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)(366004)(508600001)(4744005)(54906003)(186003)(44832011)(52116002)(86362001)(6486002)(66556008)(66476007)(4326008)(7416002)(5660300002)(6666004)(8936002)(66946007)(316002)(36756003)(6506007)(6512007)(38100700002)(8676002)(2906002)(2616005)(1076003)(129723003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: R+iyoJjNMLOWiV7ySxk88s4Ba8XlkbRBCAqiE3Jeweq3QFhDwQl1kYuG/JX0xKu0JIFhQIZgZxAi4Paohi6Yob5DSct/G1qLEXKiLUEPgIyc/dsCMIGPLq7KR/2SwIIfsPg9QUHVLn7p7FiuKWOt77++oH5yjbGccLCR4Hy1LnX3qfODGg4Fb5hkbbKTzExnEDN3OplIxnzTcin2YFqxs9tdfiO9kP6pl4ndZrZmEiw7lI9S9flPBeCA5OIAxpN13ZK4ztLlPyuW1pWrOgEuYSdqvhvbmTQGlDzrYg3BI4pMWlJclv0eQmNUNA5kw1NQ0eVbn0CiplMe0M0yaH25tw/HF+7Jl2HsbLC2XwvQP170Qao7EOjK8QQuCkSHtwAobg0x8Z4OZg5OFIPbqPAyLBYbLYs6nmd+JVReG1F+t1fBD9YeuBM0Dh+QENKwQw+09eC6miWswd7OW6+zKs1jZlkcHZPem33dfFThi0K20mao7sBGGSx9KmUMhB6MivG5wnNIP9dgEJmAeUm8pCTr7/OHCbX4/p56PzoQixj8CspIWFa6qh7U+ECZpvbtx/xV7k+dcP8MMn+PJSbXzqDmRZB8kRkobB/duQG95pDXf0GT2TdAocN5bc8ku+FEBw/ZmPwIzEWtwWEYzOAtx9n4pTB4dkXyIOAo6l8HUGIh7i91rrL7aJ/rzMgZ0z8rp8/rGV5NxiGJMMSwzA7XZAPiNCteWnY5h/N+YsvhwePgAr0HUueI1Hd6BYJgnM3dabOjpjcsbQKi+ArTMbXNJMHtAzRqTvuKII7xS1dwyY/0SB3VUfrVpVSfzFb7GQ9E8/oK6vHzvfuXMQ7U8iylKtuWpRZWwje3acxrVAYcAamNNaZGKk2vLNuGsCBnEYrK74rrkM/3YEDKCxvwtMh+cRpg0Ghj0vmidvjSim+oXkredXxYzshPZBxfVG7dpUJPzxMoP/HpTLWstQ9u+GtKwa/42+QXGHi8TvxRwM6zal1U8ofsT126GDO2MVaw1K4yx0TqDTemhQ8TKVO2CtJYcrpRDi0YtfbOtXIarG/SQQjsvMS++B1pL3vkwl82z30bwqutlDETJQXTabbLbXvbVTEXV8k8fgrxuWO3xJ2y8HEwe5hYUAxp3Jt/as57CHJos7I+gUlqY/YOa+FTGdbrEPxTiInKIiwdgbX9qXL1pC6sWLb6k/3VrsPB5JJNBvZeT8M5eNqAHTC6TW2HRDIfM/hGkrB1Vob//qJKX/X7U7WVJet9PRPKF4wUPvYHf56gqGboezFc6Mu7iJbEd8tbWosVqEVMQeth1SLmgXpTmZThBAASgly2ksvEoYv+qwYAZzKZ26otduiiITivbtTt8yl2iDkkC/c8+q3zOKezEc6cgk4BBYWqn1eO87XPewbVWinZAeuRKcCRYKlSpV/FhBe5aCB1kw2wv/MiHGnrpJnrtunAKCuKFVaTJ1ent6wMiLAF3QePYVWlSEifc76NJV6AWpT6JAdkVKsowtgCe0VNbl1PNPqTwHKSqYvkg3prdE/byLcFRF6mCnPJuPB2biS60x7PYwWKujc2Xbm5kGmpvKE= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 91d38729-df7f-4abc-4d84-08da02d983bd X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2022 21:04:06.9757 (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: UK+ZZKgiYDxBVsmQP1gbMPIwEnOQdlkKp8n5lgFngaA4BMvwD0GYXTZh6i3gfs1nM09Yy1UvfVW7Dk5xkfchu6Jq2SBkaPMDNECM+vDwJ9E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB5078 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220310_130412_801055_0834BB06 X-CRM114-Status: UNSURE ( 8.05 ) 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 Thu Mar 10 21:03:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12776928 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 BD8B4C433EF for ; Thu, 10 Mar 2022 21:04:51 +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=fHfoyh7v59pQEVEgSTagF/0Lu4ZhfvDc/Omhg4gEsEk=; b=PRQhu9/AMuV+0C S0BA6FUbjWbhDiC2gGm67vWqRtcb++1BrDrAj3j/rujyMwAOeC9nL6ubdtFQz09/LCZvP6AlzadaR 47qZeoJSo018dUbsOFuRH2rnfe8/sWsZnZLRoDFL8KbfrnuPqwA38pVTsGJJY4oeuArZXVI/XR9rt uDJIlnGt49l/FJMGywsTL/Qlib9nKZ+UYQT8xm7YwQZyo0wpDlF5mbnmcHYAa0gf9vtKipwpn/4IF jwAvatJx1TDILjoMXZiaEytw9WqEbjId240vT2xO9n943kh03KyTJXGhv2FBHH2HvbByi5VAzDD4Y mPn6U6YnJEJnwVNiNm1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSPxo-00E1tW-2I; Thu, 10 Mar 2022 21:04:48 +0000 Received: from mail-vi1eur05on2062d.outbound.protection.outlook.com ([2a01:111:f400:7d00::62d] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSPxG-00E1i5-CZ; Thu, 10 Mar 2022 21:04:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hm/uZxK4Y4IYSJafw0WfvpYkYUlPrL8ZLyAkzbplISM4qjE2e7tYVZfMPKlFacTTBxmxX+j4qRkNEoYOl6A9pU+l5MAuNqY6E8eXUCz5mR9G1U8PeB7Ybti+S6WwaWk0tM2lL4xnUUszU56NnYCa2D0WIVi02CD9WKG3tXS6AcLw3J4fgWtn4ccinuE53K6q+80yrjQhfGfj6onFAbdZzIiZ1JDC/hwPOvMYOKVTu7LOrcCLLCokHCW+Hcg/UCFszlO2Tp4r1y5w8294QJObmLuWisH8cAKJktfQBWLvZ8tKUHDjZS6l96bBEBT760phG5WxTaT7yvsVw3dY3n715Q== 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=EJ4EOMQb8nSbdrA+/QDgB2cFOe52CKdhw3WS0lMW3fo=; b=XB6Y0ilSMUkhTX+BySIJSGOU9IhDPJKBy1iU7em7+jgNLL/LlpR4PJliQzJ0vZG4wNBnlX5OhnncMPzV53GLFnyGfAaiPZvUl2D4I3Vlc9heqog5CAhu6BxNqFfbwHwfrwP5WgUtm5b0YI6lhzrLgckc7XiaRDDtPba1HwR3yDOERM5SML4xtXiYm2kw/HHZj7moFhFFG8vyNW1BYHqkcCLCS10jZZx/jyeAa/cQXSaP3D5AEDGTT837na/gKzsQfB1+BDvQlL/yGMADq1//LpSgT99kS+qBtmOlLquXCydfZLyoHQdKVmPt0c9gEt8MoEKj4CscohDgC3AvF5Vnzg== 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=EJ4EOMQb8nSbdrA+/QDgB2cFOe52CKdhw3WS0lMW3fo=; b=SlPgi/Sz/mE0efJgjxwWH4s7dO0O2/xEmDTWQmPI5fV32y0o1jJ/xdLmp3oZxFFl23KWLqQgXNOrRAwC2Rff+T89RJezCJaoRFoYowhv/nM+t/BziSofsrklDafhbyw+kzQ0KXjjv6qcQJ/iBt7BHu9uWmkalI6d3n4VWH/W2GI= 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 AM6PR08MB5078.eurprd08.prod.outlook.com (2603:10a6:20b:e7::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.22; Thu, 10 Mar 2022 21:04:08 +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.5038.030; Thu, 10 Mar 2022 21:04:08 +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 v2 2/3] arm64: dts: rockchip: add basic dts for the radxa rock3 model a Date: Thu, 10 Mar 2022 22:03:51 +0100 Message-Id: <20220310210352.451136-3-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220310210352.451136-1-michael.riesch@wolfvision.net> References: <20220310210352.451136-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0132.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:40::11) 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: 60e4609f-1c86-4893-9d6e-08da02d984d6 X-MS-TrafficTypeDiagnostic: AM6PR08MB5078: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: IS/q9B7vrjrjhn9NS6MqWqc90rh4vBKruAHpa9q+ycQGlqeHSHwcyRXCJifWp8+kvpg9oyS4IAe53jtPKIZevnLsBNf9isrp9NHejZmTazQTIb7VKoUkfKVWNXek5U0wL/ZI9BmRxwhofVAE5p8iOLm4uz9wknObqZpnLpL2oPsyV8q7w1MAga6ktDq+M49hCcGjLJci3Vdv2tMLDDZ7IR7so/WrLJ4gtzmAH6f2PyvKhXOw6jLdUswNEMKcsSdyv4RLceWDtnv5xmTCNWZ4ZzwIQC4gn3E0JzKBWOxBQ57+jRi3TgOHV/LjPc1BvSEzCwYTmzWisXTzvw5pCW+WJlHpXBmq4KlwxkydYsWajAkwlvnvfZ2jmdSc618e5dSTwy18poUGBTkT492LBq9Onw4LzMhzgEFoVy1a9ZAifS/Rs2h12XQ9AC/KvbR29Za+ZH+tapFoEWA2R1SWnH77WeKU9T0pD2YrFqMKkpnh6B/mhuarw5NwqHhjBnlD61uwbU4X6viISJyKrpKt4VrIQUC+wFQFlIJEQfP2nUUYjzD2UJR+A6pjNRAcfXoTRNzQyD+wCtEjmssir6O5iJuMFA7ZcmTxSByv6Z+1zApSAiGe+HZ0m4/efLbbPYqBboSGCm9GLco2yEokMemvnbdfTWJvAbcdH7jVBjxA1AWkpDApOyUl1T4lRHCa4faLU+pBfmnnyyR8WZZDKr0/byQ58A== 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)(366004)(508600001)(30864003)(54906003)(186003)(44832011)(52116002)(86362001)(6486002)(66556008)(66476007)(4326008)(7416002)(5660300002)(6666004)(8936002)(66946007)(316002)(36756003)(6506007)(6512007)(38100700002)(8676002)(2906002)(107886003)(2616005)(1076003)(83380400001)(129723003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dMOrR4RGFJYlQI1I1VY22ouq23yaB9nZGvavf1rrhIUPw6pZc8ZryK6U1JzSrnzDdHVh/ccsBEL1KLFx/zlM/dTuIrqVHyD2SYQGtDOOjLpi4anW5sH29F4oCRaWGrDi3GYwY6m7zX20FERzuZvvBsGkwueYMg/5B/hPLiId7hYsGwXUlWveS/RJdGbnd5z9ADF+6iz/6Y/h5GSHVW661N8nXRSVBzZDdrnSEkJ24IyB+OQ1Innaee4jXrNj7P99rR9OtUx2qnk8pWzA0G1HCWmkKEkdO0ABTBW2ngPesvspF64lV9Rv9E3U+GXfPz7ElyCZowQPhF2qHljTsVe9XiD2lDgtM/brHyIIzbxCZ82nlCa/EKh14QPNV/vZAKcDlMjnuXmq0emMnAKl3bDooINWChB0PdCe0+FGrFo79w1s7piFyncUQWAxMO8fFgU8mU0P7qnI3lRmpzE9V96kgx8yhrxMG53f8IJXT8ZMhLuMkKZz7NktpFzA+jVOix7Qb9Gbe7r1s/6HV9qhfzq/WikAST6a/W//lyiEUAmKlMh3LKqL2QjfkF0ji5tdxBVqyvKqyzKA9i5hqqdVlPyjFjqHYzOwElTBfbKsbvZiS51HC9a0EGbiMymZY45Bmu5EYrRkVceNswNQtC94qD3DdFDtzNerUdsCPc8iRopkDM+Jz8nsSX3uhhBI8dcQYoDELhpBYlzfsa+G+CX/wZnejuh3sQu9PBaMSoNavTvHgzmj3Hc2VjPcMwghTqw7Rf5UVEx8wfntOs+IM/dSBREHEeq5Xyd51x29NqxTWZgFJmYpR5pDGnVePT/IfoucfhwiTYFC4N8IiQkRHE7r2D/THN0Nv1FvmkdG6gQygEyDib6/57bH6d+3/r5FLf17IOkupPWIlbAyQDs3RYqmTeBhFeDeKIYNM1wHTAg5DOJNPUT6Ui/xWg847uN6407Un49H+Hiegyfa+rbcaMgb2fm4rv8qEszy+5AQrJ7tl7HUHQIDT0vMAV7fPg82l1hI4RP8O1yA70GV8EtiZi0em3lqQl8rbxto7qUJiWyZs0BKDyBBJmJb2R1ADYLfsK3ufTaa2/3QDbuwHEL7gcb33Z9/1cYVMmhp8cjUodXxZCPeVq7YBpGmm+P9tdMtVLecZ27HMn689s1wQbPu/HZo9t8bTqi4p9KKU2zb9QCvRkt04d37gw5KR9MCugE9eZunwScErmA9AMaHNHikgckjedWarwpyxaDGLm+x2wo5xLMOzq8o9wqDc4+He0ZeErNcxQ1Zz/IqYJwQOPpE6DJKBmEls+iRRX58jZcfyjbyHvBl5rDc7WEfvLTlJXklRtjDuaFMa+DZCSUY2n5fFfirj60etSfttZVLWiHnLHsywc0VITg1UnRxgZIW66+na/i80YrOwmBSb9jPr9ZbZJIDxhPSxnrysqnZ4S7htogxC7iSoUawUd46JLemLkrjjh0gplSRD1ymXdxse22ssSPdmEoMK4toib7zVguUxLiVBPA5RDICI3eNTEJsmBuvedrD6CM91x/NZTwxV4Lm2QZsZcOgKaPr+wHJR+xOssuB/Ww1n6g= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 60e4609f-1c86-4893-9d6e-08da02d984d6 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2022 21:04:08.7881 (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: U8qu3TeyP4+24rJYO3mTP/HlOmZfVpdJnRDNLa+HmF1x8hRG/slIM+GryHNFaGzcyUaYQkrOHs5V4yqhlVfeVYoTl4aC2kKjbEeZeNCTx9Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB5078 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220310_130414_513328_DBE08441 X-CRM114-Status: GOOD ( 13.09 ) 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 Reported-by: kernel test robot --- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3568-rock-3a.dts | 501 ++++++++++++++++++ 2 files changed, 502 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index 479906f3ad7b..5fc9cf98473e 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -58,3 +58,4 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire-excavator.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399pro-rock-pi-n10.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-quartz64-a.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-rock-3a.dtb 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 Thu Mar 10 21:03:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12776929 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 445EDC433F5 for ; Thu, 10 Mar 2022 21:05:20 +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=gSZ9+VIPv6fEXE w6TAkG/uC5LF8/ZiNvk4KE6n6pLGJSp2obCVWjNaoG44x/C/6UJGnj/hyZMKkETIEhaMMUaydNadl DiCsxizr9nwgSWc30j3o5jHCJmiIl9jgNCG9ABeZPla7CYbFNmJkofXkg/n3AlZfaX7tB8BEk35Yg sM5ysDSY1yafM4cucLu4ANrdEOXki0DXP9X481Ub2Kr2WD9wZgIg4311d27vXfJSRBtG31L433yQR P2HVYnIdYEC3lqlLWV1GiToIAPR3nTdstHMyzR8l+r0d7sbLORgQ6avr2TcwSHydWVMpeeBGhj5P9 scWi97+C8G+b4yPrxKHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSPyG-00E28E-U7; Thu, 10 Mar 2022 21:05:17 +0000 Received: from mail-vi1eur05on2062d.outbound.protection.outlook.com ([2a01:111:f400:7d00::62d] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSPxJ-00E1i5-1O; Thu, 10 Mar 2022 21:04:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dzaqDztG6LhAOsai6eFCrDHD09lCIS+EOo3bodu4nceyuHtQ3128k5AMLda6NcexcbhXdoB84X7N1ac9+4WBIY+YM6gfls/OgLpSCszcZ9wQdG4I0kxXQ2DrCn3zRHgEg73lj0Dvj2octx7jo/2bFBQM5tN5z/GMZNxNZnfQk8LBCquszFG4u92jcBZvJxNjG1yoyQojHPyewGzTw5xZiY7wclE57pNQzFSLzo5GebO0oCjl206C5/ugdyPJYztqnzQmAH4NEz8vOdlisr+6TifTg1XIOZCC02SjSmqDRjyZWmexdzSMGSIigE6EJw2mbyLsIcfjq+tKtKVPRqrQLg== 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=ZBA3lbXNiDLXCyHcpg4mQx7e8duzlyb5md054n4QkN/r/SPbDys7Nh4VeMa/X/kR+K9ykb/6Cwpx521B+8xpsT5hzDsrvCcFxefBz19uTd8L0wTMTUX6cS/4sKRETJrfVON8wMv8zhXC1UJ2qfdqsfLQLJNbqQwWGraFVwPSzGUdgeb7g2cLoSXQzfqAylny5j0tJBrPXYfV7ftZ4HFa/8ES4jUZMb7H2WwiMBfck9+n6LxE1T13eSGHKjaV5jzxyRlMvCliiSf/pHOMrsfwB/yEmZGUJ3o0d8tqkEV+KpLOEwLK2AUau88QvgtdZAuqOKpFj3ijSiDPFt9f/W3RHA== 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=QBlyU9Xs9z9eT40UlwBZ4coTdKIF6gQUAqQ3t2M+/xMHH8XeIbOTsEJoK6sCJn46MWkWOY5LPJwtkvJWzP2YiEXj+VgXsKMPUyjhE8bb2xw9ZWR2IzFY62N/r7ftxf4Y4Mbf+j3J3HO6qvpYvTZrX+XN6H6UTAO5BhAkLTV+T1Y= 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 AM6PR08MB5078.eurprd08.prod.outlook.com (2603:10a6:20b:e7::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.22; Thu, 10 Mar 2022 21:04:10 +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.5038.030; Thu, 10 Mar 2022 21:04:10 +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 v2 3/3] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a Date: Thu, 10 Mar 2022 22:03:52 +0100 Message-Id: <20220310210352.451136-4-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220310210352.451136-1-michael.riesch@wolfvision.net> References: <20220310210352.451136-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0132.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:40::11) 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: 4a12c305-f5d1-4c0b-1442-08da02d985f7 X-MS-TrafficTypeDiagnostic: AM6PR08MB5078: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: aSY9x0XXSjjvxeBB85Z3KM7JNlAsk+EsXL3E6wX/gk+fLp2j+Y14zV6nsxIogjuzmyyMEB9El98XoSS1LkFba9Zuq49r8mXEszDtKCeJ35ooQgz6HTJrM4ZDlDtRgOfbce8oxzovsxxZtU4hwoM6irtwK4yNAoVwmIwjlAwfmEjausR1SOvuRHFHrVTlHaXk6bao65xic0KEhiwo+QxEddvPOM0DWJA0pjRSQnFuT0qBcJRkQhQTydUvIsBTCjGZY/KOJsm5A6oVmOVP5F+9DjpKh8X4KTbBK9VfI4XEnFxBby3QXpTwU/ZYutnk/58a0FcYetbHKL8U5Fs9ITV4dKiNqJITZA7FD/m5GsLsi2hObcKLSGe018kZz+4Ve3U1MI0XTW9rFtS93jBUQPfscm4TJc8CKu3F+gOv/arsfYka7d++pfPsCCXBR5xRWiriU2IEJtnCgEo8fzUTundvxkRLDNEa1Ji0R3v5uHO31EvFFlBHzypVJeDFIZ4Rnor3R+aN7xubHKxfbNVa3giop9IZRrEYOmDjDLzpH944bdIP2vrn+7Xa6S0AAS9oc1wFPvPnSeex9rnbQwO5H28LfSHZ64emTVjl1yKVTJqoZGG4cYkDTs0h3+aMtVZcqurUpM+7mH4uDS6VkXvJOobseg== 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)(366004)(508600001)(54906003)(186003)(44832011)(52116002)(86362001)(6486002)(66556008)(66476007)(4326008)(7416002)(5660300002)(6666004)(8936002)(66946007)(316002)(36756003)(6506007)(6512007)(38100700002)(8676002)(2906002)(107886003)(2616005)(1076003)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ehyOSJ086Re8uTfWd5OZf8nnK1eZXA7QTBBBeCrx+0RDtmWWjR3f6fnLquB5no2b6SIi54ewDokeBRA5qmOu+ebXLi0Fg3rSABgHCQil39wi+Pkp3Yjrqv/FEw99JV1Vda5gJ4NXBG9EzdSQThgJaCnoSVtyx7DYlSknoErGEhgVk1meotCbUVPTE4XrdEO+6L3nZo0UvAeNGbXa+Jj6+C3d8kMl7rdY3GNNMqPQ+3eq61MbS1MLgNKsF4Tm9xedCo5t0gTt3UI7Sk5TAx7MrchNNEgZYFi/tine5+HXz4f/4VWUTIvF8IU7ZyTxd+o6O1DkMlwLSrizDaQpfKOccFY8Xi2wcSHJU+luy4sR6mU+R/j3+UwvWo5esHmgbdcuTIO8xz/DUEUO/qlnCMwqQE19/R4X9wxPBMV+vYiscklHoHNMBGYDr7sbP1YsFEyfmBu4hCSm5MZcmdC9i43TYplmgMe//1viLSGt6V8WCZ0Hg9fdipC/KiTJmCfKexAqujHeHNohfasRQxEm1KKsB7BvZ/PQ55XxWDQ9SlZJtqyG7ldvcuhs4IGYPkG01GWo63AMRe73izyFvGDey3lezX/WtbQAJk64LpSdT+zo+5yfvNFDVIoK5TdcfEvQ36ozTfSEdxMYWcKKdXg/1eGLy5Zs6OP470Kjti15cUxree7AJB9fXiAJNYq5yCZBHL/4s1oxpNm9MdBFF3bRep1Bw8wv1yCfJLob1Gy7MZFN8d/6EMa+gz65AUJrMd1Lr7IMItOy5Ko4MVVfsGBdS8qU3AbMlDyd1kh2KluGwBTi+5Lv5HwDXPYtOV85UA/bOyPOcGzTTBpOPavDanvEl7VlbQHSVAnQwVxMhq8dp5AHGWIV8FwbCIBkNK33LdZj5ZbtF6KE4DmGCNO+KXAsPd90hpjrw9wWWu7ubweG2fyqzRAqMCzzvDkYPNgaNcpMPeHXPLvOotlVPefUAn+de9z8j0JFi5CiJXpecMWT66CgGz3ALJCN72ItLrBfu5KhTVLLSPtkR7njLSOihBFXdjUXTAvHnheB6F7l+yi69KpMHB+0kjd7RPnGui1/iCDH/mtrtOjnDo6s6BrHe4LkAZXU3pddtZJui91xiAKR/DcZw+B7hAwNSsOAsnSD03G4sAPM6cO1jfZjT4zG4bZmg63Jj0iv0w9cASZt0GvE/9WyDJo9L84Y0jc3KFn0r9fua71XRfWKS9XqBjavfEXamcZRKgyUO3dLgCrz+T/XWoLfvfFHORVB7GizNovACo7+EXVgCssC+RCBwUCebt/QrvP7C+hnL13Qch0xEM+dwaj8BEzFr9Pca/hG72MweGz1HZrPpdSJ9H7uW+WAnwfoe9vqIRZpFiNgFD6LDkL9ognSckkNZFhKQdbSed7guPonmbOVx2KbmG0U7ysr0kK6gVn2GeIP7WXeaHIzt3X3QUTnvQHiGeEi75BiUufJHTRSWG2GFqvAzf3WlK8M49ge+YNDsynwXeqZNNyBY0EcLabDs/I1TWO4uKf0JycPI9EEI/x0ktEhBDbEHX0ghj0xYYAJ4mfpjyFn5r5vkPg7DZPSMfc= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 4a12c305-f5d1-4c0b-1442-08da02d985f7 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2022 21:04:10.6317 (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: dcNQ3ZorheHV3LUc97MvGqRsaAbucSBIRCZ72IHw+8vhzV+QgjMimYLQcA/6vWRupwXUZYwkk4gdQwxvj6s8vn1CNB5OZ/uUND1B+XbKdSw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB5078 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220310_130417_107696_4B6B2E49 X-CRM114-Status: GOOD ( 10.36 ) 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 Reported-by: kernel test robot Reported-by: kernel test robot --- .../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>; + }; +};