From patchwork Wed Oct 18 11:31:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 735943 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 EDBA01946C for ; Wed, 18 Oct 2023 11:31:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="X6BIBWGh" Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2039.outbound.protection.outlook.com [40.92.19.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64D29113; Wed, 18 Oct 2023 04:31:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TKfPKAwDjJNys5SEAdcqXF4jwujXB4r4Dq9FSkj/0o7MxNCOL2N5cYRPqhqFvq54NGSM+842ag+Yg6+imKRKrVNUIo7wto//Jbr4nJwdAfv/0Bc8uSSRYVDuRLzmvlTVsHFh5dRcQQz1hs2p9EUP1RWznQ/uLDZjToqNzFJwDk/rOTAhrb3e0mAr2tCxC8zg33GLA5JX6SfhVgKsAr/amCjV10iUDPo+G7AZ13H/u5y9Y+fk2s/lvGqbK8BP7DR5R4utzGAZuS4L6UNgc2bihaz2A194VBikE0+k6M4fhvbhg3kFpsC4ZrG5DE0pC/SnQDAyJ+5xGTHsEO07yMAp+Q== 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=ock1+yADHu+xNiJt8JJ4rm44eF+k8zRTaYoKyH1NmzIPKjvhQqJH5/u/1BVcPFX4fpyQEoNH2UVjXehXWhTk87wFf1uDfh0Jmf5S71qH/vwO2OC453RaEgvtYE/PKEmXrKspokNBfXhyC8fu8n3JGS248n4aWl/rW5Go3+K70tbsMkejl8B5aRp0vhTMwyqNsbYhmNCj+7PQOiMiyZJvrlx9Erh4Ck9t2X8dzj1cJRKRgpwu5LHdffoYUkuZoTkKvA5AwLL3OUwhIArKNfCLAcX21CRmXaTNc5N7p+CRNHzAnOC6BDQQlCku3mm1D/zGYh23bxY9YlxkUDAZkTv8Mw== 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=X6BIBWGhwPclnANg7LRkxUF6fWnmo8El1dw4e7/dM8NquPSQPEDKeraSiDZs+y0j4tRxhSQ+gEZAskk6og3TnNgT9tW0TygHGQMjODIeOTFyOw+kuEsZfZlBGn1adDHx4iS8jPzfc08FmM86J/i57cqA99Ka1utnmd+mz3SzHjHBRqZf6Tl89wIuS+cJ4se0CQXcUOQ0wXiFSZNOkOCeBCY8/Yk+IBU8I/15FlqORqNb3pdYt34cAP5NIvuRKOoMA+WKdBw3Ij+9r1ZVnDzYa5ixx0Lr375fAjAug+9iAmScXMigh9lTyMA5CZpU+JL5+eqdPwdwvMACDRPcfIAE7g== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by CH0PR20MB4059.namprd20.prod.outlook.com (2603:10b6:610:c5::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 11:31:45 +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 11:31:45 +0000 From: Inochi Amaoto To: Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley Cc: Inochi Amaoto , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Krzysztof Kozlowski , Jisheng Zhang Subject: [PATCH v3 1/8] dt-bindings: interrupt-controller: Add SOPHGO CV1812H plic Date: Wed, 18 Oct 2023 19:31:46 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [WQrHK8p3jspoGMOW7Hx0T8ABbcxK85Ow0eVC/Xq1sVs=] X-ClientProxiedBy: TYAPR01CA0002.jpnprd01.prod.outlook.com (2603:1096:404::14) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018113155.1605537-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_|CH0PR20MB4059:EE_ X-MS-Office365-Filtering-Correlation-Id: 5c6de63b-fd6f-405a-dfba-08dbcfcdcf27 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8uwDdRxXB0ZHiLWMujNgVpqZVmDPPg4IEhSfeoRHhoQsPMZXgDLg4lYTuSGDY+FL8FbfHMr0h2OYY8JpY9n+iAySHDDaOiwRB7NEF1tZais3sKg6Q1hJL0l9H5CvEfYKqm0EPaS6XzBKZUQUo8v25fgetRxQF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AvlKQlyz1O7JstfKHv/kLZuBRQvArvMEApU8fuGp4CAI+QYpi06r/nBA/5ig8Q0FzQ4OouG+4YmCWvmXDuc0/jbgqzI9X/bVvHOzb3OW0v/oRkKY2khqgMH1TdVxEgMs7MQ5pKLMHpgAlB+Dtm5iRB/w3wTxKQj5nG8Fv73CCjJP4Sydp+Qd2fvk0ILs6j6A4ccF/HWUlp+WQHV+7MkU0m4u5qn1G9lI+0pSg+I19Tgxk2BIFRxEfjwtUcVCSUUOpZHcCJLxuu2RqbGn4OaL4adeAi9xokyhJw5dHjppKOqbriRCUD/hvqUwzcsffPPpZMbMowVELku8RfzYgIYB6qof/iostWSxuo+uGAdHIPSNt1oyQh92Qil22zryQWwzBCzhFkwsBGtwF4n6wA5JGI4jXwoLj7IOlPB/rl+t1w8lWh3x9F0YObMgh0e58mRBSnZBD1nq5pCX/RQ1QaVMYzo3ktdDkp2Qd9MlkGUMPSIA52g+bYeQspTpWv8r6DH9EsbGpkFSCQI8IhjBj7/UZfbu+iQuwGEMDn5LGf94KnUpR1ETEU9UyQsDKKHGBFlRYdNyFr6ut4N9QyAwfm1s60E6b/LaLl0auDrQ1Pn2Zlg2qiZwovaC9c8wLBUy3/8gThku2W09BLVn5gF5y0lWdVROxfgyTLC2S5PmXRCke5+dVpSNYgM+nuayi3QE7tOF6WASFNvKKyoM42aS8= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5c6de63b-fd6f-405a-dfba-08dbcfcdcf27 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 11:31:45.6379 (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: CH0PR20MB4059 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 11:31:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 735308 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 2D2181946C for ; Wed, 18 Oct 2023 11:32:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="Fznut0OD" Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2102.outbound.protection.outlook.com [40.92.19.102]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BA42116; Wed, 18 Oct 2023 04:32:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=COiCSvxZlV6au2LoTZqkzxY+WP9/rua6LEzcRzZ6/+15reDVEs23FA6RRK3CYl8AQ2qbqWb5x5Vq68LVd7OZuhM7he76tpGfZmrcV0lVaBzyQ2lXP45gK6LAKp/qN6RK8fXLs+Sqd7sfYy9QRwL3MfMs9HfGfTcelJhgPDS2Uu1U4DXk9XNyH5/WzNT3XXqKEINM88CTRFSBCR36oAvN3Yv3Ml7gON5zfyPYKkma5mu5BqNe97Y1XN6J/7hIe0/7VrCT66y6Cp5SQ/0hEwHUIIr6YRM25/7zASr/kP+PHWK7wxwudOIoRmQrJ/JtM30KSbuPywo74oxoDTSHrkFmsA== 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=mWTnJdyqKt7L9v1bbblAsI1G1/vv3p5+kWGmG6lO7K+mcyPSPb1uBA8Br2F55ygLXUjZFA/l6fGbdtDoyWr9UCzk01CnLkQ7mTcPHWOHlohS+RumFheL/KhwycwsCffwOgoKeYXXafUKmeia7tdSEvWAlYu1nu5x8elRa5Ga/dfH4KTXJoZy7+1JH55dCV/+NOlnuz+e9fGtlTSQfOyK27Gi/YWXQ0d1dNOC958HJJNSq9R+84+xax86dPUu7ei1jh/0HPzJoU1luD6vPiP5Ds3sJAeb8D235mgzUgnHN3g7hkmGbLvwKLdncQ+OBpT7rQWCG1BxyAmquN2X+GyP6A== 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=Fznut0ODefxGUKOjimoAkE70+oA2AIdyf2f9xYzj1778nIqd0AqEsHE9vXRn1QqlD31L5gjqqdpbL6FgsSE1p9Wm67mYX/RFD6xEbc0VizS1/T0YBgm1R9Og+wuCQl1rOv24Z8FW20ZWTakQKQywa+6y/1zCkbHlhJQacWhvZsnzyzrTgv4sZ5pW0ffjFxf/otvRNjitKG5i7sJlvmWhl6T78dskVoHGDgCHYEgUx9Cn4mBN2pX1EwDTEIrZHmYIg37ELuk3t+JBrbeIC9Xh6JiO5g+Js8N6Q3QQ2eHySBbyFCfWPaVihJ0ViESuneaSuH2TxbsiBe0frziBvcAPBg== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by CH0PR20MB4059.namprd20.prod.outlook.com (2603:10b6:610:c5::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 11:31: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 11:31:59 +0000 From: Inochi Amaoto To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Anup Patel Cc: Inochi Amaoto , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Krzysztof Kozlowski , Jisheng Zhang Subject: [PATCH v3 2/8] dt-bindings: timer: Add SOPHGO CV1812H clint Date: Wed, 18 Oct 2023 19:31:47 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [upgV07RXmhgVKPbyZYLfOst2g95H8TWPjJdFa9Wj/UA=] X-ClientProxiedBy: SG2P153CA0027.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::14) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018113155.1605537-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_|CH0PR20MB4059:EE_ X-MS-Office365-Filtering-Correlation-Id: eeb7de44-5a6e-4fe8-2538-08dbcfcdd79f X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4W4aDNMy4xevN/TYmfLgRDArE1z9wDgk3tMSem1EvKdUMTQtUoMj5PbUBxZcwH58HJvKjmwrHZIdqRvdcxABMhV+qPcP/8AHdt5ZMDyqMVnEkynsaZHnMDhYI1lZA5h6dmC6MZir9Yq3JUq9+ZBzP63yNv0dvR+hR/rrjCfVnbDCTAFvfnS6LCRFUWFIHUc6rr0ce9xvmETKbywDNsoFo0hOVJ1JnVhcFoZTWcIN+B3zLLxlbqpsDTvIoKDpUl3xDudzYYpoRJlgW0TAd8QgpyhtjLEQQd0s+UY+YwuPDD1YEe8WJ/0EZSi6qM1GtKLG8YkCTP/CBINg3kMsjGGn95XeFCEbx++hVaQy5i/UZu+baH5Kou99vOiGGzSQlie5Ec2yMNyB0F7VOWfvCbs1hjDIfe0GXRDF/7DwfOeVcz1BTMRkl2Zlv4cp32hGa1upiqoTQiFtwemQKVpM793oQocz/th45POF6HgeSifagFhPL6aG6G5Fghu4Gf72z9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/daXkuEKuHEBKygAst715ugZ9J7qxFSCkDxS7rZqBOONfD3R2CUcDzekT91uLSJUt1El5ho9jikF+b42ZZ2aGhTofi7wqLvR/+MelkCtUwkKsYamlcxnlbr+O9mCnB3mVh8UH6qNJXT/gnB0ysqq7AQzws8t2CJc/kwlggYImMwbBT7jU6ZynYN5/3UJBldWGzNtGZJ0tZuXc048rmiOjemInnj1aDWNjwG+P/yCdgtjEI+CNehHT/V8pZv325fLhX93Zo3FS7YDWjHR76bEAs2bWJQbD6x2YmVU66xKISl7py8ItL2kc4lj377umeu5GbO5KL5Lc8JioJDg6+1nVNJL9/NgKFVGq8iBYbft0ObWBYR1XiYTwI= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: eeb7de44-5a6e-4fe8-2538-08dbcfcdd79f X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 11:31:59.7890 (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: CH0PR20MB4059 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 11:31: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: 735942 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 CE2411F5E6 for ; Wed, 18 Oct 2023 11:32:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="YgIEV+/j" Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2071.outbound.protection.outlook.com [40.92.19.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED14E123; Wed, 18 Oct 2023 04:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oSM1ysTc2TMPpxfbBaTEQmvpti469YtI9s99AjYrgoO5UhFzVHC3AUV+qz7yeysh8NULS3lkjldlf5GDL2OSS48upF/Kp6s4fUzZJL75S0MqiYyqrqLuaBJkHgwwrdNNuE2Z2Lt9y45zj7sONR5EuXH+qtE3jP9JuiD3mqv9D+WSfHMXJZsYfxahs1tj7Ulw9L5u7hxWj4p1WIkgibTRfKZUUO/COuYzNSx20000KncpVvFbkCPUwGyPDX2QfxZYDpQlZjKXPvg6rnbTbDMXvhHxD3vEGZ2ZcOW789jmUJ7GYtVzI6VxNS1xel3/HafHqMMn+WOzZNcZQS1yo2mNzw== 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=M+UcoH+n+pYKeAMFBNMWWXZ/pIVXOrCb0PZjlGPmA1KnTqitAvPJl6xT/2r14soK5l5O/+C8udU2mm9cDYMEVo9Q62wV0h9KsIVJ0xPfig624JTNn5GYF2/asy6hU7sHiwXIe/l5ouH/T8ykHw5xKRq0qDi9KOjzmKFhbsUCiTcOkvZTPP7DX2PUzVuDFOn24fuNQc1vFr3N6G2BfK80b+LZENpgEtiwhw43AREGUjk8Zjp6ADGqK/+3yKT7G+p6JNfL9e3V1o/UtykdhH+VNFBKaKU3bwUpHUmjFX8mAJmsI49Rgw/gF7KQxCkIyuG22+VmqSgxOzoO8RpqWyl+qw== 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=YgIEV+/jHkNnpQWH5dOlOFRBtoZFg9M40PZh1q5+Cp9jlZ7YNlfPBHAPiDAxxlroxClP+vpmROB7FNx1xdLY1oEa3LFnS/mtDKaiaFCrrd590DLKsJSpIenzAU73QciEOtQ9IlthasTbIsLzlHmEBinSGm+vDp69wVdQiINidVqpoAd17lzxNH5hpdatHmOoEOsEMLez7ceWs3+aqhdQ3UUIDfHttu3k8OouXkX24sGh5VC7t8sk1BD90UeFreOZcOioXe6U6a75XXZnKSOdyOMDUttWXpvqOfyvqxfoP+rSmY38yYv2j1L5gLv2OaKrKHho+D+mdk5/H92qZJWQhA== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by CH0PR20MB4059.namprd20.prod.outlook.com (2603:10b6:610:c5::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 11:32: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.6907.021; Wed, 18 Oct 2023 11:32:06 +0000 From: Inochi Amaoto To: Chao Wei , Chen Wang , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Inochi Amaoto , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Jisheng Zhang Subject: [PATCH v3 3/8] dt-bindings: riscv: Add SOPHGO Huashan Pi board compatibles Date: Wed, 18 Oct 2023 19:31:48 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [lDqTqQi9PnZXUi/IWVCqTkhKGDUL/+zuRp3DbKeS9lQ=] X-ClientProxiedBy: SG2PR04CA0174.apcprd04.prod.outlook.com (2603:1096:4::36) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018113155.1605537-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_|CH0PR20MB4059:EE_ X-MS-Office365-Filtering-Correlation-Id: 8ab93e18-34af-4dfe-fe22-08dbcfcddb5f X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ADc8set9QXe/XbT88zExzdP5WEijJ7AYjKmUaY07coRgSxOH/Es6l4GiGI/UaY+Bagzcl+m4v3zPs3qLMJsDiCjLPuizG67JIa04vJgJqWe0cERKQLZoYYAiGzjM9qaQK3BNOtRgwESFgQgQSTbtHyeYhAtoCJNrpU8WZuVK0Ewj6VJ90g1o5+wZqG1IaQVOxPXp7M6TyeTGq1hnJtvvCWNjtaJ8HwRn7aqor5OQ22fZrmh3+Sd4dNu+UqLuyK53Yk8i7HJTv4s2PvL2qkWUjmkTZMTUBKrqpMLZrSDSXBXdsLNNW5LJ/jdRAizAmXrjkZ5B8uF5mBuXbAqZZMuDF46sCNelssHMBUApkiWu7p+OtXtXeJZvAAKxgKsDt81sYnJYtc8NIhjx8nZ4REIIvcFyhL9smAw0GI7WFi8YTmX8JNlKw5ygGGoYYr1JCGSiExPsY94v1YRVlppcYwPSWKl9Xh/yxlKu+mZ87CRtMS2T7O4W7o0BzEaPJvl0FqArlzXHXRP/4XmWojrdeWQkdnBYOpYTUtQV6G22b2AmpcC38hvhW50X1D5ZeL2Yrawr+wBj332AD3D8C8Gk3zS9g2jjjtdOwYPeSu8FN2RFwnw2T6erIG3d/1Hxcu8Uy1frD9+7e8ANWuxE8pQAy+sUydrf/LLNYVH7I5jndyhXhbA= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /8K8CKPgomXxWQJjvTRajfrpGM12EQSdflJ4mKYEA29rQfcHWmO+J29kXseiVw/TG9ZPUupK7ZtiIDj3NjVkd4b33vxrKQkbvy9K4bqrHz5dngvXBW1wFb74TI9IEBCGl4FXyERvh/hg0IFUBGYFARU3lhwerMp9IZOg14SBOnySz9y7QMcJWLKTS45o8MyHFDYIXU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X-MS-Exchange-CrossTenant-Network-Message-Id: 8ab93e18-34af-4dfe-fe22-08dbcfcddb5f X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 11:32:06.1336 (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: CH0PR20MB4059 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 11:31: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: 735307 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 D22B11F5E6 for ; Wed, 18 Oct 2023 11:32:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="YNAkemGf" Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2106.outbound.protection.outlook.com [40.92.19.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B60FE128; Wed, 18 Oct 2023 04:32:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f5DoZfXJmbe3HrdU55eKYwyeTg2jaqpzJ37RfuVlIgapZTm5WuV86PJ0ij8fUzaquRvc08rvSVruTYYaqU+NgE5dxMRfBska9vdvgWc1Oc8BvlAAzeEAMXI3PeEFWZNaACP1OEyJOMSARHaXYrFmNpK1SsUxevZjaNCjf4MgHlcAzGi4yqL5kdg2OEJXje9fDrjqfOIENbeWvhCscwEQcStnrLJvaVaOO+G4OwcUMd0WJtMVkcdB6sfhydutDO/TnbuJLIcHCvp1zRSTdeEciz+jivpHsLBTI92ZIoB5tkRE1p+mn7heNXZS7tYW1Feh/yLFEThHNSr6NbjncSgocw== 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=f/s7p3+fTsVg2gf8SVIXagYsMNWEfoOfstvhSjrOVu4=; b=iGq7dC7MvgqJJJdJ1Z0ammDcwfr488btbMbYjZmdUVwT/7dSEFr0c4kJ+cuSI6iEuN93KPmqcUfQVb029n/nlKP0dqrwoWW30hqS91IGJmhveOgGs7enQykTbZLoOgG+NqWD2yYBp/zcmhtQ8uP+tLLzNaTdrvclFTlkVaUaZ6nyBcYLoCcsCyts6mbWnmwU9oOiJWTCu8mwvvOFQEux4cJ51FrbkbO+dQFzJ6g8MHgZN2xveJKTeR9mhQ9+Kc2NwzRC73bY03b0N20y9p4Y3ad7IFoKRVvuuVDb5BNYjbwq2PLyBPDy8qn7nqG3QJt6Aq5JtmLAXOXf8HiLrpFNSA== 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=f/s7p3+fTsVg2gf8SVIXagYsMNWEfoOfstvhSjrOVu4=; b=YNAkemGfX/5u56fScvSyfNbDzOVGBQRixXyIycp5jd5W4mo3ZpyEPxhVNTcBUb2SlxV3adKsYUAiKula/vPPxSSudNWCEemYCHYp0aEEhDfNqZahScoTcmSaZqrVn6UZNtXSgTqYl10jUA+2cepPBGSLe6vgpMTZZSY02NTA3J3SFUoVVXGkYXYFT+Do9Krf8AKYDy9aK7QOkN/92It6PGH+R3VcqRS8aVUoUOGWmgkHLgSFH4HfxVLCj78ZyJGpZrnPnBR6dke7icwKwo+uLbMpo7XA8ka0nBf9qpgfutbMP4BzoUcicOTEfmQ6UiNxdVf4UBM0lBhSEJIkQtP7EA== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by CH0PR20MB4059.namprd20.prod.outlook.com (2603:10b6:610:c5::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 11:32:15 +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 11:32:15 +0000 From: Inochi Amaoto To: Chao Wei , Chen Wang , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Inochi Amaoto , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 4/8] riscv: dts: sophgo: Rename cv1800b device tree file Date: Wed, 18 Oct 2023 19:31:49 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [67jmYEbwx0bcn5gevE2IXsUeEOwGt6DeTVhZvOaGydw=] X-ClientProxiedBy: SGAP274CA0021.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::33) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018113155.1605537-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_|CH0PR20MB4059:EE_ X-MS-Office365-Filtering-Correlation-Id: 701e6075-55ce-41a3-8b75-08dbcfcde0b8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: a+dZ+TLKT4ZdLYZd6TK47St0IJMOkyZBgkiTtXLS3hnMxb9IaiaJntJSkcfLOZ0isZapoHZ+Ws55WJxaur/R/TNRNveLCWIt8EhgK3nn0G7XW2+67UYFKzccC4tCc6GL8AXPSEr/IywIIA8ml/hDv4lgo73SlrcBLnC6DEmkQWUmWfifjUSYxHf0vzuiN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E4Ga+Z/LG8GY6bRse7Lkz/mv03dskhuZPLXxvZKJfoGE0IbzYyIe17jAHHtgRDk08ox5vdLeHJ/eefigEJ4FNaZxjyC1pMn46HfIjvfueeDJkM6A9iIl9CtfxE3hdOVWlBcViYyLhEVhy2fG5wIEXpVwiByEfpH+wqSbKXaT/U6vT8g53emA29XNu9cqO9Vi3WpBiOL3OhC02WpmytrT0oaV9/FIiidQqGlXvyKSY8DVRyo6jFJc43FRQ6qpDp/lwVCb4Q/GYLnR7QYeh7366KnfdOUf1lE/g+7W91kT6ejEmuQ9+g4d+NPlbcpwyGHW10dVezmqZv5v70jbhRJw6wB64s6BheAZ1OWRe/NNETinGbo5lGqKtrxrMnf51RCmSygMj9Mq/+YDN41rI7oAu8DjjeDr4c2OlYyyj59bobpQpNz0UEM5Tj8Kc9SL4OyRHInXKK/9uHJwt3i35xa3srIoUtPL37sSZUMQqFInZRqflOK00stPBAHrQd8nOrW405U+t9oyEdyeWINQAD5JhDiecxd3J2hlMNxJZiLZKJPmh9JzlP9tCYkWJKFi+Mu6a2tKXvOhMwk2WSttLppeFflgfA8UyEyl3/0RAk1NIV6YB5FtCdSVYVqJifvi3t98RRpa9P8f/DVUtoVJWuE5gBYDX18+18XNqMgHuUtI= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 701e6075-55ce-41a3-8b75-08dbcfcde0b8 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 11:32:15.3405 (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: CH0PR20MB4059 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net As CV180x and CV181x have the identical layouts, it is OK to use the cv1800b basic device tree for the whole series. Signed-off-by: Inochi Amaoto --- arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv18xx.dtsi} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv18xx.dtsi} (100%) -- 2.42.0 diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi similarity index 100% rename from arch/riscv/boot/dts/sophgo/cv1800b.dtsi rename to arch/riscv/boot/dts/sophgo/cv18xx.dtsi From patchwork Wed Oct 18 11:31: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: 735941 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 319AA1F5E6 for ; Wed, 18 Oct 2023 11:32:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="a/IVI8RZ" Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2084.outbound.protection.outlook.com [40.92.19.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C1A7121; Wed, 18 Oct 2023 04:32:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AqNgv+y5uxonskYJK57mUpiNdG+84g5+V9J8FECiOugv7nhX35oa6cbmLoUvJqhUBGmmR2ou5fLgDon4d6+pViXtsK6Nh0pF48v51hqaWAGa8vxA587j0zoph88NBKZBxJAHEqnuwEVkJnKiV9vho4RfjEgubzTXEaWp81ZLe2ekQUc3NjiLqpF5HQy7YQYUIfksP51ZVPIyUT/otuR/a1kbSgOF67JvKiPx2O8IoS6IAQexDwCahQIUMa2gwuCFEXXEapxVf9serkOayRBPZM8JKhfzCHYCDVdnjHSQz2bAcKzN2qNNx2mJcA+/LeFZIm9QX+5jL23cI960tbZFpw== 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=VgUELkry1UnbxEfUChA00Dxb099Tltu015gjdChFyUQ=; b=BtqfcjI4JNCQBdY/lSMSLrwc8bVxdKEdgUL3d3nhVASq2XlUalL65CSiJR9HUWoPUIGsYqzG2OnWT3zvxc8UhGW0KkTA0VTPMuKNoQfAYgql3lkYB4g/hL5WnKIfUzYtXXlfmVwtRncOzsSzisqzrOKvQWx2JDMDYjp0eZTrWzqUpj39GomgM2ir0Bcwc7atp/Rsqq9RO+rAcpbxJ5fZz1ptjrITUtY6u4r2YxtokeZOmvIFQScU8c/wcivl49MaePMvlhe2IN11j3bTS7vE5TJHaCNwEF+gwMbmKRI1URPdnhhw6Zh1C7m6a7fLMWWt2NZBnZ7awEF7lqX9IF8vAQ== 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=VgUELkry1UnbxEfUChA00Dxb099Tltu015gjdChFyUQ=; b=a/IVI8RZ4Rm5lOwsL7UW/CF8BUyefvb3sV2daxNeZTGULnDbuY0oGW3x9ylWLbj9XSRrbdK/8cc2rwFrQXpUwbEsu4SaojfDqRUs9a7QRyRBxry52NnYU+oHCgh//mee2N8hjnGeDGfRPfVBV74Cf5Wqbu3OF5lho85lDtZ7+sL7RdwXp00P5LXui1dGHgM5Ea5Z6WXlkyTiFLHUnY7QlDwY0Fw/OEWJB5jDFT74OSN8LHFLYhNgD9dpdozM6Z2uKxdOB+r2r9EG6EsbNMOPjjWjnrsoxMMGDhD4i9XC+eBCnUjPrW50fnrvlxoAgANyGsGvHRmblKcyK45F3VTQlg== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by CH0PR20MB4059.namprd20.prod.outlook.com (2603:10b6:610:c5::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 11:32:22 +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 11:32:22 +0000 From: Inochi Amaoto To: Chao Wei , Chen Wang , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Inochi Amaoto , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 5/8] riscv: dts: sophgo: Separate compatible specific for cv1800b soc Date: Wed, 18 Oct 2023 19:31:50 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [EjQgZEOU/j4VUvAYZvAPKdn56N7v/XjSF7FucMAFRSQ=] X-ClientProxiedBy: SG2PR04CA0173.apcprd04.prod.outlook.com (2603:1096:4::35) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018113155.1605537-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_|CH0PR20MB4059:EE_ X-MS-Office365-Filtering-Correlation-Id: 525c3de9-ad43-43ea-9aba-08dbcfcde4f0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Xl+KulrG2Ir4qRvAPg1IM5eD4bvloBi/3MgjgCds3D3/cuEKceqpqX9u9gsBuvzls9D0VBU8ifQlfTrRNNiUnyZw9cK1GTZFnIiv9hTlNGrHdLf2c5NeJBaUTNxaHoDChGCzjBvN3Phl/HsNBq+uy7QYTOKpuzG6me4WGs3K8t6Wv2wFszurBY8IJL5V6KXJ9l+GgxU48t02W1jwsiYsPGT9l5didbVYBbAsFYJ5xb3G7KCQhPeiLtwzSSJklo7zVZ6vVsXogHxRWkaH7toWxkITgtsAhw4HSSgcVmmPvtI/A8MaaPprZXi2rmrO1zurVkfJrMwLLNZBOx9AHjvHvbsqaGsN3JFPTHK4ZeWeexEzfCRHo2lQKVZi+o9wu5U9yFD4dUQFvdWOKSmZS0Jmd5DHag24r/uBjNk0hrLu66QhzUm4m/tU9+aE4rMBhZ9k+Yo8YXr1NuKzwulSJ05NY+jCOUJoGgMnAdfNCIEhr+wv72nNgfXhuA1ZPWcb56GtedGa4CqVG+6ULHZ3ZUhylB1O1QpEoJVaitUpXgV/uERUlUQIMhf6RJk7awuY5M6I+rPeTvyVGQOZ0vbXLiIFqT3URLS+3LdFvhrIZiUYmRB9Hgrq87ClxMGI7C7joYRk X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ODzZPOSBv4pmvVM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UH99E5KgBbSHq6VwFMfFOhaiLlTkCVItjdU7PPWfusjZ9vhSrJEU0mRUSOwQUTSE702hk3gY1T3kvrLW0OZYinnfQHa6jcqAk43jcLY09P88PXscFb+ii8ml1FgtpfnSFbBBXKMHLlXV+sZQ7TsNYed5xQqlS3LD47NfZumTW6tq0LDHZBeg51N6WZW2c= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 525c3de9-ad43-43ea-9aba-08dbcfcde4f0 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 11:32:22.1264 (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: CH0PR20MB4059 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Move the cv1800b soc specific compatible out of the common file. Signed-off-by: Inochi Amaoto --- arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 18 ++++++++++++++++++ arch/riscv/boot/dts/sophgo/cv18xx.dtsi | 3 --- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 arch/riscv/boot/dts/sophgo/cv1800b.dtsi -- 2.42.0 diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi new file mode 100644 index 000000000000..165e9e320a8c --- /dev/null +++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2023 Jisheng Zhang + */ + +#include "cv18xx.dtsi" + +/ { + compatible = "sophgo,cv1800b"; +}; + +&plic { + compatible = "sophgo,cv1800b-plic", "thead,c900-plic"; +}; + +&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 index df40e87ee063..55d4bc84faa0 100644 --- a/arch/riscv/boot/dts/sophgo/cv18xx.dtsi +++ b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi @@ -6,7 +6,6 @@ #include / { - compatible = "sophgo,cv1800b"; #address-cells = <1>; #size-cells = <1>; @@ -105,7 +104,6 @@ uart4: serial@41c0000 { }; plic: interrupt-controller@70000000 { - compatible = "sophgo,cv1800b-plic", "thead,c900-plic"; reg = <0x70000000 0x4000000>; interrupts-extended = <&cpu0_intc 11>, <&cpu0_intc 9>; interrupt-controller; @@ -115,7 +113,6 @@ plic: interrupt-controller@70000000 { }; clint: timer@74000000 { - compatible = "sophgo,cv1800b-clint", "thead,c900-clint"; reg = <0x74000000 0x10000>; interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>; }; From patchwork Wed Oct 18 11:31: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: 735306 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 B09FC1946C for ; Wed, 18 Oct 2023 11:32:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="hSEJ57jW" Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2094.outbound.protection.outlook.com [40.92.19.94]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35631127; Wed, 18 Oct 2023 04:32:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gsUowIHhULSqJt6rSN+TC9NmkXxrhgFliM1Dcp145LQzyWvgBYiIUrr97WxYZhfqEBpvn5+Z+lvppXra72jyc410IDz5uMXue7u1qNPmDJpjcnh8nBYOuleKYVQGq9vJJbNJwMcmn0dMgBsGYlDyljUvBMNvjEziECdw6Qh1RU34lBuSkEdOqVDEjE8gGvAMFiveg6NxTwTN21k8QJe2ypqimxJWwef1E/IRTnKnyAEeaZI6F/NjndSyDHB8/gyLSZVSzWuwRmgMYERzVBvPgQZlFWls2RtaYSqWs87NR5kdsZyhmvYpWxqf6SFUNVxct4sW2FXrUZqBZqVK2iNOUA== 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=Ay/KvuanBx/aeVH6tpwROK7tN4Oi9lT9UQbG0hRn19Y8r5o+AtX4bjukgyR9jhFPHwln+xm/WcTjW/E4oE4U3CrR/AL6HNWjyUaS8IMZbQwiszgPBvVC/nJY+zKESRmCv2mcHApYwlqKCmsbjXEiNV8KZRSCeR/VigVunJaiyuoZUsOVbFQLE0OsXHNEHKLnSspUSAs0b/pc0P+Sin8KAS3NVFAtGuvmQKEN03vF5foWCEEmU61hL2qt1CLw1TSqQ+oAC0HhwMz8EDz0htvFxPGomC9fhNIo8eX4hskkYuUOz+1aglrYAL4c8TzUryZUJJ2obou38K3pUO1Up8cGwg== 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=hSEJ57jW01qvr/zZMHK3yR9XqYInswp//HPxUPFocrcnoBJwqhqUoNzdfeces0FQx9AH9oxXfui4B9LQALlflgkZ1x2n0iIf7QUt1WUHTiziV25+0s9ZKuRlph0XGjppYcXR41mtvauuRT9wSxdtceo2pzJJ8DEd7oEHpLr4/18/VKAHab819jcnb6iHihWFVKgKvS/v5a5++a3t5NonI73Ab4akXz9u5e+1cTgYAVg47r2cZz50+bE9nFxb1BKujJknmBqkkRIwK64/xtkcXvEbxBt+MVM2owhVoK6JbT+lQKMlv+0q/Sz2tx3ofj7iGxaQ7knlizsUqUqWHcHyxQ== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by CH0PR20MB4059.namprd20.prod.outlook.com (2603:10b6:610:c5::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 11:32:28 +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 11:32:28 +0000 From: Inochi Amaoto To: Chao Wei , Chen Wang , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Inochi Amaoto , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Jisheng Zhang Subject: [PATCH v3 6/8] riscv: dts: sophgo: cv18xx: Add gpio devices Date: Wed, 18 Oct 2023 19:31:51 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [kbszRdjXBQ3TueDq7Qvpy8wHOHXo2F6GyawFuR8F4a8=] X-ClientProxiedBy: SG2PR04CA0156.apcprd04.prod.outlook.com (2603:1096:4::18) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018113155.1605537-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_|CH0PR20MB4059:EE_ X-MS-Office365-Filtering-Correlation-Id: 766c74a6-4bd3-48d7-89bf-08dbcfcde8b1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C+IBk7P5rVNhbZoqAD11HThfAyCbMO+vOalclAsEZLrCU1IBPkHHKA1VRozeIQxmpPL5hVQ+7ISvFCcRZgCKBXL/wftTVE8Z6/weHTVI9RGTJmdwGJ1kUoczDC5wTFROebghk6vQreCPoAijzOnMEADFC9PCdOsVEQ5GSstBbfNWS3r1AgdOw+r68RaJvuK4StFDDxaTENryMtYgPK1V/eIfPjp90uQYIJwJ4oDc6AWzA6NgZEe8/SmwILOQ3Bgg7ZjixvBa1C3ql3QVY6A7v4z2FtuwQMDDzWLyr1u3AbaOsm75DvGuDamp6M+nfRTgxy+vQKimB95ePUY/P94GhgPtI8Boriu11Nz7BF7/2kEonxpU4qxOTQud9fyPUU1IBjK35QneCz6CwxCEgHcKrjLOxZBLlD59k9/FVigfVZPthrB883XV9QdXY8MF9s1+ODwG89U1v2wg+EWN10a//1AD2faUxQJApEz52zCHFOpz0zfZRI///WrtNnvT6ywxPCjur74eiXW6modRDN8MxiGoO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SkRtuIT9b5mq8UOGYoDpsitgRGZN7d0o/bbajsBsm/BjXADXTlWe5lfSCs1YlixNjbQ/QOBBQnMS29LLf6vcdsh+FdDC1POkpmfDfK5wNYSDYOm9XoQkC4knFyAXbGYeZK2ckOHHo981fSpCYGBk7sOS8AC7nrBnqh4/pIBy0KrNICwV0tTbOcg6WTGCkKewUHOGYqOVS+Q87h1PSbclWy1Xp5EhJ6/FjLSq1tNNY/mGb/EZ0hsOx5Mwuxo2IhDjGrx+6MDeBs9C7sHj2VMQQS7ArzG0YSA0w2KcOUmMrN/PIokHXvyCebhQy1oSNJ6M0gc3XsXl8g2FwE= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 766c74a6-4bd3-48d7-89bf-08dbcfcde8b1 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 11:32:28.6116 (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: CH0PR20MB4059 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 11:31: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: 735940 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 C41481F5E6 for ; Wed, 18 Oct 2023 11:32:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="PJ5xnra+" Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02olkn2077.outbound.protection.outlook.com [40.92.43.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB9D513E; Wed, 18 Oct 2023 04:32:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cGMeXE8YNCAEFBcJJrO37upy2G/+mrQAmbSxMGpTpElOYmSde6UWuHBtsd0ljLBS6HCMAu8bbySgqX1YP+5o9bT4JHGgnqMrC/sJQBTjngAFMhha/a96M/8qZjyf0HBNh4JJxmX3E53KABP1cLyENj7TEPPu1bC/kJQejEZMn98QpnfVV4J46c4L68lxFDcxxF8em0Rz0mzSJij90P9DWjCpsaT7p263cUrD/fGCBfAk/G6PQbD7bZFRtVEk9tIMpT6Kx4+d2kAWCi2r8W9dUT524NoFnzjVL/ux8NLvSYiP0aA5RHFzClm0Bcy+DgJaN68ruxl19yp4AfkQe87LOQ== 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=gIUphoK8dIqOBCVOjh0N7iX6Yxs6IQK8jJNCKNoj8ueybNjk/v4aLldNFBCbXx3ZRRm//cJ7aXLeKQoS+GcjeKQiGWJ+HGqS2kwM7pYj+Scww1ygMXYT4xzx95l/QFDZTbTBd9qt1HqODqSHaFfsZNb68ZAJAQ3pVkajNkPkHtDS/Yi8LuWJr9e4SEzOvJNS4X4/noOdJo6B4ccoKEzbDAyUx0cGBZvx/JXwULORMWK9xofnnsv/r93Cvf4uvZHPC2RFaIlgrdVX43IlWC2pxZxvi0bKGna+DOeKQLT7oiWEtIiSzbqbDunIfMaUvLZz+JUGfeOH4Gpx0UxTjmlWow== 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=PJ5xnra+BWq++9AQe937DDaU7ABCJVYAq5YIaQtSQcveh1fqUdPZ6m9g40Nk+UC0ng9GcxJkAAjlnDLRoeiqzpOELDkzZ2rMKLQDRB1UC95cVUxufuqq5Y0v7BJDiDNYs1PFN/G753OA2LrP6Lk9ThIkRyXQbEl2NsjZcAVQcrbavJJ3up3bsJqll6N7fyxhEZ5m7tD1nP9JobgdM4O1RX6FzM/NQ9s1acfJiWrmSrwo117SnoHTKfTpQslFQ2XKonKwJr+9s/ZN+kvAw27BnSr0BQhdKf4zeCjHqtB+aYgzoVw39tkaUIxDOZELK2XzoeN0sGlNpbxiABcb4J6uJQ== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by CY5PR20MB4772.namprd20.prod.outlook.com (2603:10b6:930:27::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.46; Wed, 18 Oct 2023 11:32:34 +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 11:32:34 +0000 From: Inochi Amaoto To: Chao Wei , Chen Wang , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Inochi Amaoto , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 7/8] riscv: dts: sophgo: add initial CV1812H SoC device tree Date: Wed, 18 Oct 2023 19:31:52 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [SkVOrbM0BZLVmW9jNhddksf6hWU/8qn+MeH2MTEyUL8=] X-ClientProxiedBy: SG2PR04CA0162.apcprd04.prod.outlook.com (2603:1096:4::24) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018113155.1605537-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_|CY5PR20MB4772:EE_ X-MS-Office365-Filtering-Correlation-Id: c51b1ad7-db9c-41b4-9d11-08dbcfcdec8c X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +x7eqIusfKkT69vde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+AKfh1sDRyRAO2a8oB1n6RR9nhGPO5ZbWGOyjXHncVfgWJdy83zeafTScclpkgMWs5zQtEUK4HoYh0PZZvrcOAycrIyq26GFw7p9ft0+MEnHcHSWUtBn03d2u4m8h0y+q3uAiaktHB0elTGw/yA4t5KgGZEqWN36qZ4XO73ug+lwf/gxdSrNfpTI680DU7ZomeAuUT5cGq34Bzn8nT7uYMMuqoT4o0J6iRH+O2uOKVOaa/uMpCMxZkkluHDlb+Mkt/RF8V8wlubG19P+IA7eI9tBWwEqzA4Aoiie9XMsA4Mg1xq0yOZA21p8OEQp4pKRuma9Er2Y6zQOVumqai8XzPOYsBczkiX0ilpoaxNBwYdRI+4/exLxIgfDjORUMQJ7MVDX5HdkXFqJgw3pDZunwvuuDjDARA3al2wr3IM3kzr58wFhBiNVpNybMFDb6oojoJn08aHYUsCnm429wpoTqmKfXPbGKMOkxixnH4UafnawX4z96GHzjxsSNmfKAoyCuik4K8OKQCMDzXsHK8oUsM4KnV7jw93OhKbnPFOG7BYnzZNgYYHMUvnoTDJy3MH0UlLsFwZTDTMk2AWUCdvUQFag0VBpnEeksr3wX8ie499QtFFcukQRYqUg4yRjz04x8tfcNMUDDIJ1OHeAbp9F1ZqHKB5wauOVKnZnzfqQgZIDNOT+NUiwOyEEnwiwgw8tBFR/F+oJIHiUHS7SAl7+V5+GqqExEGtceYGtuj+El7C1+pEj+iy0V/SkLB/OkQE+tvGMjBBmx8Ch2ek3eowP66vdurHY4/96bgRbxCZSKuTMckcr675RrlkY9+52t64W0zpWk6EWJgnybTGllqGmD8PFPJtVIU5SeG7NOZyi05M= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c51b1ad7-db9c-41b4-9d11-08dbcfcdec8c X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 11:32:34.8877 (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: CY5PR20MB4772 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 11:31: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: 735305 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 C682B1946C for ; Wed, 18 Oct 2023 11:32:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="V9Wn/6gT" Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02olkn2095.outbound.protection.outlook.com [40.92.43.95]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CE3913D; Wed, 18 Oct 2023 04:32:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RmDVWHexC0tQFcsTd62SqV/aLT+at3AqjxMo1Zlj+KRRH6/qmn1RzOAti3HRceIn1vjDin9ug7GXU5D8px5WgCzmZaYWTELiZW3hRg7a57cDKkXRkOu0auM8STyD763N7FBbXDSptWI8VE6a+vNeMR667kTlQEI/WVCA/N+nkhKvHqFrrW6QLZ2mBjzUXgcR8HyHdykpxDL6ELtg+7gILa/X4YNrQ43AGadiqpXkWyz/tpjp0ZUMS1/IphIp7EqMmR3Sj2GfrRZSKDgkVn/ZxNQvl5u7GBO7hCkcFmyBlBCgxEHWxZH0MLtYvro0m/oJIZSllACUtna2vhYZ7NzuCQ== 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=NcFv15oY3bkc96bVyWefDUKrxDjWEUUPH0FHaurSs3WsX+yQQYcwQl2WbEqCvgkMtWtkT2oynqxWG53/P9yU0R0jm83NX9sFTtQaDaTRKjZfH3t/s7XZQDso2N7jEkGqpLMrVRKb9DXJMmXoZyjJRouBR6z/7UXDGwEuAfIB5XYUEzvxHsTdb1wh7TP6icFOqyJEsj7bPkeYmwo5KYiPQeNR223jFxsKc3jSI7CkHd55tMYzEkq0MCumNHeHRiuqWKbMte/TnYe7b2mjDW0N9zQ2aSoj5IWPvhCE6/mQ1uO/L8Uvfq3sdqUiEb9fyE7HTEPl1oNZeKst0B7vVku5Xw== 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=V9Wn/6gT0+P8Pm8g6acYWkvDKVs0DL46HjU/cgAXmV2nxRDsQxdH6PedB03HbAEdXzkMyOBrfG9tL8T3DCQfAshSMpN+ktABkc87vvqmSY4NwLDuvLEX5uEBvRjceUTqCGypL4CiJr/83D7r9i8e3Q9THp/kvqKDGwjAmx+c9rlUinadIaC7jAcHkQ1pCzHwt1o2CIpgH2w8Af0g/JrdT9fwZ3faQSzuGEiVwHguAvtNT8lhOYxHowArkoZc6D48jk5jAW4TOuECZuJUuw9KlL8vQjNwiJpES25ZGcIeY58+Pb9/qr0+s2JOhBwAquMGXlEK6X8JdBossQDATqfN/A== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by CY5PR20MB4772.namprd20.prod.outlook.com (2603:10b6:930:27::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.46; Wed, 18 Oct 2023 11:32:41 +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 11:32:41 +0000 From: Inochi Amaoto To: Chao Wei , Chen Wang , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Inochi Amaoto , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Jisheng Zhang Subject: [PATCH v3 8/8] riscv: dts: sophgo: add Huashan Pi board device tree Date: Wed, 18 Oct 2023 19:31:53 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [CRhN/S6ZeOCrGtsoa34BwfxNtc1DWL+uwymuLhpXJCY=] X-ClientProxiedBy: SG2PR02CA0124.apcprd02.prod.outlook.com (2603:1096:4:188::9) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018113155.1605537-8-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_|CY5PR20MB4772:EE_ X-MS-Office365-Filtering-Correlation-Id: 9716db7f-0247-432a-74ce-08dbcfcdf06c X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YXT2JF9N2kvKdDG/Bj9sjh8ocjsDV1NxwkNaUoNAtcN5jz9rcchznGM42hg6rA5KCT8Au2J/U2FD+gRwk+GIraTnOrMfTAPBsvdQ1kWwuN5bkDYpsapOaKEM0z7Z9gvZp5lJzvq3WV0U+liEkdt+w2z58J6bd4ehcf5vltjazjtrS27nJnof77zz3m/uch4lBHsCwMhOBVlJdSEgOS/mr1V1Tn9swDgsXEppA02x9mBrsxbl2ghYDd6604bkvJhSqzkFBRCr4iFOJqrOmbh01WczhYYaoIwFtF3kGXZqtatRiifg/CTtpcihVn2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GeOg8iWPI2suql/vHM1Dau/Jxx3hTie61empvK3rxd7B5JSjsrOx2RfZythHZ7X0MP+CbjKbKZe9QV4H168XR6lOCSkep6DAuQTvLcpuSCopm8NCciXaxXdibhSejaNpNrbx1biJQmf3a01nYmJWBcKzXizaY3Q75TliTBPDg4iP5FloXwimQHA6WS/Yd0mN1fKnH8hPXbv6vtwrm8nRCx+M1npTBbDYtm/IFUz7f3eooxAyjwA2C9o8ReIwlExPIDX9oXD56N518bghiE83ww6uqQP8Po6cFp6wnHYUCK7NipuNc8COks/ERWUu41CShg27xjJA8Y6DqM5QjuPwlXQniI7at8N9LHbgtZufbcg8VhsrJNBjp+y/8i9n/QxdVyTCYjU5tlruWcFeA91Ik3pjPn849uqN0OyXh5AGN5J7Uhn8RJmAaYPH6nPG0rLrxZpIrBEVczDnSB1BACUqr1Zyzb3JPtiVDPt9aLLL4EiW7/HRlJMotbp08/QPzguXUDM8HXLtZJUC+zxLYI/CsgiI88Aghk/Spbtugjn8GjYtXsyYaNLex0HeSq8Az0JtPCuvbSWKh8aqPRQtsfI+iD54jwYkUE= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9716db7f-0247-432a-74ce-08dbcfcdf06c X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 11:32:41.4165 (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: CY5PR20MB4772 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 --- 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"; +};