From patchwork Mon Oct 9 11:26:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13413425 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 8E8D8E95A96 for ; Mon, 9 Oct 2023 11:26:55 +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=4F5Zbiih3IZrVzMIdS1d0ZbHGtWcup0EeB72mOLax0Y=; b=L2y1YmV/D6sPk+ yDrwUNJH3i87PdZbk6qafspWJb4boGwDRAuHXbz5JFressilkegEyIL0h+S0b8RGl38rTWI6JTBWK vIB/sO/gUKwK1R5DGmrm5BvFcNNefw8rpEB7o/I3N8xfSBhBQ++OMjcdaIKdkodqrw8CUtuSz5k5w D0SHmMLHoaDOROGz2oJTvAFuk22BzLzOuQ9DqN9WMDXgHoX8KPWcfKQcCIGgYcEntim+ky8nxJ5Os uTZEdBPRViP95W4VT0hm6RC13D0OinbemGq15E+8I9LpmwkzPjvwxJqMl/gN7hkvlzZRnCVuQADKT eSuWowulvLtap7nSntBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qpoPR-00ASBf-0o; Mon, 09 Oct 2023 11:26:49 +0000 Received: from mail-sn1nam02olkn2082d.outbound.protection.outlook.com ([2a01:111:f400:7ea9::82d] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qpoPN-00ASAN-31 for linux-riscv@lists.infradead.org; Mon, 09 Oct 2023 11:26:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fWZzhb6/uqbP/lBr9qQ89LG6dh4N7qYQ7pj/MRrbpDtyHMLk2bRgAM2DvF5U7AyL7A/KbmAcaBPn3ZG/fThDe7EHUnmUmW5D+ypUcJ1Vloll5R8AzP9JWVb83OpGpuhh558wgBiLcQeHAcco3OD0asVuK6owMOa/PLC0hDGKbfCHoRv4+tFhX8kL1+0WinD92K1glTLGcKKnY9dfBjckklx25vgv189N/aJ0UcIAa8j2LCNf8JIem0CYMWrXxs5Oxqb3dteS3xtLXJYm7ftoeMIMFVuQ9THsb8jCT4NAOctu9QCaLl6cEzmYYu68x03P8jbTGVjXKRzlc7fLiLIv8g== 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=CtwkXgfjjAMMGmqZ4jdTF17vl4PA8wSYTG1h7/LKznI=; b=kX3qtVpxAYpnHU6a3zLAiklx++XNbZqqo/zvQZLqpu49q5FdFb0iMl/JXCoHpFARnyxIhbt5brB5o8CxjSrt0KYMPYkKPwxm3xe0k4E4oNuvPApk48rN+J5QS38vrX3wWgK0ZRLdd28FUBQxpOeTX7ZhiyipX3VS8FaW7C45Uaoahp3V/J1K9Uziur9ECgS8XoG3+SEwW5PxE9nlsEZGSlorS/g3tL5cCxVgn0QLh0XrPxnV6kTwRppnswBeusOuy8txQ0xn9awvWbwTPuNs5REdxd0v5JqUvtPTqSb4Nmu8O4BhlO1M7fQ4scZf6EbifvoAQBkptAYcm5auJl5fBA== 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=CtwkXgfjjAMMGmqZ4jdTF17vl4PA8wSYTG1h7/LKznI=; b=nL0ilDIwtC/AaYZJJ9+yYkoO+MutqI7l2AQzwhuLSH3ceucoFLub1uBpjeqMr3f8MF3psdiQfZUTM+ar2ifaxc1Y/VMNhG5hyoPc4x+X7QA2PzQqEIEMlgiy1AUzOf5tzE81uqQIlYNMjQGmhaEPZUSDp/EsOd0tVwWddsvpXkTlnJL8JmYZrU+EdV1TfwO99R8g5+4C/cy9dzWvIyNzZAXgjnD1P5Ngtqg+sl7/8o/+wFiI19qD9mv6vY+V/0K0hrLunH7b74mm+WixHR6GG6+6mH+fV2by0+CuHd+7t78VJVjjdHW5JC8UoR/JORFUXGQnH5cj+3QlWrA298BlDQ== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by PH0PR20MB6129.namprd20.prod.outlook.com (2603:10b6:510:2a2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.37; Mon, 9 Oct 2023 11:26: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.6838.040; Mon, 9 Oct 2023 11:26:37 +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 Subject: [PATCH v2 1/7] dt-bindings: interrupt-controller: Add SOPHGO CV1812H plic Date: Mon, 9 Oct 2023 19:26:32 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [9hPR2qAoCEH7Tj39OQjCs+Lfcn7XW0AnRl3MsReTXJo=] X-ClientProxiedBy: TYWP286CA0026.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:262::15) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231009112642.477337-1-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|PH0PR20MB6129:EE_ X-MS-Office365-Filtering-Correlation-Id: 39761a63-0be6-495d-1968-08dbc8ba998d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: H1kU6Jy+pQCQAvjzE0L1GkbgG230bCxTXu3a2etQY3mcznEA/kpixjGJWEUZAESlmhTAWPNPsOcOZBxXp5fQUryEsKBO5alvt0ScFHcbnFOv3dhd0Zk8BFHqOefqYX9EltL7aEQlcv5MgCVI1Z2JRgQTq9SX1mAPF41KzVCNSwb6AhRvWWBUAOr7jmPb/Nq7jK9eJkU2ZRBHFnNtTmr8YFkpf6wUKPjr1989fLaSPqtJqnIXdAlvRtxd4x3sndMlmiGXAfrhg+kHn5r/lTYwLl8hvPXpTl1VADLjoQKc6HqVFdICYExo/mBe4MfMQR05qowf2inN8aCktmP9HzFv44MTocO+Hfk8iGT5AZBxyiiRSZAbIfxif4LXJCG33zLa/ce5uu7pEe8aG1ctLrdWYmHGJq48750sZFcnXoWzOCSBp70xdh8SUiMnskGluu/ZAk87KhP7IsiT01Zn0tizxx0k/vpcmWleaNFVz56soaqfkd8Z1L7rWuGe7LeqK76w7xA2Ch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me9GgQfpbj7L0a7BMVvy9dS2O+f3fib4ENJnYXrNZtd5rgXbsJswWCbTHBq/rq1GtVnZQf7lQGazJ3zO8QVIqKaDsH68UGNHlZdPWOQ0ZQxLe4scKS1k5WLHG0NyRdW2UxfrB7JPdoSR5diyuHGX1llLtPWNl4cbQ7X2ALL4+Q0gvgUy1Ti8nEWMPePJ6DcvEerKTC2gPAO8HWWFJjjzpesJeJjjjNVYWMTySTF0//5gE8eFWnTsgJYySYCF2UHafYH1cahVlpxMGmE+JqymJPbiCeRc9sU1A7JzQEzzSlmuO7xvwZNr2sav2bf8kMn5gZDExprtCcK5zXfadrEfQ0rFOQUsPdHaEXANKEc= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39761a63-0be6-495d-1968-08dbc8ba998d X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2023 11:26:37.9144 (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: PH0PR20MB6129 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231009_042645_977321_A349C254 X-CRM114-Status: UNSURE ( 7.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Add compatible string for SOPHGO CV1812H plic. Signed-off-by: Inochi Amaoto Acked-by: Krzysztof Kozlowski --- .../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 Mon Oct 9 11:26:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13413426 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 AB60DE95A97 for ; Mon, 9 Oct 2023 11:26:57 +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=ZC8Bic+L5nYcco//UjuL5ekmV/8hRiFbcPwf0Wjj/L4=; b=QvdOaGsLgsE9XE EM7djaBMFEA0EaZMXUHr3qR4JTkxNO4aXuEs81hA8s4b2DLTn7bAISECKYGqFSLz4kAFPucPb3Bo9 xiDSRtJCm0J8QrW9X8Yb3lqXJHeQAi8FT09QhAesGj3lDuT7HM5iY8DgVG+zN5UCeDXNzehCxO/3d 1ou9ln70hH/2p2DTSmEzEV2/KACIdP3LSxy6GdAo/fO5B8gMZZhaCWl7dA/eCBD1CWJsCpG+Huhqg VQilIqYN2rpr9ULERquattvx1fQ/XnsLTjk1lMr6ECyqPVFHezWVb7cTl8g42c/h/I/ZVHN+wuXgD 8zd1YFxjF92oJ/WIl02g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qpoPR-00ASBk-2d; Mon, 09 Oct 2023 11:26:49 +0000 Received: from mail-sn1nam02olkn2082d.outbound.protection.outlook.com ([2a01:111:f400:7ea9::82d] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qpoPP-00ASAN-1L for linux-riscv@lists.infradead.org; Mon, 09 Oct 2023 11:26:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XC885JCsV1RU7JSV1Hix51o2TOMOg1Ico1fHkqnz3jl190CUJ7VYejT7OxeFRwKZGhtRHiG9FsZPACIz5buJqAOSSq0zuBdideuGXjwuocT40o4dGinFcThAUPb4I3M5DXcQrgZcXjCyiCrIaAlGWv8BPC135Qv8LFap4ARRojQAacLd3KdITMZjDY+0CnftG+XWMqomArOJ3/JmqyY3XbZrb/ISPSHQpGmQy4JpULr7XvvZBulX44CmEHPo01RYe1pqi8ERXDVkCPDQSjhY3lnw2ufe24Misv4YKb6BU3qDmSdo9fXp5zJBQWuM08DaBGKcRULnNZxaEtw52fTenA== 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=9mjT0GHZRjHAdTvckJslAsHSeKgrdYR/YRReQ5ZgSmw=; b=UJOiLkLWQ70Pz4cILrhKaS3vtAyKGdakKSjduIzD0cLVHSWG9CnYMt4chm8Ly6aLZf0DqQprKV+H3K9eJaTIBgdx3hk1OYWKB/HP6IJlzpyFzhKGr8R98q7aS57F53HfX7Dn0W9Cdi1Cbspn2ssH28SLM0CKgDhnPabBkhK9hkW0KGaUx0fv3//dNkjhFoywDbcoXWRnekmHk79LkatQIqaR/SB1L2on2sONrVz6tptNy4RDEbVMVzfxqEQQ+J74k1zW/71Jxw2WEmggM2SVNCFktI9pW4oOkIeY2RlTtwk2nY8vv+EwiWpZxo3V7ntpaK+eSMEh8qN2LBE9zOlwIw== 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=9mjT0GHZRjHAdTvckJslAsHSeKgrdYR/YRReQ5ZgSmw=; b=hb/kmY87p9ZMMVjlwMnixQxoKaXKGDzHkKwaDyuIc/lbsIk5+2KJA/M2IqCAHSHro+9wixgtuBUN4mLqpvO9TV8cNMS24ZyfS1nTjZ0sMcMzddEtcylufG2QJvi4vdNpJVXUBEzzFxKLgqViV38T5Jmw2p/OBtOjG/JH/oKr3J3tkg89naPtHT5Zd6NCAc5VO4H7fEROW8MsidI/GTzwLQHuWtFlDKRWBF2khsMvdRoFVLbz7iwU31l3kdpynNQUAXggreW78Olzhwsy26W4bLrgrac2A22z0lJvmTlpx0RKdMHcCADPd3ka0PiZ14ctS5jZkgmcuP6Sf6J3QYH83Q== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by PH0PR20MB6129.namprd20.prod.outlook.com (2603:10b6:510:2a2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.37; Mon, 9 Oct 2023 11:26: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.6838.040; Mon, 9 Oct 2023 11:26: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 Subject: [PATCH v2 2/7] dt-bindings: timer: Add SOPHGO CV1812H clint Date: Mon, 9 Oct 2023 19:26:33 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231009112642.477337-1-inochiama@outlook.com> References: <20231009112642.477337-1-inochiama@outlook.com> X-TMN: [rw+85XFftVmATLGoJ8vqF7MItD6hvFfLy9kvXVKamXA=] X-ClientProxiedBy: TYWP286CA0023.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:262::10) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231009112642.477337-2-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|PH0PR20MB6129:EE_ X-MS-Office365-Filtering-Correlation-Id: a4b12290-5fc3-4faa-5cf6-08dbc8ba9cdb X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: E9VDTFmSXEDsLXi+j/LzPZkvMK6W250GhUPuNrRcW+xB2F3XAfyn4bPu2OYqST882Tln0HLtcU5Wt8XRKX4eeUatwNLl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JlYRMn2g39iTghkawWPHiE35IMZE9Du6u00VcHUAaVd5NOd9Ic5i1o2KQwQEM6VQ+nk2wVdfMNudRswQmYxOU7jL0dlL/6L/KsQ7yM3Db0ukyqtbUhL01i6Rzncgv4szk/bCaXCoToIML2skgK2Xd1oy29HYFC3GBGcX/yAJPIN7OARhM1LQE0EFhd1KCeEwGEFglzuxYtqq4SbtNBcy27EOaS0ILwGn+mxyisO2yC1p5bsgIVWyVbx+589RkCpC+kNvtFV6MUQBEeme0Es3NbBhc/Fk97Yu8tBHRuu5tfhW8iZO3SufzCxoryPtx1I0jTftU0cwb0SBpcQSaubRTEO9VmcRxDfCDca9ePun8yFalh5Z/vPE8mHL/KRs56i1Hqzo8sdPxYIsifqYxIYutJF6IQciajzCqiNtY2a/kGNsrljs8LQTRfi+lBMbx9c/0qwiOWujohzhk9eK1CqfPkwtuVoCmgv/tM39zSmZ+qV1Qpa3p9Mz4Dorf2oepv+L+IiA7NG5TMwD6FTAt8UtQrAoCI3LHlVeB0ntiA1npkvrQSFdcJxQs8Wqd9Jl1lDfjlaiMGEqS1TD3s07VfR9n+QEEsgoPpPUCT53VpQHXl95s3cueI30W+j1K8ihFst4kUBOzUZc3T4wLHXZk4FtujdzJYo9N/l6pTIs4JUThbQA2kSPGrHIo1PhBHs18Qn3p6TkwmDMidYYjknglTl9KblFGR0XVkGCnk6jXjAJPJ1mrT7OxJM1+4RDDvb5bBV0ePaEW7xkIGZ6UTmI78= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a4b12290-5fc3-4faa-5cf6-08dbc8ba9cdb X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2023 11:26:43.3699 (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: PH0PR20MB6129 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231009_042647_457610_3F04909B X-CRM114-Status: UNSURE ( 7.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Add compatible string for the SOPHGO CV1812H clint. Signed-off-by: Inochi Amaoto Acked-by: Krzysztof Kozlowski --- 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 Mon Oct 9 11:26:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13413427 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 62236E95A8E for ; Mon, 9 Oct 2023 11:27:14 +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=8O6W8ON60qaQaVOSpuGYImc+IeB5/7LVxfd+79OHjoo=; b=hukYEvppBw4mng kVMAr/BLu9+aNfUTN0p+65WjX+JhpCLFHbKs0gWkdvSsv39jNTdk5QstQ3vSS9Gx8qSiPM3WZkNrp A/uqt6o4s0ZQFhtfaifIoaZScP5sVP9MJFaSTai9JMI2zjVq4I0ZzY5uUaRepY85/OM7Hdq5WDJWF DF6W9oaHrxgM+CJtJHwg0sxHwPP7vQu7OxjAYzHOv2WOjYhOwYzq0peZklf8IFnhX+OIhPIQ/KJYf 0n2b6awCAlTODI3Q8RKduoM1n3O/7q0ebkw55X9BH7N9B0K2p8uc7UjgQS0nwuqSCh2Q3WEAPGrhj 2F6bgwh3XEFgibyQjVkg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qpoPg-00ASFk-2Y; Mon, 09 Oct 2023 11:27:04 +0000 Received: from mail-sn1nam02olkn2080e.outbound.protection.outlook.com ([2a01:111:f400:7ea9::80e] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qpoPe-00ASDN-1q for linux-riscv@lists.infradead.org; Mon, 09 Oct 2023 11:27:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BS0DGXP/lCEfI9GwhRYnH0Yji+hA2K/UtTQCwFNIa07NJ9BPP7NIPQTmrr6gPLzhB3fVi7YzKgzekXBawScbgxxPB6R/iHLk49rScvWgPRj71O5ztbjoN32bhWn4HaM055/Qu9jGGWy2o7qcCl55pFMpd5qNhNzbkWzGSjPn9639B2NfpPhjmzKTp5zp3r0/Tjtc9bKOkfI5DQjS+1ZoEIL51c4/LrHxBfF9s8nxXKM2bl4THz+pl0ZvP2IWvWe+C9H4lBNim72LZC0IgV181423QPjoVCb6Mmf4ZEcpry+ep0U5vCvBP2mD8qTMuH3poUIJUQRTopS2U1ltE2kcuw== 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=KXnbB5CW4hcWd2KYzqwgPMuwW8QdiH7A4QDaJ5+6seE=; b=BoA+d7QpTFCRklGFVU1n2GSXejdKLvp9l+a7wxZP46iC5MohkvP31HdIHoz4lkpPfGhZ0W5z9MxTEWqDoyU5RWVOu3go2JgwrFcx844S/B+9xij1c1SyGe0RaCUqf2AhNPLsEI0rI77jPE7y/EMdSSp9/5ZjaUuR/mnrqXPuSXP5dKh8YAzukd6Bs8RDPg8V00dkm08ZjCdS+bNJZRwUtQ+CjrLOLr0sGpFscu6rS3nN+6lZoWjk0KXpDRrfr0s/Ht+YctwcCn7B0/opvqp0Xa1cB+heRVkM0k6Gkp7fRQS3rG4xBl6oD3J+hbg5k5E1z1NizRJ1F+sGp+2ggo+vPw== 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=KXnbB5CW4hcWd2KYzqwgPMuwW8QdiH7A4QDaJ5+6seE=; b=UqWYWpjPjQW2LdQN3b+OapyiEfmOBVL4YT8hTNtvkxAmCPIKPx40JWyivvFSbBz8C31nnj1uGL8K9MxsqPfep4+yTZt3XXWgMbYBF3lLeD9UHRRS18IthFlunHFDuTSQQWeV1yYpJtJE52WDqj5JZ+BC/tMMNkZk+GljPR1b24SgeW4XKD+j04izE7Mb2Wo4rxApZXIrLWJvSYu2zna93QhcEviiu+EAan9BaQjXpxPDUeR25tGYjt3UZYZ3AuoyHrgapvO9u2zmTYo9ldVRCn+eTapWqdOIg/rPw8dMy9yjBVf8NfplPG6fAyfeZMSa4OSHmkXrS7msr7AqLB8ZJA== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by PH0PR20MB6129.namprd20.prod.outlook.com (2603:10b6:510:2a2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.37; Mon, 9 Oct 2023 11:26: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.6838.040; Mon, 9 Oct 2023 11:26:51 +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-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v2 3/7] dt-bindings: riscv: Add SOPHGO Huashan Pi board compatibles Date: Mon, 9 Oct 2023 19:26:34 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231009112642.477337-1-inochiama@outlook.com> References: <20231009112642.477337-1-inochiama@outlook.com> X-TMN: [69MCxFUQEp9rWRv/prgSpYGs4OJyIc4GX0Lw1vl1K2Y=] X-ClientProxiedBy: TY2PR04CA0023.apcprd04.prod.outlook.com (2603:1096:404:f6::35) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231009112642.477337-3-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|PH0PR20MB6129:EE_ X-MS-Office365-Filtering-Correlation-Id: 76b7759d-4d1a-4de6-ce83-08dbc8baa1ab X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aSk6UeiwPjhtVlxUZe+XRo4j+4sxNh6zk+sr14d+WKhNQd44grVhXkUhWYmYpTegWkcvwfKr36N+EwGDt2zoZhPuFE/o6ZNOcfxWkxRmDYSNrpJSbzJPcYbhnmpvbxBzb7N1wU94L/u792p4HpC7ADJL74dtBFkVKe5LhM4LpAWZwz7TFctki9s0DN4xqJcslJwpkUGTpQ0x3SvBEYVIkNQOqtVNyXWHhlx7r13Ag/ZUf/8QlOMr1oLzDPK9CKj0uo97qGory0EVRNWpwjOa8/mV0Qzb+LAr+t1vG/7E1mTCJac9n0VoiggB6RNGPs1MB30JwJyUqqzO//vkuppJ5PU33aov+vXWxBHCKbT3Zihijk68clyzhh0akue1glWAwg5/c8rmxrg5Jnpf4XITODWRW/R5/7Jlz7ITxpkUX5Bf6Vr4Tam40fC01t52RyGgzGChpVTsmC2eJkEqUR4RvdDqLIiC3GHKcgXFAgK7TQWQgDfhxZlqH9z99uPv73++AvJAontpk/W6eY4o3wTdmG5aRjkU+9yzlQ95L63HXQGDI0Kt8OKi2WXtZiogPqNC9z5pH2N2C0TqbvWwabJofeHe1K/e9RuLnLSGK4NuPQETD97n+8kpq5B8ImGR5isT5UbMBNd65I4LGGwFXTZpy22YaApxOzIg8ImDLa/VjkQ= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lDRt2/gueHkLy2T1x63fwA3gBXf4CsWVuCM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Cymu2/moafoRT02u3/Kik77moGq7z4cGwu5gXBgEDwQKRWaj9P2GpNYOWRGKbi9V8SAp9QxZ/GXfGYo+i/VSs8X+/8mNcw+oa+BkhKKSwDe/es/KS/pExVFv0VXSKgfqE2ye/LJTtCk= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 76b7759d-4d1a-4de6-ce83-08dbc8baa1ab X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2023 11:26:51.4101 (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: PH0PR20MB6129 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231009_042702_618116_F5101C28 X-CRM114-Status: UNSURE ( 7.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org 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 --- 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 Mon Oct 9 11:26:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13413428 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 D971FE95A91 for ; Mon, 9 Oct 2023 11:27:14 +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=1Va0OEKkRD9JdIokMHcLCZLdXHFO0mmoI2yUxAdfqWI=; b=amJ1tfFPdzpos2 d23T4kLIx9PUQF6wtZ0y8tFDlsDvA+cuy6zR5KeeNFxo8qJ5x+otzbtyODmNHuVyOVrJA+3Ylh+Cm OiQK0JWPszFbyzUdMDp00fnNVigJBDXAg1vtp7BrN9MIHPkm4HveivhMwN+pM1uAqTdNIyr+8GzRm CgWlS67luh/6AptmsHvZEYHSFVhk6qNWcPQY9I2tiHbBp2k1djYpLYOJFgyqt2zFsbDlSKk6/2LaL 2ua95hmlArRcJjGd8ePe7BcXdu0b36ql/Wr0D6QpQV/Bk5mFc9+/QrphsdLs1KFzvPSVihfAyljGB 6FnFF/lq2e+54Vu89HYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qpoPk-00ASHX-1X; Mon, 09 Oct 2023 11:27:08 +0000 Received: from mail-sn1nam02olkn2080e.outbound.protection.outlook.com ([2a01:111:f400:7ea9::80e] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qpoPg-00ASDN-0Q for linux-riscv@lists.infradead.org; Mon, 09 Oct 2023 11:27:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mebWXH6KM0IOlwUkzPCdMd5Jlbmzvknxo2omosZ3zEUCrHLg5e83J9bPng5z3ZHqtxm6fthXXXeQ+cweEDGztLnPUO0ww4iIXK5r4Rs+LKXYmmRZlX1yjK+VuKcMtQzBtGDBbrBiQFRZTLVOvY3E5SMCY7pdhlsPhL1x+QlciHVgrmAx/Rdv0wSTQdC4cdUry45uaiXMLvAqFwo9apwq5ojgXWcxwIK0HCtN23s5GeV1wRuS8VOIZjcb+ScT+PyktHAcfe8OeEQxn8xvM0zhCQhnjAb4Cj22rTI1pv46LRv21b0n/IIYevAly7LQ29wGPxU0fckSVn+uEQwgpjohpA== 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=6IttFsZmWbuo/ioO2E6XMM0wPsbeCqH6n87b8vDr/Ho=; b=XukAV85qCY2arppXDn7/O/h6MBxwM0sWAzJGuZ3rNLEXQyqae3ChWHOeIIASySL2Y9jLGJWurv/yKUvLx9UhtmUY5RB46/kp6j6CjBE5mnMtYe7WrLeHBuBUzbloIxdMH0REFW2vOs23WSZkp7fr/nnbMGXgoGiGCv7evOUWumCTrxoR0Ug00va5sA2YeCiaiP5zKLRTsqwszpGstynf8Es4mE8ORjYj46IFcpPB4+wocrdt5HD19x71FjDxLgPUYTeFhHv3Jp+4OLHNmozbelI0vlRMYZfMNlzI0QrBjzQ27JqtPG8Ch7Hc50l4APrkkU46f7g56MfMOXuU93n03w== 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=6IttFsZmWbuo/ioO2E6XMM0wPsbeCqH6n87b8vDr/Ho=; b=GgIHnoQRESyQxe13+CRftlzsG+yx6jwoE0QDyvNBYOYYO9ix3A+sgrTDHg1PVVhquKVGr5z+jlu3Ego6z3aXw5fKfAKSV9KOzJi26Mzm9NX+HmtqbBYgewev41OuhzmPaeZSrotfl8qrYnvj4HRyTCQW28VY9ILoLLdzniliRLsAVFbrHBUt51LwIQ4drbr/amnHhqWhmaZcJQ82bNX6e7Uu/uUQyMLS5B29uxCwMFKEDAp4Msk4BSqXuk8QMOu5bY3gsl64am1Cd9iaC7guFTLh4Mpr2dWtIYg9NnjLf9Q+3renunrVzVWXig5iNVt65QurQqyZSEb4qH6n1Esj5g== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by PH0PR20MB6129.namprd20.prod.outlook.com (2603:10b6:510:2a2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.37; Mon, 9 Oct 2023 11:26:58 +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.6838.040; Mon, 9 Oct 2023 11:26:58 +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-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v2 4/7] riscv: dts: sophgo: Separate common devices from cv1800b soc Date: Mon, 9 Oct 2023 19:26:35 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231009112642.477337-1-inochiama@outlook.com> References: <20231009112642.477337-1-inochiama@outlook.com> X-TMN: [VoTnJ72mA8S040VgJxervUTWhdojVV3liCHQszPll70=] X-ClientProxiedBy: TYCP301CA0049.JPNP301.PROD.OUTLOOK.COM (2603:1096:400:384::13) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231009112642.477337-4-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|PH0PR20MB6129:EE_ X-MS-Office365-Filtering-Correlation-Id: df777fea-78ed-462c-e53c-08dbc8baa61c X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Yh5YgJejdk2XQeQNIqiPzTdsEEaot33VAyQhC9HbCYcAvKHtuY0ezlwVf9CHwfdJVtFXUJLiIe7LVlTM/LCPxSKsdnAhl0e0boodH6ozctoVxqB0SpGHjvRNBeyM2idGI3sqP+y9iZo/NYGhSzC6FuuoyHQuEdll/1Vxn98rJwSQps+vaUeSFSgmzk8RKAO2AT/HrekM+JDB2R9qwTv6MHudxCeiwYPe4eSXxPf7mFjHVAjaMQ7jR0IGNlqBNvEsSjwqqC5hfpEYAYTvty1Jh/QTT8eC+C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YzvHspByCA0xENHOjj91eGsSdCfMESxObP09mZsYS0Y0QYHkjlCKpDbhu1sB8YBp4Fx9DClTVACpi8/Y75g/Xg7o10SqQNDM59nPVzw5+ijXkmbrSpmp8h/Spz2oCQLKPuJf6/za3Zb6LkOEAM4FwZlPCo2UuXW37eUSdrrq4CPOf44hD0FIMHraNQdfdRegcWwLtsMqsPxyerK5UPomxkNUpadYJSwxafoj7jihvcpjNcIR7wmbiUZiVCqBPkrupgSp29huz/VVFkU+3Z9n0c1R3YwHuxkHgwj/ccL0Skc2PD1QfD3WarPty1NOBPBiU2q2jdnUg9h9SJfTlhfGLezso/yKC+tOXFaJxSZA69lzQScAPeGyNAZkiA2iKBAk9h0zIx2E+Gp3goNWMeDhRqohCqQdHDS4xCx0ek10844vFHbegC8hf6EZiBt2UF3LbhARfmC4OgWeCuvjtuO2sCB/21HnWz6sbVWr+V3eql4SUlam35eFZc9Hy0tUA2YrYYICDeM91tByoKyj6U5UAeoAc/EXtO+L9tM9VzcOPtg0qXSElc4HzDfo53dFkEDb6u5y/ioc3/xAOoBgmgMPfmRQPBrW5c03swwA= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: df777fea-78ed-462c-e53c-08dbc8baa61c X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2023 11:26:58.8555 (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: PH0PR20MB6129 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231009_042704_174428_EAEA1F4D X-CRM114-Status: UNSURE ( 8.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Move the cpu and the common peripherals of CV181x and CV180x to new file. Signed-off-by: Inochi Amaoto Acked-by: Chen Wang --- arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 95 +------------------ .../dts/sophgo/{cv1800b.dtsi => cv180x.dtsi} | 19 +--- 2 files changed, 2 insertions(+), 112 deletions(-) copy arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv180x.dtsi} (80%) -- 2.42.0 diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi index df40e87ee063..0904154f9829 100644 --- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi +++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi @@ -3,106 +3,13 @@ * Copyright (C) 2023 Jisheng Zhang */ -#include +#include "cv180x.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"; diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv180x.dtsi similarity index 80% copy from arch/riscv/boot/dts/sophgo/cv1800b.dtsi copy to arch/riscv/boot/dts/sophgo/cv180x.dtsi index df40e87ee063..ffaf51724c98 100644 --- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi +++ b/arch/riscv/boot/dts/sophgo/cv180x.dtsi @@ -1,12 +1,12 @@ // SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * Copyright (C) 2023 Jisheng Zhang + * Copyright (C) 2023 Inochi Amaoto */ #include / { - compatible = "sophgo,cv1800b"; #address-cells = <1>; #size-cells = <1>; @@ -48,7 +48,6 @@ osc: oscillator { soc { compatible = "simple-bus"; - interrupt-parent = <&plic>; #address-cells = <1>; #size-cells = <1>; dma-noncoherent; @@ -103,21 +102,5 @@ uart4: serial@41c0000 { 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>; - }; - - clint: timer@74000000 { - compatible = "sophgo,cv1800b-clint", "thead,c900-clint"; - reg = <0x74000000 0x10000>; - interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>; - }; }; }; From patchwork Mon Oct 9 11:26:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13413429 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 A7ED7E95A91 for ; Mon, 9 Oct 2023 11:27:25 +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=J2KfYJjDywdZZNbDmiUxKAhKTgNT3h1P8KEGiHab7VY=; b=XzGZYm53ypTaUU qSb3KhP0JyrHOldDwHVRRbjoemceFCG7BQ0mDELZS7UC7+xp/iA1Hf9Alut7HYJTmBs7h8W02MmIO 1zdpo2OEHyhZ4axVZQmo4h8acbn6xenawW6KGqEj99CRQRfZvYMYLs+YHteI/2Az1ggzQm6mNzd2l S3Xol0tM3W/JnCaLtHysFC8Uf7EHm3o8hpokD/bloNm5wGrOvD1iHXstmPpSf4rGCNIO6xqdv0ZHU /NqE9eeTX5xOYZhJDf8K6huWeaj7iM2aFy70fLIP+pyqmPzJ5SC44AaF+9OjHMMJe1fLpJpuNFtNV rZ8xaDdLVBMpJXt2D+3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qpoPx-00ASMQ-1I; Mon, 09 Oct 2023 11:27:21 +0000 Received: from mail-sn1nam02olkn20813.outbound.protection.outlook.com ([2a01:111:f400:7ea9::813] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qpoPu-00ASJY-0Q for linux-riscv@lists.infradead.org; Mon, 09 Oct 2023 11:27:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZsRHfGRaPm5Sf3OxsfdrQR2ZtzXrYgN4+0odumAwb1d7Nn5mB0HTQpTimHSeE+jsZFIeZAxRRNbJhF0qeiDjYXbUR9xXapVFGxPlMertjwgNdZgUhGf2hxx6Zj5sjQlhXG9tuIaFTShdUBM/i4gfqZfnV3BT4vET6seuBERbmpwHPIMnLvo56xXby1CkOg/cf8VD0Ur+ujeNWJ48sPqNNAu2V4V4JHR7jIwHVxPtpRvbIjw5KDhDa8pCaeaf5hGUJ+G4n9xK4IYJG2XoY41kOfPCW/aiPh8KqdXfOfXISslRMbtA0Qc5bv3l0jEUK9SBG3v2iey4bqZkhj11Xnzv9A== 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=ucz+d9gDsMTwGi+uxivR/JBx1T+GhMhp13qikmWoRj4=; b=bD+2WqzXmqwlKkdaxRQhRm8vlVf8iUOh+kTUu5FzeX4grx65ztibpP/kL8V26lZSEgLQDY0CNgmIQrvXG0nDC1/fwujZbgk940eFi1BMviQIvadkfPsZS8Yy6kkTXI2ApdUqtBTg0ST74wNaGDkVOMNR2OFt7X556HHXdYQvO2lYA0R7s2QhhtTkbcA7L4/sWvQZjanqKuTGsen2z3QZmAw0Gy3kii5Tzf7DoR0R/jYPTCY3VIV7lC/Rb+w2XScCx5gKvPXkwu8UhSXQsFVeYdqXfnWUzbzmVQwYOiTm1inM+XWBnFFqF3IgXWlDGtXYhkBiT68HQlZWBd7eeeebuA== 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=ucz+d9gDsMTwGi+uxivR/JBx1T+GhMhp13qikmWoRj4=; b=uryEQvWm3R8yURG42FSwfyUcXNdK2CE+lzUWfGPjjv0iM7IJc9CuC8QGATFwR43cSGjcxx4HhoszhPtaYZJmuHG7c1MWkeEkjTDS6BcPOxzhukK4ZSekVaXuFZKYMbn9Z0KhiraYeFo0t10rwcNrfSXwg5y5ffn3bDo6q1vO1Zi/y5zasJHlYej9MTdeOlgiEQ1mrSHKJiw6Ga5LSD2r/4uXU9MCI104u7k7EcS91UOSck2GMUgFHwOP6ILy02If9CiD6D9znpN8hTKIzpFo1Cm+sPF3BONgHxOsnqj7nKDOIZert4h5PNe8n7vwUkzaejaYA0BW/4upzLVstjoJFg== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by PH0PR20MB6129.namprd20.prod.outlook.com (2603:10b6:510:2a2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.37; Mon, 9 Oct 2023 11:27:06 +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.6838.040; Mon, 9 Oct 2023 11:27:06 +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 v2 5/7] riscv: dts: sophgo: cv180x: Add gpio devices Date: Mon, 9 Oct 2023 19:26:36 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231009112642.477337-1-inochiama@outlook.com> References: <20231009112642.477337-1-inochiama@outlook.com> X-TMN: [tPm0zs4VWjxp+saMIN06wsE9nTn86uqj44WaOcvipoI=] X-ClientProxiedBy: TYCP301CA0049.JPNP301.PROD.OUTLOOK.COM (2603:1096:400:384::13) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231009112642.477337-5-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|PH0PR20MB6129:EE_ X-MS-Office365-Filtering-Correlation-Id: e4d9619c-0f29-4cc5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Msmdz0D5R2uEXATh2Wi8ZpPhTFHBLE1zpWL+I1ukJDzAcrVjOmBm11vcf2IwJXVuoFcr9qfPoSzSrN5YX0iQL7l9MWilbEUSzGJEBzhdNznvracizGHmKvZPqSHsPptE5plpzyxWnOYp//XwOKW6EgIfZxHTV5jLh0emFlH/GTLIrgdY1g9ISyRmCFUX1+wfxonQzc2cjQfOhTxDyz8PTQfmEinCJl2syuaDJIqAY2NEcn2LvN/CJXXteAyNpU/oNYZAfIL/fwXTo1eh71YxRutvQ2qtXAJZzwwqc76RVpMxbAZs1GAVujCaJgmL1D8X5N8VFDSRf4wZB3pVd42YmItBTiiFnFBMdGrgfJUXx7WC2m+J39tFDOv5fDFEhNdeq108nCAZ7lPx0nJc5vLQtP+okp+RwmMAVolYgF1fc3oyrEHF5ua0YvcXhAt7ZtToNUAwPd22D/G58Scxg6DnGqri0+rZWkwVYYjdYPOEhHjuDeNoZiasOWPfw/OajF6EGp3N+Av9ntvkPVRvmEFWr/03vhyDil/3EnFnSbuDCzkzzAuyUIKlWra8yQliThF4EieG/RQKXaRffdXk6RfqkqroqiE5PzOXxIfcKzgIylTFwbaUPEe42gNLKymYaSvqnqoqr6RdOkewGX23Ve3EfiYTPSiHwPqizhon9zBu9ibDKzctbz8tqEnkHa4g8hoDYolGaxDJkx4OXPsO55+rHM8C9oO1JdcrJnNMr6AY+SuijUyKvxAAnkGquNDYAadCmkc+fORNLz34LQLGeZBBvCa4ZgnA5S8wV3plBCPXVvupDipH3SrrFDSnU2C8FL57UQzVsxGbgwkyyu48Mb2gjCcJ/pEkJKA3oEOEmjZA8LqeDYRn4v6XmxJ+WMMbcVGR3BO4UFdwCz/j2PRlaCJSUIrzfH3c8GFmJVkFwPuIPgJqVelkZC+zBU= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e4d9619c-0f29-4cc5-fe55-08dbc8baaa6e X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2023 11:27:06.6970 (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: PH0PR20MB6129 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231009_042718_172374_4A17008A X-CRM114-Status: UNSURE ( 7.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Add common GPIO devices for the CV180x and CV181x soc. Signed-off-by: Inochi Amaoto Acked-by: Chen Wang --- arch/riscv/boot/dts/sophgo/cv180x.dtsi | 72 ++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) -- 2.42.0 diff --git a/arch/riscv/boot/dts/sophgo/cv180x.dtsi b/arch/riscv/boot/dts/sophgo/cv180x.dtsi index ffaf51724c98..64ffb23d3626 100644 --- a/arch/riscv/boot/dts/sophgo/cv180x.dtsi +++ b/arch/riscv/boot/dts/sophgo/cv180x.dtsi @@ -53,6 +53,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 Mon Oct 9 11:26:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13413430 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 D2AFBE95A8E for ; Mon, 9 Oct 2023 11:27:29 +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=aeJJ5ImDSpwXwDDmVVfMJ2mPvty5mNh7h1g5XG3Ojls=; b=09gHhWW27XSFdu AbJ402q/xxiXB6uvpTJVgO+KIi5di/7NhqAAkzJE40QxrlekfSlxyH+Fx/FCklGAWVnzuekb2stBU v2VD3E0pnSf8265TurCYMHKfHEAo4SDIM5hASCvHbiPs3iWhgcR46MrpCO/28vgydCgRAQswfg/cn pdY7DkqXDYWnkzAFc5aEks0zRY5akV7ekSxGEs3l48LjDVFXoaFHDTXrjb+2WjEx/9Wm+J6xffoYr 0YoFXV4rDsZHEnxX//iFICDacGsmN18sFgKdpdpzHIJHSfjmqGjoEkaVjRLGhWmapoV7WKoq3AzFD IFcgh/pjEb9+Ymd3t+/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qpoPx-00ASMl-3A; Mon, 09 Oct 2023 11:27:21 +0000 Received: from mail-sn1nam02olkn20813.outbound.protection.outlook.com ([2a01:111:f400:7ea9::813] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qpoPv-00ASJY-2b for linux-riscv@lists.infradead.org; Mon, 09 Oct 2023 11:27:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BHhQpcLAkIDYwPu/FShq6LgvPGPf9SQmg0NVa5s2tctK0DovxozvZGJ0VQqyNFab77xIegVB1p6M7H5d2dRHmuxjaLmN5QVZHSahFETVuMf6R9yrCQSc+s3wCluHfcfBEXOxdQMUj6IaTc9wjqEaHOv1OGCj2DZEfY+9XEE2cnDZGEaoRWYzfWPTfUBrLe/ra5RUjoF1OUdu4gcMfUIiSsvguMQqlgiSGuLo2LM4WiIN10IQMnkIiMvQajWA8r6xYNFCMlb6CRGA77kLCUy56B9FT5O+ofrsQkNyZmeXdmbc6I21QO8ztYTiIionqUhVCnBQqbD8xL/18URa9m3aYg== 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=2+1BGYS35byXM3ZXqk+EWNZDHTEcSKdJczyWZtjyM8c=; b=W+1reOLF/lOwNSs8sgkztst6AQtIVf52vpIp58YwtYtFuLkQJkzGCG/lH+StPKpJZSGl0fAxAueExMSeaUKSJxYwML9FbFIrdF6KeeaUGK8N97e/qfA1HTbsGIeWAIrSL7O00wXr0QY9td16axBuR4sFltjfe+AgdnMVAV/4NKAeJANZFSPS9kMEDEaRrZkxSMthIWsaOaoKBx94bHBRDgjvtQRhH0GMcCYiKw2be2gktlmXJsy4UarfCk+BzDSvnDs03zwZsgeQJ6e2MNFuff+ePGGGHGgNcuenPg8nCcs+8+f5W/dQ3L1GR+7cxBfI0bMo3084aj903PG5EvkY7Q== 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=2+1BGYS35byXM3ZXqk+EWNZDHTEcSKdJczyWZtjyM8c=; b=UOgUp/uDoL4qGPsi4sg9LugDJLQ76v868r4kmTgTTUJ6w1FrfqEzVvaprT+4denEmRWZch158NkXZ/NXvVlxQk/DSh8KMqc7IYQxHCxZWTq8cts5Zl8vE7pjqRm2CXVh3VdKD/AKqjgxvP7dJAjNPCKV7bcF3Hl4Y4VbVoo521xX5q4cF5WI7hm+RwOigAjGmbq/HSC/JuxNG5/rsPgq/I78OD0JpyV+xz2S2EDVtItDxCY2keX0r7YUVcdtG89pPrNxQribMRS6VuC0uX708roI4UgdW+Co0jkd9kGgA+BByhSBBzQ6PSxBM5QQMXZrwidDF6wtmILzPt3HChEhmA== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by PH0PR20MB6129.namprd20.prod.outlook.com (2603:10b6:510:2a2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.37; Mon, 9 Oct 2023 11:27:12 +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.6838.040; Mon, 9 Oct 2023 11:27:12 +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 v2 6/7] riscv: dts: sophgo: add initial CV1812H SoC device tree Date: Mon, 9 Oct 2023 19:26:37 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231009112642.477337-1-inochiama@outlook.com> References: <20231009112642.477337-1-inochiama@outlook.com> X-TMN: [gN82ku7+V+Gow7wpWdWNQlBBzqIBIoRIZCYd0yusia8=] X-ClientProxiedBy: TYWP286CA0020.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:262::7) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231009112642.477337-6-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|PH0PR20MB6129:EE_ X-MS-Office365-Filtering-Correlation-Id: f85887a1-2fc1-4e33-b26b-08dbc8baadf1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: foFJ4Twe8arYK17s7OUuW5rT7dR/bMR5oDAVL4ANVCjaWVS3vYDlOMVuHBBZNcl7NvHOLERMYb8Px3lD/qP6rYLnuUP4oV7xU8ryjuOTnXYbePlVkswvT3yHzdZNUcxJSRRIoogazJrgPhD9TCDCHrIOKc90ryjN4rMCJWT2nhuKXSPgbYBKeb7V8jEPBxVNAjxPwPcOm30TFD0EjmTKkXd44njn3OdiIslzbixrLEOZDtWzsP1p9PwdqrvH4dJlA/BakAQGoyb6FY/sytJVadrgpxLMP7HzUcMV/4XncypgIdDKmxnV2jZkeqo5UVt7DkRf9O6XCwjdHVbmQZKMnW2HEVyPzZmmrEK3bEF+KKZxVRAiLkKDUovUgrWZ7My4R1HrS0KpSb5kIWwO0mIXnygDpsXqAPc8uuNVSY1p57vWjzacsIoEOvJEv7WyauQ4r6/SVCL1E0Td+kkkCWh7vbk+TtIA2s2g2Lv77FsbM7OqzW3zC3cN1hGJsfUYaDDXHqju0Xxlt20Z4v3oTwojHNEcAN06BuVJ4LzG1ps0LarPnjmdF9iLjNtDsmuxX2vm8E3dBDk/BcY8dpZ741gZE103EJ7rLJHf2fGcY25sKnc3wLcZSU5Nro5GK97y/CsY X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: UcFGCkOHv7s3dFGJR/CBRoArxRxd3VK3eToNWlYn6KV7MzlzEkKqDfrXyr7wAfz14C1b6+hnYhJxLMSFHC2jHOUeKq1dG+fAjYMFfC8v52BHNfGBuwu5okrSW+6DRH0mmKkF+CDgvkdqMdtDHnnzH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W5AS4L8/uKeBW7QVgQHs= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f85887a1-2fc1-4e33-b26b-08dbc8baadf1 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2023 11:27:12.3718 (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: PH0PR20MB6129 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231009_042719_859613_303619E8 X-CRM114-Status: GOOD ( 10.36 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Add initial device tree for the CV1812H RISC-V SoC by SOPHGO. Signed-off-by: Inochi Amaoto Acked-by: Chen Wang --- arch/riscv/boot/dts/sophgo/cv1812h.dtsi | 36 +++++++++++++++++++++++++ 1 file changed, 36 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..3864d34b0100 --- /dev/null +++ b/arch/riscv/boot/dts/sophgo/cv1812h.dtsi @@ -0,0 +1,36 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2023 Inochi Amaoto + */ + +#include +#include "cv180x.dtsi" + +/ { + compatible = "sophgo,cv1812h"; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x10000000>; + }; + + soc { + interrupt-parent = <&plic>; + + plic: interrupt-controller@70000000 { + compatible = "sophgo,cv1812h-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>; + }; + + clint: timer@74000000 { + compatible = "sophgo,cv1812h-clint", "thead,c900-clint"; + reg = <0x74000000 0x10000>; + interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>; + }; + }; +}; From patchwork Mon Oct 9 11:26:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13413431 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 2F636E95A91 for ; Mon, 9 Oct 2023 11:27: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=O/p1ejA/s9Q88tA/u7OboprUlb9+J86/SS+DF/3ubcM=; b=BaaYpn5jFbxiWL e57/4bqWA/fHklKUo1IbtEzn5bDFwAsuMqVia5u52WV8lumyJumu6ZPG2Yc/xM0JOVXcTo5NmzV18 cGUtG3lJnPWLOAbLrBXY3+BPyLEVSpxJ3wT5SnujJlP79TO5N+v3DZQMB4ABMSIlcVVZC4GegeXa6 S23w4SsRLXXdzmJDgZIsq1Enw3kWYAwOL/SUmBjCc15TuHECFMx6rkrdG0iRIVB8BrXmHTIThVmyV K+xn0yWDYiUuLw4hNku+28lhku0aAuUcRa1ZV0RKGrTOIeydZbOzN/HXgLjmbUNRhSrnag7a1CjiB ctp+sOzTJkIJNVViwrPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qpoQ7-00ASQ0-2h; Mon, 09 Oct 2023 11:27:31 +0000 Received: from mail-bn1nam02olkn2082a.outbound.protection.outlook.com ([2a01:111:f400:7eb2::82a] helo=NAM02-BN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qpoQ4-00ASOL-2f for linux-riscv@lists.infradead.org; Mon, 09 Oct 2023 11:27:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jd4mhS2kTWW5mTXCOmwGUYA45O6Xm9vt457/2naqHHi0Q6ztsRSft6DBXF4RwIVN1CPHr8MMK+vxVYKLXH2JFJs55XHAwp6PaIXMF68UFhohe14CzG+dgy/Ib4PwwYN2OVQshFb0TcCzkEHOkJAQ8z/0LuTkyMY5esaL9e+8GtaLQvGWJ6tOjnmUfCFC4p2KwJDFFy9lDjwx9lSmJ5hg8NGlE0I4dK044bBLmZM1k8d7W5PCOMT+Z9IUCXwZI87r9NUVY5gkIF6MqQ65pFPUGJklrrG3BAqYA6YMdKaMOzbbDqj/sda7cnx1I0Qi72vlOh+lphXgHQjOEQ+bg/U/Kg== 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=Jl6q8EOE+QklzaGMm/oPqAWsf3LDO5ZIFVK02dU5XuE=; b=WeEAjs2gbY/ljTutxgBcxHYBytqJ1XV1Qvsn4Ngj6iCpAmuvhy8zIBHyZ3/xrcauh2hVEus0l05iJeAtq51d5M/pHYogN3weqehB1RUthQh6RFPvM4LxCovcjOo/uotrV1ag8zCsOHhWurhwr5lk1Zd8g/qf5A4LLvk5/VEvv7Yd+QoGUmOYg7CTAp3uS7Dsv4NYW831pJSpF4ma/Kt+r+8ikBSMZgvOqQQ4Who+aWgPKiecsSLETluW7OzJp1oQOAkGBXuWFf4UGcDC3foBGDJGubA9WNGPuQ9SyXKhMW1tG+KjopxpIRXQipZ32d2oSPGHcRZ8UyxnajC4lDIL0A== 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=Jl6q8EOE+QklzaGMm/oPqAWsf3LDO5ZIFVK02dU5XuE=; b=gTr25GUTYKZtWr/4Va6hCHIy1fzYP0WY3bv2UDYiKyq4WO/eM+AJg/T/EIFiXNIyr4I3UqXLUHHYvW/kzN5SSdnMfrMWPdjxBupbRwotuGpzSXP5US10xsVOqpLMsK1wQo5+gbosDtS9A//IlZYdhoyb3Rx7Q2ljQjXwhTY9Wr932WdSjsVGB6X749ve3OaLGp/u+ckIVBv2sEwJyUA8v5yvUkDqz+TJeG/IqtF4YouBSKUJZW1bZldqmZptVCwiGDh5uWrnOE+mhD206hyASeyMym4ssPWG0xHBDm0jUTyPy5FmPGav8RlfuncaXYnG/rOGh/FrWIWOmyC+m2aQVQ== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by PH0PR20MB6129.namprd20.prod.outlook.com (2603:10b6:510:2a2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.37; Mon, 9 Oct 2023 11:27:20 +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.6838.040; Mon, 9 Oct 2023 11:27:20 +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 v2 7/7] riscv: dts: sophgo: add Huashan Pi board device tree Date: Mon, 9 Oct 2023 19:26:38 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231009112642.477337-1-inochiama@outlook.com> References: <20231009112642.477337-1-inochiama@outlook.com> X-TMN: [JrogtGcL1oKHfA62cN+wiAZbhjowZcaXHIEsqEIyb/I=] X-ClientProxiedBy: TY2PR04CA0010.apcprd04.prod.outlook.com (2603:1096:404:f6::22) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231009112642.477337-7-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|PH0PR20MB6129:EE_ X-MS-Office365-Filtering-Correlation-Id: 3d7a42d5-8e81-434f-5b71-08dbc8bab2dc X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aVwncFc/Qlrzb/dKawwHzNNu0riIdJU3e5uo49a3KgFYondXJSArljEK7Fk4o7wsPf1xEEooaaKpl2+vpaLUvxiNAFJlseWEc+zYSpB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hnqRqiHVCJqIyDkw/+ta9szBD9Ls9dK+d74iFEwHAEtR3PTFJNS5RgRT7SBnDxrfSjFxC2U8d3UD5AgjcCfg1W3oYi/ltcqCH6pwIqWAkozvzoYI+ovP+BpxsuZPaxV4Jy4n17sRrsW3osrg3fIH6Y93Mvj1XMbOCGPScuEj17PEgHI69nHtbq0/hyLpQp4yZoLfFyPI428/wqRfmt5WWEdLs2D5BRqHeaTlGOejheVUhMmT9BS+viiGlh65ZP7tmxxHVwepyRMUmqfjNkiOXClxGi/P8UvaC/bfnKYDk04qyV8TAZRPp10olVgVE6oMWZU1eipo/fpiXJd/psmgz5FzaeYARbcZHCOyheyo55DqS7rR+ArDd0wuZyLZxxEphkdvsMLXaFYtZhGkHKkUtUfWI0DqHPBxhijbl5VP0Q4gA8nWszQdy44KfFuLY19wW8lJ1rK7+IgmQj3OXAw/Mo3y8mBF9CgVTRfTKiCQouVMtyBBFQ7+mr56WC9MXp+hzU/z4gnxab+tqkqxvyElv7vD0S4BXtEu9RAnRWt1KcSejS3wCoTnLrZCIXTtXA1PJCnCLC54mZNbZ/DKCL9ZlfNNG8mGVFO95yqRAOgAn3KlUMXcowkXNkxU7FZZgwj1vfmjOWkI5JoBCIYfM8iAuxJxrqciTap253SwaXjnAyJITme/yuly9kcYf/jkxgni2Gg/4jw9Hx7K/Zr5o39Gs09QyKZlYk7NtxEr5OHLApu0Vwh2c7wsCTfGCVjYDRJBhqZ/BOYb1YNi9G35EKlFXcphOL1+lhmH5rC7jIdWtQCHKkUDxJlXQ4= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3d7a42d5-8e81-434f-5b71-08dbc8bab2dc X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2023 11:27:20.3369 (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: PH0PR20MB6129 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231009_042728_871029_B6F87E39 X-CRM114-Status: GOOD ( 12.57 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org 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 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"; +};