From patchwork Wed Oct 18 23:18:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 735272 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0AD93986C for ; Wed, 18 Oct 2023 23:19:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="nB5PutnZ" Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11olkn2020.outbound.protection.outlook.com [40.92.18.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DE963AA3; Wed, 18 Oct 2023 16:18:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gEkE1xTQ42Y43wPqp57oDUHbpT148Ti3jwYoQKt66aZJmDOzeIPhy2HrGiu5x/f52ZrZUVhk/zfvS7UWUDU+/K0XBV1mnUCoa97eQ6lUPW//TLtPDiiglHTZOSpGFALUGtUbcjqai9NmlfzU/psQOqBN54uW+Vp/R+r+qBaaUENhukYKxrCso6dKWDezrpHSzeuU31XjLMyZWuRRyyhMrmZvvFlx0jY4CShp9R4zron08EZZfrGklL8LE0nOWFNguPo4LLU427yCq8iCOBQqYE2EQcTu4eghMPBePNmc95ngcekectWsCEKIAeY7Ei/PW2UcZKc89GcKxCCgMZaMHA== 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=rr0hI5c4xS01/detVeEoI7bR3LBYOiSyRaJQUEvqjM4=; b=KHvW+m9i7Q5+41rr+NjNdr4QgoA3+oWDPeX8itRAOjWEhV29jN4O0RnhpYRpmBfdK32NdPMbrNPQEdTjLrEL2dSkfzZVRQW+cnuHTPZq/3VVE0tcBAJTNgXIPBdpWLzdKaa8uCXNgDRGRIE+6aZyBjyidD3/WqYwD3QmavycT/LK14BgwSmL+qhBbpcfeGKsYP70vhQlQeBXfMxcCjxfVCV5XR062bvgDCPt5Vlo1BFcMUGh3URim/Yi7xXo7uSeXhpPrSb7YQPsBGd8vHQDAoVP1UT5iVGM8xM4Dq4HPZAiTsnE801y7TegSW6K15iHrODTppu1UHrRkiw5Qo0Xzg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rr0hI5c4xS01/detVeEoI7bR3LBYOiSyRaJQUEvqjM4=; b=nB5PutnZbSsZ6XT04ej+Lh3LhYzqAzQxWk0gJJFqoGm0LSQIeQFXT6mx8D4Sj9iicQrz4h6RVHdzyPljdwAK54hKaKkeOAln/843B3AOlVY5fFAH5xnY7d1lnbdL9KdoSgdO6+j7an/ZzqmioX2xq9/vAmm2Nbuygg126ivw9qfjGWzhw9KjuepZblCJCkUtm+A857icNYiG9/4u3N4HGDX7JphEzsWRBjs0GV6x+ojrk9bipkE1yC8t0cYa7nZNkk2XEuYHIBE+h4JjDZSo7imqGPxRdwokecxPTv00eH+4CFoGogANqhWzCSa1OST0HY6CQ4Dh1yRDLIWqwDkCrg== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by CO6PR20MB3649.namprd20.prod.outlook.com (2603:10b6:5:345::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.23; Wed, 18 Oct 2023 23:18:38 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263%5]) with mapi id 15.20.6907.021; Wed, 18 Oct 2023 23:18:38 +0000 From: Inochi Amaoto To: Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley Cc: Jisheng Zhang , Inochi Amaoto , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Krzysztof Kozlowski Subject: [PATCH v4 1/7] dt-bindings: interrupt-controller: Add SOPHGO CV1812H plic Date: Thu, 19 Oct 2023 07:18:48 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [dYAo/k0Q2Zlmv4hot8Ht4F8+gOYqs66qe1zQW+tpqUU=] X-ClientProxiedBy: TYWPR01CA0012.jpnprd01.prod.outlook.com (2603:1096:400:a9::17) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018231855.28472-1-inochiama@outlook.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|CO6PR20MB3649:EE_ X-MS-Office365-Filtering-Correlation-Id: 90edb99c-e0e3-4c3f-2bfc-08dbd0308f49 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NqSZjcddhuefeC10uSWhWWwJGjuJ3jAPGx4q9dBgN8fYuHzPg3XhrgvmXKubjA7EExK74LMoZWPH9cLNkJut5r1ijrlnD+JvVO+gSnWEMY8dqNRFewnG8+siHlZtxnXkEDh57jVA7WGwz0fyLrhsRkAQK7YBsVxXaHQHmIoNpxfxFlfgqQ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NcjBOreoC8srFFefcsXqK5WUN71aW4uUvbt5o/tDiG6ebCp90KfHgzfIwehsh5A4bd4eqLn4m/zX1URnPe5KiyOgLTWI7NtSiDm/gxWpQy/wf9w/S8iIb4HnLtGNOo6Sv6wOGWqFAoJjXzFMdbkzwNj/hcQ4JE29gnFGnwx1j1ZFmZgxk2R7ua7TNSLN4KKdCPKJdL6tqtkXEB26gpc7Jsw70HQfWWyJ9Sge3P+w65TrhAMe26Nhe2jOFo0tE2aw4pSOnyv8YBc0/TDAINzJTt4E3sFtTSfr2uJMlvR042Qj92Nz+SXSUUU/TwRNq0Zg6ftqZ/3sHo+QTetqxZfifZKfVCFIEZVJyeIFrfGZBnAYDosdfjtUaDcfpyTdXsxM7In53Uq1mEz+VY+vTZXIaUGDTbh86G8EhLYJSYvSDkbfcuvI6fFy4chiQSqXcDdhloopj4WaalsxXIj28ILoHaBKC8+jjGHsNCwm2DiDbVSCiZUb1KtX1WAwmedFSdsBo/VgxLWwAqkbPR1xkv3iqq9WRYboaBvcC0enl/XRT2oDtiXAjhQc0+dkmSo4VTF/ef1Rh87zfj0MMRAkJQX4lZNpDHvvs8zHm+9CUbRLIxPV2GvuHAQs4v98iTCeH4bIRww3PNH1doz5HAx8Mo9TFsy9gt9EW7PUCnTwuft3K6GfjUx8LdwkKchKP7aftCg= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90edb99c-e0e3-4c3f-2bfc-08dbd0308f49 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 23:18:38.7724 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR20MB3649 Add compatible string for SOPHGO CV1812H plic. Signed-off-by: Inochi Amaoto Acked-by: Krzysztof Kozlowski Reviewed-by: Jisheng Zhang --- .../bindings/interrupt-controller/sifive,plic-1.0.0.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.42.0 diff --git a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml index 0c07e8dda445..709b2211276b 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml @@ -66,6 +66,7 @@ properties: - enum: - allwinner,sun20i-d1-plic - sophgo,cv1800b-plic + - sophgo,cv1812h-plic - sophgo,sg2042-plic - thead,th1520-plic - const: thead,c900-plic From patchwork Wed Oct 18 23:18:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 735908 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F234E1863F for ; Wed, 18 Oct 2023 23:19:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="JQgrNSxO" Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11olkn2020.outbound.protection.outlook.com [40.92.18.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23304128; Wed, 18 Oct 2023 16:19:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JuU5RQljphUhji5319HWXuwusi5IeLmQ6CyR6FvB5GRcckEx5uwcxhuFO3WXquoWpTqMV/y12ceWDU/9ZWINzNJIjyFqZeHgL9A3xsHRSGUmZJLNlpCGplRn79t5eax5IEeigXjhaIfdDOFBbpftm8eEuabLuhZVijRo0AmmYaSFTx8YataksZFDKeZRONU3hRx+fH15Unk/9fxchxp/VHMr8DjSwt0KZuzMRCmEWrO/OgKccvaX7MfchYAZVKmyJ8R/hLHJ9/x4m5t1baYQPY6eTRKqG21J8spNHI+FtLmXfs8YJqnjE66l7hmUqJTGndBhq6rq4EbwLFJ8cMFItw== 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=uRHRodl38TgXozx4mNNUVZhGvvZTDSwVmIIt8xnJlBc=; b=nT9NgN8CJqhRb4DJd8SW8sGh1Nyb+OThHFOechR+8iRpsmHeHXOeS3SigQ5q2u1L2ZlNP7qrI9hNOlwPPyI+PYNo5A9I6klBJ3O3tYD7KqaNl1F/6E+tR8fG248lCEnGDqVdi56fvHsGig2eFxsVFVzZ+1Au8AJ2tuvpcYm7J3BqGvm5gOhZILVtD4iTNpa5pWRoMK3Y13TTZAg420wFvqQXTqGP5j9niXCvh9uNAp+3jpqY2ihAQ+Hapnh4Bohutt3WUt0xHJJI1PNTy0bsjJ83rYv0lFT+WSNsM+ncrlR3G6zLV4xUuuE8/gYUh5hjY0X1Vd28jdmG8q7sRwAUFw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uRHRodl38TgXozx4mNNUVZhGvvZTDSwVmIIt8xnJlBc=; b=JQgrNSxOfAV+Hhze04Cowe2r/76gZlD9m15Hwy+vIltNOx7orgntItDMRjz6MQM8QTesFYXCB0UXg3V0TNALsz0Sz6x1Xh0Y+79/jpYnJ0qVbuOrezaZA0q6HAWGo0DnWstJ3ssaVHH78m3NDg+wwWa2D39tYTdciOrLeJkBmChMr0uYeD18MBqMjweBjyS0hzZwaO4VsWl2Xn34YAsSrZHPa2/c7DsBdfYfdQzcE0tr/DeM05GQj2HFcK58WFX2bsSJLblPdz55L0AfYKso2z2l/AuVTRt0E7LwteXstGVNbgDbwTtNrQ9+hw0dlqtETfE87/0nvGGr13EVQ///fQ== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by CO6PR20MB3649.namprd20.prod.outlook.com (2603:10b6:5:345::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.23; Wed, 18 Oct 2023 23:18:43 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263%5]) with mapi id 15.20.6907.021; Wed, 18 Oct 2023 23:18:43 +0000 From: Inochi Amaoto To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Anup Patel Cc: Jisheng Zhang , Inochi Amaoto , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Krzysztof Kozlowski Subject: [PATCH v4 2/7] dt-bindings: timer: Add SOPHGO CV1812H clint Date: Thu, 19 Oct 2023 07:18:49 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [TanbPbFbKj1dB5aENiGO3/d2tcWrCtdru3DerviQyQw=] X-ClientProxiedBy: TYCP286CA0101.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:2b4::14) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018231855.28472-2-inochiama@outlook.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|CO6PR20MB3649:EE_ X-MS-Office365-Filtering-Correlation-Id: a9a6805e-ce80-441a-bfaa-08dbd0309222 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5bfmEvrYuCsza1R9Y9YNHaF8afSGeXPi/Y+tjqP4pvo+U2yZmRr7Iy4puLy35CjXs+v7TT1rxdd0mZ1xzcFSmFKR4aXIX/srOZtr+DxQSx0+4/i2Dv4PWKSjVGCnUTHjdLhQTRVC7EM0VYU7DlAWZfgFz5HqqRXm7ohghuw+UmmpVBUkqs0jmICsnUXwTX+zgu1J7wbnSE4pmLYiOdL7c9uWwjLW4zm0eIa4DgssklrKDzWwe+f+NoXmLhHoz9NfBrCoa0WASdK4q3Z+w3VlSIb6hiomOySW5QLjCardCBQayC86gxvQ81Zp3iFslSer7tHFjo+iiZrlogywyPX5oij0OuUFL+NiE+0lCrCRenQlhvk4J50RKOnZUGEw7w/6JMkDJK14PcrO3+9zUMlIH53OpXnaKN4w68K2N6/sBuF1sRMA6PgFpfjCTTaVuG72tERW/lNWaRBs8T7y/jIlhvtCkrVoQX3IwkgWtOmw180Id68TAj5jVU4/BzguKNBAS4H6wURqu+gEsig6KXmpi49+H+10iUNqSq/E1xkTCwVqMYC2AaaKtPAa8MQhA641M9jxXo4leUvo6I/cCWGL1S7bXcHFxzioE3v2iwWvLC27ujEs30/vDHNDqGRwq8+l X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: w4oVfYG1G4P4VhqUIUQpL0XTuTMSPviGOurn2D4ccl6RlTsdK4QcXEFizhnrZSOnig73LwvdkOIQRMxKzgTT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u6kq96QbmDZuhqi6+PgmBEuaJMTLJM++yjgo3Q1DsWXtsXECxXhmxG6GGdiD1D4NTgZdnslgVof1NUL7mq8k8w2Yy+bjaJOcHB0LbwIe5z3KGs= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a9a6805e-ce80-441a-bfaa-08dbd0309222 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 23:18:43.4451 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR20MB3649 Add compatible string for the SOPHGO CV1812H clint. Signed-off-by: Inochi Amaoto Acked-by: Krzysztof Kozlowski Reviewed-by: Jisheng Zhang --- Documentation/devicetree/bindings/timer/sifive,clint.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.42.0 diff --git a/Documentation/devicetree/bindings/timer/sifive,clint.yaml b/Documentation/devicetree/bindings/timer/sifive,clint.yaml index e8be6c470364..4b6c20fc8194 100644 --- a/Documentation/devicetree/bindings/timer/sifive,clint.yaml +++ b/Documentation/devicetree/bindings/timer/sifive,clint.yaml @@ -38,6 +38,7 @@ properties: - enum: - allwinner,sun20i-d1-clint - sophgo,cv1800b-clint + - sophgo,cv1812h-clint - thead,th1520-clint - const: thead,c900-clint - items: From patchwork Wed Oct 18 23:18:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 735907 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 341BA39857 for ; Wed, 18 Oct 2023 23:20:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="CW8XLf9M" Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02olkn2069.outbound.protection.outlook.com [40.92.15.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64B493C10; Wed, 18 Oct 2023 16:18:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jPQy9SlJ3X3/J3EHsstQvxHFfEavZylp0slfWnXyZE5uWTfRPDy4NSQpBe+KSq7ENyP52kPwtWCwwpLymhzk73ZyQOe+Geqla7x+PKSColZBwmfAG7dKFJwM37t4Ga7+ZELNSVjCLKpfB32cnAKU1+bHfq8EKNXENoPvn/jE8tMFaI3rzJcDkQe0AdPYWokCTVEIDSZDPOHiM6i3enmr7oME47j3hPDLCkcQb2EcDSB5xlY5HrfnsysOnwRgMtwFCbcYsWQclnwIWgjMNMXDpIwGh0LHNhhVaiYO1YQTAiifIHgJZBgJbmUOUQ60V0ibVSUVLYTdG4tA81r4MxAdEg== 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=XeYWlTYaJOGIiEWkZu5rFXcX7Q/TSa/S03ztRgroNyI=; b=eT9OSrhKRaOHq7YpyQKHgVfs6/bCnby0p67ILPTTnrvgi13LEMQ39kg3EP318WqEMZdzcBNiFtkUCTj2hnlr4yHg3Zunrkg7bCLPOA4VFiZF0U43gYPbzVwR8QMP3fkBpQHEOTcm49JdlYzGK00jL1wqOEHa5PWjrxfUYCiWELjFQ6WZCOYhGxQv0RE2SuZFj55ni4/uNB9qoT7/po6lgsU3jqm4N/XwOSgWW3yeOmBW9Up12PrK4Ap3X2jV5hcH6vLe/TvJpe763EMfnY0w16uaIfwlXL4y96NGzUsByZb5+3j9Bh/PO3y//g5M8ip6L9taHuCs5l/mBFjPGB6FGQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XeYWlTYaJOGIiEWkZu5rFXcX7Q/TSa/S03ztRgroNyI=; b=CW8XLf9MHyPdyCFqyGnAqsbZ44zGbbMNmp1YSnUSpg+8P7jep6ifPRJo71+Omb2DfxCWWE6sC4bxJn0EhGDivf6FDcKQvbcsUc15uP9UPvP3Yqfxu6CWOnbBpZJim1xCtgsTlThBQlIVux1TMTNQJk+C/8Hw5ugyCZzhsSgUr2mQWlhK4WGTv4buyLgMzupaxqKnO8eweNNNq+ZS6W0a+g4uiIX3VkGE9ZUjgJHWphIpIupk8NHY3F8u4bBuYDOgoSHReHksgo8a7u0JFdbq0OwAuYeUXUQTEuchPZkBxlKh209WWaTrFbnHVQMMeXRlZMMjPNCLP03o3uSBi9+e2A== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by DM4PR20MB5087.namprd20.prod.outlook.com (2603:10b6:8:8d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.37; Wed, 18 Oct 2023 23:18:51 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263%5]) with mapi id 15.20.6907.021; Wed, 18 Oct 2023 23:18:49 +0000 From: Inochi Amaoto To: Chao Wei , Chen Wang , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Jisheng Zhang , Inochi Amaoto , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH v4 3/7] dt-bindings: riscv: Add SOPHGO Huashan Pi board compatibles Date: Thu, 19 Oct 2023 07:18:50 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [y9B9I/G15ojI3fGqCG27vtUp9TDoQN9tQpOex+hILlg=] X-ClientProxiedBy: SG2PR02CA0080.apcprd02.prod.outlook.com (2603:1096:4:90::20) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018231855.28472-3-inochiama@outlook.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|DM4PR20MB5087:EE_ X-MS-Office365-Filtering-Correlation-Id: 72453cc9-70de-4aa7-8631-08dbd03095d0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zUtjrwI61rr2Z71KgMNUOPKTzK3rROMF0IaaEte00dRogcEdH0wkL5uYk02/2k4P0x8bGnRCWWLVI+5n//6cJRp9hr48kPCw6bO4ugQhI/z6YHxha1tnsD2LMmqK5MtY6wnmg1gvV9fJrNiG/+nurAM1fhT8kWvFr/LNrHW9BKWeghNKz3R1mnLtuRUiCqHSTG+q2WkeyfrYnKS4lHBMorAkUtup7UybeOycJKYeBbtw1t3kda5/wF4BwjftoPzlR8vMB4MvJ1F6Q3whUUC3/zMbsgXBfimLtf6ypNU40qInv5Hqj7Y7s2pTnunlZW5peQkz+zddf2TV0jv6aYdTODfGG+ZU2k7YzVThdv/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5dV+Z6CvB3HWBXSeyU84vTimjD3KiBqPSR1EBhz3lLgmuFhtRYZsSTdk91QMk8J6ulFV/n2vtXnjRaIc5+KtiJWY2mWQE+7LIAOKDUUiEUIU6tefALPduaE60+ETvH9PgNVABa1c1up5A9Lpb1yOTNJT+j8Iz9XVkiog2xU5L7enRpeQq1wXYxH8ZSUyztIQnTNwJFq2216+JYGj6U6QrDfDAzRBjnJl9pNlmUWb+YHyyfoJB17lhAzY5lHZZaDrMi6JS/8zLT3N9GK/z6NNfdiVA6iu/38JV7OHfdDS3WIVoEekvaCAUUZQGqiRzajBCDdCRxI5bnmDYrumIel+gdTtezdiR344cdHVzdg/Zjv7QNick0hyLqmd+Jan8VOR7ueiBW5rE7yq7Vhkms91gA9zPElYu7M3FEcHsKPzy4Sv5t7UHL3otMbIcgNdjwZK765FHQsx0Px15T4uybR4COBRcIdnq0zrM1z5jDFO9hR1iI62KoikR8FZdwOnNLp8jyetXOgopDfiTLaa3KTf0Eym0UcFlLGmgCKnnyK60e2Gcc= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72453cc9-70de-4aa7-8631-08dbd03095d0 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 23:18:49.7765 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR20MB5087 Document the compatible strings for the SOPHGO Huashan Pi board which uses the SOPHGO CV1812H SoC. Signed-off-by: Inochi Amaoto Link: https://en.sophgo.com/product/introduce/huashan.html Link: https://en.sophgo.com/product/introduce/cv181xH.html Acked-by: Chen Wang Acked-by: Krzysztof Kozlowski Reviewed-by: Jisheng Zhang --- Documentation/devicetree/bindings/riscv/sophgo.yaml | 4 ++++ 1 file changed, 4 insertions(+) -- 2.42.0 diff --git a/Documentation/devicetree/bindings/riscv/sophgo.yaml b/Documentation/devicetree/bindings/riscv/sophgo.yaml index 86748c5390be..9bc813dad098 100644 --- a/Documentation/devicetree/bindings/riscv/sophgo.yaml +++ b/Documentation/devicetree/bindings/riscv/sophgo.yaml @@ -22,6 +22,10 @@ properties: - enum: - milkv,duo - const: sophgo,cv1800b + - items: + - enum: + - sophgo,huashan-pi + - const: sophgo,cv1812h - items: - enum: - milkv,pioneer From patchwork Wed Oct 18 23:18:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 735271 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCD7E39857 for ; Wed, 18 Oct 2023 23:20:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="kxQMq33o" Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02olkn2103.outbound.protection.outlook.com [40.92.15.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8105D68; Wed, 18 Oct 2023 16:19:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PSu7biGIQ12z6UZ5ktxJ1MywvbwTPirUet9S0n89ZSiWT3mrhf+yXNjBAlSCne9bl+lGZ2sLJSzNnaBD6VtINQzwIuuQ/sT4nZoMcAibwkGWVHgrdv+ffO5P17LHXnwzdA9+sOTWiZA41gs2I7g3HcYsRZ+zEI1QHgSRd6MKZjP9BkBzYOFLuQkQVkdGZhtatm34i9/UU+vDjDVCMgFuw3WF3sH6ajJyAgNhz+FdmRDFOedAQxVzcM2OjKfu/VL8KMEpemAugdUsQ/J+FrwZWoLe8t24sM8pbCrJTM44vp05z7BDbLSxHMGqxlKsc0PvlEe7+8vnivo5dr3Gi7xyxw== 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=Ndkk0zNLuRzhXI9J7ATcjm1Eti7mSm6Qk3vViwryehk=; b=W1OZCV0Gy7JI3/Nqw/wpT0x99ToRnPrk5+W6P2vr2/ZwLqS75nGKPQu4dyZamqD7pFu6FAwqoVitOont7tYdFy+ibxudBunOJLsvbBXQK0+cdd0GCpkq7fIsjy7nSXuvh9kfzACk3FymFmBBvK6Zf4fG3nobLjdLkyQMUFUDpWoaAMM5cOyBUP3yKNXVhQck8KCXpm9rX55bDeASPSvMn0XeHoYfL7lSN4xZBSEVCVCtO07agjDNttClBrUcKD9HCpodDE0nQwGT18dyvxvitweJvzC7983HDK162D3PprCyDR6uhirfaveYQQPvb21sle6xg6ETURtWK9mPQ/lo+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ndkk0zNLuRzhXI9J7ATcjm1Eti7mSm6Qk3vViwryehk=; b=kxQMq33oKkwjaSctSpBesOmrKab+o6ldTVC4X6YHjuQH2LKvjAhpOJC4H+EigCzahe7t9clhOIEtAmlSOoDxc1zVx3uAPQ/hzW3tihspx8KPyiGOZy0xTCZ+usAtH3VNoUZrGhmxdn3Bc2cVAjSqcJg19JrFi0QnxBcuJQx4xVch7TlrHhuOlLUSpD7fP+YwXHrAnkw32Us8VIzkXSPMT7wqcQhraAabYT+14GEk9s9lD2w2R1uGYf4sqbfCKolUMM9K0jqneBRmIejMWGwIGXNyopw/bmIwW/IWpyMNfHxfT3IDW8DCFFItnalMwb1ZIRhrsZyUj2oz9rOH6q3PbA== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by DM4PR20MB5087.namprd20.prod.outlook.com (2603:10b6:8:8d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.37; Wed, 18 Oct 2023 23:18:54 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263%5]) with mapi id 15.20.6907.021; Wed, 18 Oct 2023 23:18:54 +0000 From: Inochi Amaoto To: Chao Wei , Chen Wang , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Jisheng Zhang , Inochi Amaoto , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 4/7] riscv: dts: sophgo: Separate compatible specific for CV1800B soc Date: Thu, 19 Oct 2023 07:18:51 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [3uzAu3jYS2COcaHVvtN6QcvsWi+5/1Lfo1W8zkEPw4c=] X-ClientProxiedBy: BYAPR07CA0084.namprd07.prod.outlook.com (2603:10b6:a03:12b::25) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018231855.28472-4-inochiama@outlook.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|DM4PR20MB5087:EE_ X-MS-Office365-Filtering-Correlation-Id: e38dc7f4-3002-43d4-4028-08dbd03098d0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fJAaQEmJ1w1d/l4zeir1rsf9+j2jLycIEbsZRn1aMq7GEbE8+LFevMor4gUuuLzhAYn0tkeyNziHSAT2ueFvi2UuEQuE+sQv0WFjgZB1pT8JhkkQWweQBzRhiMrAz5n5kA9YM9rW8oxX1LaJzAB6qySf0RRk0h06MbznKKDIDCZq5fhVSOnHyWOePDjqywIySDxJT1nOdwxpQ+LpxB4HCpbMWlUfxclWV7gF/LNKXESMNZbtvbfHUPjNIHg+Z3Y42czrUJ3is29Z/egDZweEjcyv3pRM02BI5JLN997MottggLJWI+dRzqhkkMUMLrC37M920fZQnaJwkROmQpP0K9BoFNONoarC+tmo0DKWEFm0LaEbkhBoBBYehuqroCS14dPQATu7gB0pMmGEBt88avLZo/l2kN56odqaPHJXVLGzDRCy23O2JRE5vcugHkSwY0HEiqxNwEsQzweygetSRyabsAdMl6YmewyNyEaNUl83hZ5akRjebK7zf65mpgrapxkRsPJGHuONxdAUDq3EHTWLGcygOwBByVNQ6+dlnA8jJZMLcz/TVm01vxELu9utRdphrGd6OsWyZZMzL6WHavRbb8LHZYCEjbZltPU3JQm6H5pltz8Bp6sKJNxj2owG X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZGzpKBZqtJTjeHOLEBFv3mI5El1i9crWaleCFVXK2HPCmry3mQy8UViCauY6ECWnBLvZT1TAfduVNxI5iTFxeFPWGViO8vimsbJRu9+/jjjFKqycT+pkNrV4F7/b/osS1UjeDELeRYZowlNS2V+i5OCHz/9il539UmuhXhvhT35fajl0e2ETDYDJTk+B3th0e2eJ1oWcjvrJuiqmJ63rI11cCMaEwUWpTuFo4iDpP620P1y5mIUQtcRxxVLhLnZ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d0 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 23:18:54.5918 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR20MB5087 As CV180x and CV181x have the identical layouts, it is OK to use the cv1800b basic device tree for the whole series. For CV1800B soc specific compatible, just move them out of the common file. Signed-off-by: Inochi Amaoto Acked-by: Chen Wang --- arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 119 ++--------------------- arch/riscv/boot/dts/sophgo/cv18xx.dtsi | 120 ++++++++++++++++++++++++ 2 files changed, 127 insertions(+), 112 deletions(-) create mode 100644 arch/riscv/boot/dts/sophgo/cv18xx.dtsi -- 2.42.0 diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi index df40e87ee063..165e9e320a8c 100644 --- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi +++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi @@ -3,121 +3,16 @@ * Copyright (C) 2023 Jisheng Zhang */ -#include +#include "cv18xx.dtsi" / { compatible = "sophgo,cv1800b"; - #address-cells = <1>; - #size-cells = <1>; - - cpus: cpus { - #address-cells = <1>; - #size-cells = <0>; - timebase-frequency = <25000000>; - - cpu0: cpu@0 { - compatible = "thead,c906", "riscv"; - device_type = "cpu"; - reg = <0>; - d-cache-block-size = <64>; - d-cache-sets = <512>; - d-cache-size = <65536>; - i-cache-block-size = <64>; - i-cache-sets = <128>; - i-cache-size = <32768>; - mmu-type = "riscv,sv39"; - riscv,isa = "rv64imafdc"; - riscv,isa-base = "rv64i"; - riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr", - "zifencei", "zihpm"; - - cpu0_intc: interrupt-controller { - compatible = "riscv,cpu-intc"; - interrupt-controller; - #address-cells = <0>; - #interrupt-cells = <1>; - }; - }; - }; - - osc: oscillator { - compatible = "fixed-clock"; - clock-output-names = "osc_25m"; - #clock-cells = <0>; - }; - - soc { - compatible = "simple-bus"; - interrupt-parent = <&plic>; - #address-cells = <1>; - #size-cells = <1>; - dma-noncoherent; - ranges; - - uart0: serial@4140000 { - compatible = "snps,dw-apb-uart"; - reg = <0x04140000 0x100>; - interrupts = <44 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&osc>; - reg-shift = <2>; - reg-io-width = <4>; - status = "disabled"; - }; - - uart1: serial@4150000 { - compatible = "snps,dw-apb-uart"; - reg = <0x04150000 0x100>; - interrupts = <45 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&osc>; - reg-shift = <2>; - reg-io-width = <4>; - status = "disabled"; - }; - - uart2: serial@4160000 { - compatible = "snps,dw-apb-uart"; - reg = <0x04160000 0x100>; - interrupts = <46 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&osc>; - reg-shift = <2>; - reg-io-width = <4>; - status = "disabled"; - }; - - uart3: serial@4170000 { - compatible = "snps,dw-apb-uart"; - reg = <0x04170000 0x100>; - interrupts = <47 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&osc>; - reg-shift = <2>; - reg-io-width = <4>; - status = "disabled"; - }; - - uart4: serial@41c0000 { - compatible = "snps,dw-apb-uart"; - reg = <0x041c0000 0x100>; - interrupts = <48 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&osc>; - reg-shift = <2>; - reg-io-width = <4>; - status = "disabled"; - }; +}; - plic: interrupt-controller@70000000 { - compatible = "sophgo,cv1800b-plic", "thead,c900-plic"; - reg = <0x70000000 0x4000000>; - interrupts-extended = <&cpu0_intc 11>, <&cpu0_intc 9>; - interrupt-controller; - #address-cells = <0>; - #interrupt-cells = <2>; - riscv,ndev = <101>; - }; +&plic { + compatible = "sophgo,cv1800b-plic", "thead,c900-plic"; +}; - clint: timer@74000000 { - compatible = "sophgo,cv1800b-clint", "thead,c900-clint"; - reg = <0x74000000 0x10000>; - interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>; - }; - }; +&clint { + compatible = "sophgo,cv1800b-clint", "thead,c900-clint"; }; diff --git a/arch/riscv/boot/dts/sophgo/cv18xx.dtsi b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi new file mode 100644 index 000000000000..55d4bc84faa0 --- /dev/null +++ b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi @@ -0,0 +1,120 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2023 Jisheng Zhang + */ + +#include + +/ { + #address-cells = <1>; + #size-cells = <1>; + + cpus: cpus { + #address-cells = <1>; + #size-cells = <0>; + timebase-frequency = <25000000>; + + cpu0: cpu@0 { + compatible = "thead,c906", "riscv"; + device_type = "cpu"; + reg = <0>; + d-cache-block-size = <64>; + d-cache-sets = <512>; + d-cache-size = <65536>; + i-cache-block-size = <64>; + i-cache-sets = <128>; + i-cache-size = <32768>; + mmu-type = "riscv,sv39"; + riscv,isa = "rv64imafdc"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr", + "zifencei", "zihpm"; + + cpu0_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + interrupt-controller; + #address-cells = <0>; + #interrupt-cells = <1>; + }; + }; + }; + + osc: oscillator { + compatible = "fixed-clock"; + clock-output-names = "osc_25m"; + #clock-cells = <0>; + }; + + soc { + compatible = "simple-bus"; + interrupt-parent = <&plic>; + #address-cells = <1>; + #size-cells = <1>; + dma-noncoherent; + ranges; + + uart0: serial@4140000 { + compatible = "snps,dw-apb-uart"; + reg = <0x04140000 0x100>; + interrupts = <44 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&osc>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + uart1: serial@4150000 { + compatible = "snps,dw-apb-uart"; + reg = <0x04150000 0x100>; + interrupts = <45 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&osc>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + uart2: serial@4160000 { + compatible = "snps,dw-apb-uart"; + reg = <0x04160000 0x100>; + interrupts = <46 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&osc>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + uart3: serial@4170000 { + compatible = "snps,dw-apb-uart"; + reg = <0x04170000 0x100>; + interrupts = <47 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&osc>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + uart4: serial@41c0000 { + compatible = "snps,dw-apb-uart"; + reg = <0x041c0000 0x100>; + interrupts = <48 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&osc>; + reg-shift = <2>; + reg-io-width = <4>; + status = "disabled"; + }; + + plic: interrupt-controller@70000000 { + reg = <0x70000000 0x4000000>; + interrupts-extended = <&cpu0_intc 11>, <&cpu0_intc 9>; + interrupt-controller; + #address-cells = <0>; + #interrupt-cells = <2>; + riscv,ndev = <101>; + }; + + clint: timer@74000000 { + reg = <0x74000000 0x10000>; + interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>; + }; + }; +}; From patchwork Wed Oct 18 23:18:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 735906 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E69ED1946D for ; Wed, 18 Oct 2023 23:20:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="OR+34IjU" Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02olkn2017.outbound.protection.outlook.com [40.92.15.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 064BF1BC8; Wed, 18 Oct 2023 16:20:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gYMoLMjJGbtKFkO5pNhiZZ3TXQ9u1hQbnGQAe53wPn/yqe+f2dekUmHsJdT/92naRKNRfYaIS5086FOBDZzTgOGM0QVAhnBawwzSkZSe8D6tqG5x3bEb01U5MCJUJvW6+4TiWwkH+6Auy8XPx5n5fS7b26q6BmTQp3gM8ulU+JxJ7GBOAk2HeO8DKjpvhrwEn+yfh/ZfPFKykze7Iumh0qS/m7bd4W8foUNvpjj/gll5TsF6OBWSicJf4aTWC40OdDZTkDd4YqyGCK5gH0khc9NPlcwmQ/ZyCAQ/ewVXxigIdEWF0/A5BSV64SQu6ORAvEzKC5oypPjeM4D5dYuh3A== 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=gx7xPx26Mq3kzCKC4EipZZimta+A0D9rZ+GtCJMX9+Y=; b=Jg0ur88DpKnmRgrSWNJa8qhp9G1iK14hz49DjPIxpnIqTnT50+IiZw8DyoLPOa+4TY5RATbY09Ua8+hC1BDkor9bdVwcEHraFtkqCCuOUHk/PbSkVHmyo64ph3VYKT2FHmPpZx0PsqKsG4PEHcPwWxa8QeKeUKfeBARqpDMdcveQ3Qk7RC/fggMJOVhruF9dPZZn/VDBXuSmBEseldaRo0RRTjHb5DVnvu2a/PEwY0VJ3UHh4XjbVgdSwwFs12XbXaVILPjTdDyikAHxtME3q04s/Imxx/aXtuIfj/FeuVPC+z9REPVp8I1InCSLdtycjnkJJ/niCnlXJAcQYxeuhQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gx7xPx26Mq3kzCKC4EipZZimta+A0D9rZ+GtCJMX9+Y=; b=OR+34IjUi7DPS8oVcUTsXo8RRQJ2Sp5R7kQRHpnDnrrxVBwm8H/kTnYIhZi82VI+9dTZNGe+3G2qzL/nnimaKRhxz3Re9MbDaoG78sfN7hQmnKn0VL+5r2DS2By70dLBw7wKnL+WaBaDxxOcNUndTUi5MvkcwX1hUd0shR3MqHxWLeQWDkui7r4UTSIZ/mAW77kaMCdk/WeCU7+TsdLx6ywPn9n+pHGmJm7f0cddpFDLYEcOApA8ULD2hNtJy7FQYlC9b4Qtc5haXONM2kkN2kYSyLrEGEFY4RusPJxkeFyMM/QbiIzk+zu2Y9I1rQ7s+e7pD7/q82SthOmg6GjknQ== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by DM4PR20MB5087.namprd20.prod.outlook.com (2603:10b6:8:8d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.37; Wed, 18 Oct 2023 23:18:59 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263%5]) with mapi id 15.20.6907.021; Wed, 18 Oct 2023 23:18:59 +0000 From: Inochi Amaoto To: Chao Wei , Chen Wang , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Jisheng Zhang , Inochi Amaoto , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 5/7] riscv: dts: sophgo: cv18xx: Add gpio devices Date: Thu, 19 Oct 2023 07:18:52 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [1kAHMdmURBWU7OSQ4ZAsgKBfRyQE5mQrOjdo8EJ+bVw=] X-ClientProxiedBy: SJ0PR05CA0163.namprd05.prod.outlook.com (2603:10b6:a03:339::18) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018231855.28472-5-inochiama@outlook.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|DM4PR20MB5087:EE_ X-MS-Office365-Filtering-Correlation-Id: abcc7655-2e7a-4f16-715f-08dbd0309ba7 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4yNbOwi3/eo0kFARmvAnQwHnK1OUzI1N0yRSAT9FZc0Gc8Ca/2J/85SZOem4m3UvBZ4hJVDotLV6FkjP0njLd0Em5mg6xK64VXgGMDabV6Wow8W930ir6paVTT76Jul/0DdhQere4sf9SRHGTJYq2z4sU+NJd6NKFxlAKg+UcnpeffJJfz/aO249SeWDL59sQP3JZDyG4s7UU7yQPIirDw4hLToUMWJAy+9fQSUuVYdT2rvGjmzj4C7tySbDafSVBvHFsa3bs/dirLcmjqyRknF3rsOBVBX+CMoWc27o0fj51mxIUw5v6derwsKUwR8Az0Ph3rE7dUJdmvQpi1gCnFnU7GVV0E9/afRW6pjDEwrbYlSWPBMmJtf2A1gqA8VqL3WMtuTMQWDB2oBvE3qVhvG9mZXzvmrA8MmEsiKa65Ioenak4O4nab7FoVIs5eCpOf8aA4/9CJG32tp6hvphdRTxFbdIwP6k8wi6u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UgXy0nCaRJqwOxerXzS5Txu1vpPIqOJBCbwMdVY2nWLxIdXm8K4xZJOcwkZ0Jyv59KX5z3HpaFe/cLIiC5Ak8hA/xcaWoNSjYDwB4EAVrdN9vSRKU3Vqm0aWezFHJDOn4dySojiy/A7An332tKobojlpqjOp+aCvsHT2YCszBddAOzOTNPxZXAvKe+cSIhogXztMcEZcn5VLi9Yb4V0k+0eBMhLMSc+oiAo2pfg2pOA6XNlizZ+UsWBTR0ZVUaMc/F5mnyu7BCxpJsFc9dziE9zSap9ct2gl5+uoMjPyyuAIJI5ECZtAZuY3viRqOBdqeMjr6E2+P5lxRM9eG8D2piiEuKgb83lKaE+i15dluq9h0Kj8= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: abcc7655-2e7a-4f16-715f-08dbd0309ba7 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 23:18:59.3592 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR20MB5087 Add common GPIO devices for the CV180x and CV181x soc. Signed-off-by: Inochi Amaoto Reviewed-by: Jisheng Zhang --- arch/riscv/boot/dts/sophgo/cv18xx.dtsi | 73 ++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) -- 2.42.0 diff --git a/arch/riscv/boot/dts/sophgo/cv18xx.dtsi b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi index 55d4bc84faa0..d415cc758def 100644 --- a/arch/riscv/boot/dts/sophgo/cv18xx.dtsi +++ b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi @@ -1,6 +1,7 @@ // SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * Copyright (C) 2023 Jisheng Zhang + * Copyright (C) 2023 Inochi Amaoto */ #include @@ -53,6 +54,78 @@ soc { dma-noncoherent; ranges; + gpio0: gpio@3020000 { + compatible = "snps,dw-apb-gpio"; + reg = <0x3020000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + + porta: gpio-controller@0 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <2>; + ngpios = <32>; + reg = <0>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = <60 IRQ_TYPE_LEVEL_HIGH>; + }; + }; + + gpio1: gpio@3021000 { + compatible = "snps,dw-apb-gpio"; + reg = <0x3021000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + + portb: gpio-controller@0 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <2>; + ngpios = <32>; + reg = <0>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = <61 IRQ_TYPE_LEVEL_HIGH>; + }; + }; + + gpio2: gpio@3022000 { + compatible = "snps,dw-apb-gpio"; + reg = <0x3022000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + + portc: gpio-controller@0 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <2>; + ngpios = <32>; + reg = <0>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = <62 IRQ_TYPE_LEVEL_HIGH>; + }; + }; + + gpio3: gpio@3023000 { + compatible = "snps,dw-apb-gpio"; + reg = <0x3023000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + + portd: gpio-controller@0 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <2>; + ngpios = <32>; + reg = <0>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = <63 IRQ_TYPE_LEVEL_HIGH>; + }; + }; + uart0: serial@4140000 { compatible = "snps,dw-apb-uart"; reg = <0x04140000 0x100>; From patchwork Wed Oct 18 23:18:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 735270 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 480531946D for ; Wed, 18 Oct 2023 23:20:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="SP5+2I2W" Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02olkn2103.outbound.protection.outlook.com [40.92.15.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8A60138; Wed, 18 Oct 2023 16:20:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TbRZZGUh9a+9h7cBkxxr/x/eq02AnZb9fjkgAeKml6wu0BPv4WBewb0uLpmVssHDF6KWY2WUeO0duVVaFPX6zjRptytzaOIAyLCz0TPivl6J8PACjGM5QIe9KthjvVT/xejvmxoGX9P7HFUCc0rJgu5bKg29bk4eG53d0pXJ07L6QXVlYFzDZa33t8YvmBUilslwuvmHyfBU7q7Tow9kwWRCzdYKO4PKFjazM/l3mFXDNZByC2dYpM8POOy6Up+7hARl5E6RJDvu4QlD5YiA/0vtREdavpY76wcISQkK3fn+HKxmLTwzn7rsEy6syjPryad6Aa7+iG0wesPdWsfelg== 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=zCQ6+teeeyU87eAdJV4y3yq9aaBdeGfSvjhZ5L1ewqE=; b=Cuh1cJfubNmPKC+aNaDjdE0K1BwViBZ4QDuxzudR9cC8ujNwWweQSFs10LbhIVqG/lGN5BENkPOsIEqu3yHWxDuNxVmc4ql2/FW3cqgAtmu4NhIeIM7np1uMnJdMEpEez4pTCGxd2QCycdheDcYX7NAKh4Bx6On2OCvdiiSNgk45MqE6Fs+CsVGWBD+HMYRelx9Uk8MnzfxO0dccQuwa8+Cpxw1FPAIu56JnU08UruhDcfkRWXNZd57a+sA2ADVben4dInY63qID4KHzkHVsGUD5hbZuRcnRHBCky0e7eOiiPSoSM7w75eMA8JboyAkv5s+b8RnV0pxi/HkWBllX3g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zCQ6+teeeyU87eAdJV4y3yq9aaBdeGfSvjhZ5L1ewqE=; b=SP5+2I2Wvpnk2FDUdO+P5xxRLGKetDrc4zJto6jrsycvyEBLfzCKFJ+yoyrfeGuooe5FKFFsOHhfdEpsCVUCjYpU03sKjkVevpx1QiJ3C+jb7tw3R38G2wCu8shew+3Vn8RFtZORlo9QN4zFOpWa1OWYRYi9M1E73HK1NmLTjZA7NPpx6NIOmfho7TwWlH8faj2cLk5Fgs4svuGnEXC/4JQY/wDCRMcWCLQrW+89yaQRCqUYqkqz7XrW45G171LiAtIM+Thqp8V831L9HX6pYBy2uyxHEu1iU2huI5+3GhlPSmQfYDNPCTAZM66g7la23JUJbnF1j4nj7zXBIUFEQg== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by DM4PR20MB5087.namprd20.prod.outlook.com (2603:10b6:8:8d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.37; Wed, 18 Oct 2023 23:19:04 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263%5]) with mapi id 15.20.6907.021; Wed, 18 Oct 2023 23:19:04 +0000 From: Inochi Amaoto To: Chao Wei , Chen Wang , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Jisheng Zhang , Inochi Amaoto , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 6/7] riscv: dts: sophgo: add initial CV1812H SoC device tree Date: Thu, 19 Oct 2023 07:18:53 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [arFDtoEDi3qSbqIcO2ZRPV8tf1zItChVV3NuhPD2eG4=] X-ClientProxiedBy: BYAPR02CA0059.namprd02.prod.outlook.com (2603:10b6:a03:54::36) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018231855.28472-6-inochiama@outlook.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|DM4PR20MB5087:EE_ X-MS-Office365-Filtering-Correlation-Id: 075362a4-06ed-4427-f296-08dbd0309e6d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: i+jP4Ymm7led0hlDpKxuRxHG5YPouLLAx7pHoszD3tAGznVqRpqbrcqRMIgJBGopE6BmXXZbKUqp6swtEMg5hfgRuNt2diFNV17QTv5Ysq3Rq6Ba/+KkuI62PTT8hBnEJE9aVtQd7l41iNdKbakdOXNPq9g0YCA2dBiYCScP5+LvpDQ+/sn2ad092HoXWW5TWSktnvzO1YwnZu1MaeUgLe+qk63+UB9yfESV0vWSxD7pPALSQO4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/OQLoFnEyZi9EtFkEgpIGw4bSqn1vHevqCIGVFwK+d+ieYAgt+lv1HvHQD35iP7a6znTwTcnEvCGsGdpmyvmwzQ7taOTghbMARoMyz7HQTqOpWBJKNRqYPTXy3Kw4nsfKgugineuIhgKnl8388hOfUJPMmsBxfBW3/o6ahienBvBAZ6bNu2fLlAsLjI1VJtdhSbcwJ0r0trMmbHEgPV0tZf0pzdHtRYTFWZ4uyvbhRabNL6h2fsHIschKUt1XRDDK2ckxeP30+e1t0DhXzTCJoFNfJlsoD3f4wCcMDUSnf5pK/mHEwD2cwjSGTsrWkAoQkEtjk4oUHviDK7tsPEPUGcraNpYKaNcEb5wgVss3SOX/G3d1tewwNqsYXJ7QBUYx+xnE0BGPAHnzZ6jlvs0KIUFS84b6NNS5TAsEKFaS0D9hqqwAf47hUbl6wy10nR8O+L3hi7aIWMbzzydlAxBZ0lIj+vcan/K2a95RlnANrsKreR16DTo2KmBPvycPXnOF8/rxVFTBVL9AXVZwqSakPp0YN23j2BYa80QGb/mYRHYKwTx7UFeeZb5mRfnVnZPm1SSZ9TOps9UAJcvQPAJ3NJX0MEu3RI9NySPUtPpaRVloOYti7Kgalr4e+RpYJiYdOcj925qXc+yL90vAOV6PSM= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 075362a4-06ed-4427-f296-08dbd0309e6d X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 23:19:04.0088 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR20MB5087 Add initial device tree for the CV1812H RISC-V SoC by SOPHGO. Signed-off-by: Inochi Amaoto --- arch/riscv/boot/dts/sophgo/cv1812h.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 arch/riscv/boot/dts/sophgo/cv1812h.dtsi -- 2.42.0 diff --git a/arch/riscv/boot/dts/sophgo/cv1812h.dtsi b/arch/riscv/boot/dts/sophgo/cv1812h.dtsi new file mode 100644 index 000000000000..3e7a942f5c1a --- /dev/null +++ b/arch/riscv/boot/dts/sophgo/cv1812h.dtsi @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2023 Inochi Amaoto + */ + +#include +#include "cv18xx.dtsi" + +/ { + compatible = "sophgo,cv1812h"; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x10000000>; + }; +}; + +&plic { + compatible = "sophgo,cv1812h-plic", "thead,c900-plic"; +}; + +&clint { + compatible = "sophgo,cv1812h-clint", "thead,c900-clint"; +}; From patchwork Wed Oct 18 23:18:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 735269 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A4BC41EB5E for ; Wed, 18 Oct 2023 23:20:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="svR9+i3/" Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02olkn2069.outbound.protection.outlook.com [40.92.15.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFAD51B6; Wed, 18 Oct 2023 16:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ssj8Uh6tJ8Sare2wDcaaiKkmpNWPKUWzBFlhrEDZa/Ta2zntYf093AkFjSoowmnDxkbsKUVrXuquuXxKvSaufK8MXGv1jt8DALBKHZD8Bd6x/kBTPLB68vv/IF4ZCojGfkNOn+hwO/afN+Ke746aYRDVDWiLdqOmwkLcOwjSWzdt57bcBC+oqA0SHpvmoC1YgFNBh6m+kJLrglMvuuLz/wLB0Cc/Du90vrnb9vJ4LUO4sFzsC6KSXIxsaplmcteBIP8fr9A8mh8eungT2pWeAySYvh2x9H3dUym94oDuZIpGTLadY+OWvf/YzSU6DMmQSY8r5mxzfAbaw73SCGjFbA== 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=wxdFQHva1tIfHsLwtonuuEUHgRqniT4rOOd7FVoCvqE=; b=evauWTYv4jCyLEHY6CJ/xdNMCOHpDSX9Qm12+6vHP2B1WbXMVInD8xHgkAP43E8WBgOvJAUB6Ok29IvdOe8cw1qrL5vilasc1awJH65EOB6vDbgq7ZdZNZ6A2sopoIM3ybOUbXEhvDQOhUg4pSwA5cSHZUrxjNrHV4cd4KSj+uwAP+ilVw/sHCeHkmxoKT0p5ERcY2tFOpLyPRIVcVoElAEy+YDJiJLIZ1fF/iLBpk2yoxC9QdUXp1CEEZ3ryOu55qhj+jA2gISSqbG7iKP5qmfaz3I36Z5ivKHeoVy2hcK/lpO9FzTSJKOquoltpu3JeV/VkJWHRuAAlBwWaDuUFg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wxdFQHva1tIfHsLwtonuuEUHgRqniT4rOOd7FVoCvqE=; b=svR9+i3/IRdAuPj0zLooYMJyH+LFNF1wvwUimigPlPdCkcOPMh3NxX+rnuKcippGtn3yaN6jjrgFlbdDE7ZeWN/OnZjUFzCYcISLaT+OFmKdi2y3m0CbjTEKl70MP+YaRNhwdMdWJPDeHixhpgMM+E5EbDYqnxWkyqWq7nSVLjP6mjlhhVkBrYSDpEjDkrSCJFiKofjvXnASjTZDzK49AtPDAn8PNgtsaXYc09dgOZMJAu77khSALngzWRTLcgkC38QGJmFST64Q2GR5h/P80h0iw11+UQaz2KYPwMF5i45GH1mkZWK2rpOXWaF7FGLKQVbAHkYqHY7A07nRwlVoyA== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by DM4PR20MB5087.namprd20.prod.outlook.com (2603:10b6:8:8d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.37; Wed, 18 Oct 2023 23:19:08 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263%5]) with mapi id 15.20.6907.021; Wed, 18 Oct 2023 23:19:08 +0000 From: Inochi Amaoto To: Chao Wei , Chen Wang , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Jisheng Zhang , Inochi Amaoto , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 7/7] riscv: dts: sophgo: add Huashan Pi board device tree Date: Thu, 19 Oct 2023 07:18:54 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [bSMmR68jJ1sZl1ot9mF5lVTw/eCBTF7XCvkElPvY1Xs=] X-ClientProxiedBy: BYAPR07CA0083.namprd07.prod.outlook.com (2603:10b6:a03:12b::24) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018231855.28472-7-inochiama@outlook.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|DM4PR20MB5087:EE_ X-MS-Office365-Filtering-Correlation-Id: 209d705b-9c31-4ccd-10fa-08dbd030a132 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FTnKcGP1HFiJw9DpkbKs5RKSynQR0EIUP+AFHPRC6TcdZawDKj37BmGSDvMP8kzbYX5aDrcyMtilEhhlnZ0puelZZsjy7dQooA/+ehldOu/8RQrZy2WTKhLz0AKBr4iJnRdh4E2cQ+TJDyxeGWTLBay78hD/dP9Y4wO4ovgP3l0XCawJvRLqTAM8BRcicsC/KQwhsJLA7stSEX3JCGlnAzwHp9UM/m0MgEaLmMjxZJcQWtTdGrGkbV+FAhJoCAPijvrXtF/O5KcL8dBCBgeAUt75q7vCoCvV517O2Gni/IM2RCoEMDoRWv3GpntevGnEFrfKTgHAzr4Y07kA1E5R36qcrVkH0Fq5vnl5rZxoMNQ6+KboPocRV+WtPXi+d7rSXpQNq/Aelqn5GXxTFrcRkhTVSAsGklWgct5WWtmos9wKB1GVcU/FiyayH3ePKBLhNDOrKLKGk0kMApnJokCtsR6x+Ilki0rkI3RtZG0L3SDKlWBBWeeyQsJvPFdePAuJbH3imZGOodG9cZC1mKRjSCi2j+a/3Qi4zTVzBN4nY5pP4loEZlR+D9vY3cuYURLZgzduqT6nelJGwoi67204XLfs8bbZJa2OUtruP7DbRQsfcEeQsQjgMlfW+ClG1Nh1gopJUSvqaSe/IFo60mgYNFK8U9o0cA9fghRiI0Nwasw= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: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sVUTZOGH9brGexMhZi1OvFN5jKO2I555M76Fz85tgv721Zu+RTgBfd4wE3KBQ22xRz1Q9c83fE8bqv2DGz8L9b7jQ2kz9mltKzohKXfcLlLAUGQqD84q8Eo58YbZvzDqj40c/1OwL7GOdIk8FeoSefkKV8lXQVEDUWr+nkM0VYwycsIw1Hv6Ns2xTA= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 209d705b-9c31-4ccd-10fa-08dbd030a132 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 23:19:08.6573 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR20MB5087 Add initial device tree files for the Huashan Pi board. Note: The boot of CV1812H chip needs a rtos firmware for coprocessor to function properly. To make the soc happy, reserved the last 2M memory for the rtos firmware. Signed-off-by: Inochi Amaoto Link: https://en.sophgo.com/product/introduce/huashan.html Link: https://en.sophgo.com/product/introduce/cv181xH.html Link: https://github.com/milkv-duo/duo-buildroot-sdk/blob/develop/build/boards/cv181x/cv1812h_wevb_0007a_emmc_huashan/memmap.py#L15 Reviewed-by: Jisheng Zhang Acked-by: Chen Wang --- arch/riscv/boot/dts/sophgo/Makefile | 1 + .../boot/dts/sophgo/cv1812h-huashan-pi.dts | 48 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts -- 2.42.0 diff --git a/arch/riscv/boot/dts/sophgo/Makefile b/arch/riscv/boot/dts/sophgo/Makefile index 3fb65512c631..57ad82a61ea6 100644 --- a/arch/riscv/boot/dts/sophgo/Makefile +++ b/arch/riscv/boot/dts/sophgo/Makefile @@ -1,3 +1,4 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_SOPHGO) += cv1800b-milkv-duo.dtb +dtb-$(CONFIG_ARCH_SOPHGO) += cv1812h-huashan-pi.dtb dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-milkv-pioneer.dtb diff --git a/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts b/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts new file mode 100644 index 000000000000..aa361f3a86bb --- /dev/null +++ b/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts @@ -0,0 +1,48 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2023 Inochi Amaoto + */ + +/dts-v1/; + +#include "cv1812h.dtsi" + +/ { + model = "Huashan Pi"; + compatible = "sophgo,huashan-pi", "sophgo,cv1812h"; + + aliases { + gpio0 = &gpio0; + gpio1 = &gpio1; + gpio2 = &gpio2; + gpio3 = &gpio3; + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; + serial4 = &uart4; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + coprocessor_rtos: region@8fe00000 { + reg = <0x8fe00000 0x200000>; + no-map; + }; + }; +}; + +&osc { + clock-frequency = <25000000>; +}; + +&uart0 { + status = "okay"; +};