Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1826209rdb; Mon, 9 Oct 2023 04:27:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEY8MkYfw5zYT5uMfJVK0OLFNm+0N93FC7n+vPdjiU6/ud4fR24UuYVag4CjT3rk5Du85/h X-Received: by 2002:a05:6a00:3a08:b0:690:cae9:714d with SMTP id fj8-20020a056a003a0800b00690cae9714dmr13896732pfb.13.1696850837131; Mon, 09 Oct 2023 04:27:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696850837; cv=pass; d=google.com; s=arc-20160816; b=lo+hgqKfvIvqKQ6lYQV14md8nJ6kQ64K2dYwTPBtnxrlTa83kQ3Mb6zMUiDr8mkkKM VAVm9qfGl/5uQ8j0tPwLENonRtzbLr4R5ukILa0fT60NgAXEZlMiG96xL9iXUX7MHt/8 XS43pBAJ1CEZNsW5cXgFDlJ9x2Zs1D9BGsPhn/VV9B7h04iXmNz/39wyN5JDo2NAhfcl QGvCs5XLCAHQaLszNWFTeEPs5OiBkyHTT4xRRPhinj3I5jR4YPlIshN1b+hZv9Q1aKJt 4DYEAVsNnrwggHrf8b2ztlCc7Daef+RH8fkaD8bKzCY/8TvK6KH88uzya/kAyaxJhguf oUtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=N2Q39ntiyZqWBW26kNVYngJRfZ7Rs+Igbg+vs760ZMg=; fh=mcWLIN6mbRIL8JrNNX/ZF3ks7u7qlfWJqKsFcQ+QGeQ=; b=n5yb9tQIZbkqS0JCLlUugTEoPNy35/WDY2p3dmq3/q1P2jJk6uoqpbreHD5zUeTBFa dEZVwmftaROhEvG0z8UtBKM/kWbfEJLjUV+ncswql7v7OvHITZM1AOz6IB07aVXL58XX +VjiVZNQmaEzps9+q7VjoG+NqooR5lNyIqqAMfb5VxUk6V8A76oEtw6MKZrvwQfnwDV1 /OXKnC+dL9Am9ffFE+M4UvXsljvr/sKcFtBA/8R6qE/6ClvLB+JDjNf0QWsEqGZ3ZmH2 c/P56QVVtFIVUgkcx854kwE1XxdZV/7YM2xq+N8ZU38gxgynD6bf4NweBe1V3f/z8MX1 U0YA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=nniuy8Kf; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id g25-20020a62e319000000b0069026fd5a31si6727219pfh.272.2023.10.09.04.27.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 04:27:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=nniuy8Kf; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 0F35A80774B1; Mon, 9 Oct 2023 04:27:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346430AbjJILZ4 (ORCPT + 99 others); Mon, 9 Oct 2023 07:25:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346334AbjJILZ1 (ORCPT ); Mon, 9 Oct 2023 07:25:27 -0400 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02olkn2050.outbound.protection.outlook.com [40.92.15.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6673A120; Mon, 9 Oct 2023 04:25:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WmEqVb8gf+qtU+fjl0oGWBpKTPNpLb5UbsJgNSAfRt5j8WPEwCeHbneyUvrht8VrNGzP0UG2lTk9ddnEasEe0c9rtTKiYjzh9kGw2nAjHXQZR4VcTSGUP1RAD+wr+t8v6GbaZoPKcD7BGPDnsPN4S63SShZzE/rHw7QuTdxkqn8bTkx4lFY33IAQ3rWeplhIOWoU07LxrvFIzlq1LtzP5K+7gI2pDm6kASCTuj/mIGoAuhHUMS+y5+Hxd0Q9Jpy2MJdCSILGXmghpyV+FtkQ4OfB/IeXwubhwaY5v1eFcloTnSH7TM51gwluCqJ/evOCf/OJ6rosjo9eA6EtMSsw9Q== 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=N2Q39ntiyZqWBW26kNVYngJRfZ7Rs+Igbg+vs760ZMg=; b=O3GQF3r+1ntiKYT59+aKo7kfpv08SitZfzxM9zP3AUhjHqce7b8iyEuObk/CyA0aPHAaUQgWMLXkmB2Fxz2+ZIYF36DoX0CkL5h/wC0VhWt6AEmm2klMdcGFAPbQOnGwfWsfS/f3/6YCpOEzNLSmFcfsz7wiK29G2ErfVYbGZcPPwEKM48t30W9p6GQrU7qz2nfRDkdV6nQiLtnB3gEDRHx7+DTUvYur7sAgYac13+/7HQnNyIHo61j8N3acDe+lex7whsoyaVBJlVNE3AWgJnMCYVUGU4bomWJKJSjCLBZPoswzRLcHmFPR9539QNP28DwhEDPSRyFBmWxegAmUgw== 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=N2Q39ntiyZqWBW26kNVYngJRfZ7Rs+Igbg+vs760ZMg=; b=nniuy8Kf97aLU3RYTkUhR2PTqkTdyyBwP+JEjXOFejTQYOEda+S5RHMubncnHolpoRmjhUU8rpUf6Q/gd6ddEAsxux0wRUfLRiglc8WLuYLrRSeAdemcyNXNGhXodrct8BgZ53FPs1+TzEp/wEJFogWIDIuGmS8v2nJORZwV7NBIj7zTj5ieHhZuVMSfej1v4YKvZxc3HY9npT5nbx51iaOGO05OLt5+01lKTu9kxFUMcd9oGsZ6kof88t51dtr/acTL7PlvDgpztpOU8JrF4eYYmKcKpJA2uqyEFSP1oEa5kmm/GWlpuiElyxteMgQ+tFnZUDzqUxh7huwmk1Da4Q== 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:25: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.6838.040; Mon, 9 Oct 2023 11:25:15 +0000 From: Inochi Amaoto To: Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Chao Wei , Chen Wang , Albert Ou , Daniel Lezcano , Anup Patel Cc: Jisheng Zhang , Inochi Amaoto , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v2 0/7] Add Huashan Pi board support Date: Mon, 9 Oct 2023 19:25:14 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [8OJtKQ58U+IXxkwbUg2cUqt4spXaCenyyGuySXKtNhs=] X-ClientProxiedBy: SJ0PR13CA0153.namprd13.prod.outlook.com (2603:10b6:a03:2c7::8) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231009112517.477055-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: 5c499fb9-9a13-4916-28b4-08dbc8ba6865 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kgeLRZy/27Ddtxc6OMH6cUkJ0AcxOPgT8Ec3nFcZzArHsI7NyLZ/I2Xa2+9U6G328EtNfaxwnLRa5jZ8/8kL35xO9M3NufIEE+t1rlzumGrqjcMB6+YXoZfvyBIjnKZN3x6bkengL98KWk3gG+Xi27pOmuwCGWjiEiX2Su5LQXZh3uP2+sF7tbKIU3TNXRbmL98kUPkK6ANy5sCtPOrSie8Pv/7Af1DBGz9sroXMHWLeTT/S7gm8m5OsUUSXOlHb9iqeQFQCsX+A+ePTi6VvxOcgcGs2RQgWMO1+T7tAPO2v1yqqX2GArelGnFqrwq5mrdKLOF7CrG4p86XXiih6VmDtwh/RS3UvlfSZBk8BLsVgg3GCQYX7T0mv2m/f4ZYaZ5f3ZoVdyo/oY+0V3RlkXu9JfqxxHO3c3kAYksWnfvKORnakd9rtOmofTyBzzL/6cTxhuT8mVlY5iCRIK8Y2z3xSUI+3dRxCZIvIqZ8SOsmmHw7MnwVIUo1+pWIQLOBJqbQUuGu65b4y029ChHYhq45P8P2Bg1C7pEAC6mo1coFLDDFWYhh/UDRjXQv0ipRgN7KGtx8o9h/Z3lmy+24E/P58BBDrk0E6+Vxisc2HvwtKFu8lz0IsPupVCCTZ38wRyd5egjzU/BDAuPLybDOYMFvBMMirqTa13aLN1/+G+Z4= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?9yD2yaqIgwGUhmj8evI2nWrVrwrb4VNB7mpGQceLIImFdtENt/8S1/E4Y3mD?= =?us-ascii?Q?I1IH75m7OkIA7KkaMxOm4CnkOrPUhKIPoKdqamPgSTsb/ewOGDTMwHVSnVDt?= =?us-ascii?Q?o1lB5+/MKrWPT4LE/8d2BkgIhIOwaXZATM8cUpraRddmT/cvPWvgrvRY+HPK?= =?us-ascii?Q?1z6sRNfc94UekfXcygXphiYAcTRf7XRoEId8OusUOqJggMKGIgJsHmn1/pX/?= =?us-ascii?Q?0977L3yWp63CeviBKZGm6BqP9BZiEfbjNHa+LLhJXJ23hi0YCYehdzLLJJi9?= =?us-ascii?Q?brNRx3fw5BQki/pkWhtcuBnLWBPWw+s83PQXJoNj990n3F+U24qji6+LLFJg?= =?us-ascii?Q?AqdEI+K+RRRyx2/FeZMP75RgiX3uHJei+jb3lOCQJhxllLK9XXG6GoAloZN+?= =?us-ascii?Q?A1JTKUAtmcT88vhsSKqywaDoUvunJ4snPZ5ucbZm5VWeVsGgDCxq0iFGF9QM?= =?us-ascii?Q?kiuNDkG9uFt4EsGHtDB65E82NWMxUCOtfhvWkI3LvvfYEJlytujIdHGdZOx+?= =?us-ascii?Q?GmZvsfmhXVdOW3BTzuWyEU0rVFreY41G0b964X9cP2G2IMjZ3hl634V2FeEO?= =?us-ascii?Q?2OHXep+VDmIPHKTyjG+xfUI5CUGBvgcAmCiVxHxPq77fgvpvEHZBCrBPNVD4?= =?us-ascii?Q?dyC0x+tMpmFioebmPsu+HYSr5+g1432Xr/2yVUEbkzVAMqXicHvBpVfgt07V?= =?us-ascii?Q?KSsB38J5Xk1vb65cntQ1Mj4k5QPoUHeYSyabWRQMhzitmMJKJOKIVpsYwHdD?= =?us-ascii?Q?uTHIkOBT57CGP7a7BRgbZo6olvnh9W49f/g2TYCHqsHLESengyRelXaoqul/?= =?us-ascii?Q?DhLiVN43qMjJsTpWsT2PZD/zxmIUxcV7yLFfrmx4iMoBLbsfB9qGSqlwAR8N?= =?us-ascii?Q?czi3+ueLyc6rLh4B3nB9Akj43RLCK6+mQhxRylAvDDfRckG9mW+QI6tSOZYt?= =?us-ascii?Q?MN1bwX5k/g/ZXOKdt4B9P7VfLJtAdbwbE+Be3JFiCj2l6w/29YiNKx9vshrM?= =?us-ascii?Q?W6wBNo3oajaoNi3bfTv2CEJbip6ZiZmOLRktOQyVbNYj70iBgIXQQjCRB+/8?= =?us-ascii?Q?wmMX1IbZRqSYL3lj8dG27EOwRViq6HdR8pmqvRQbdl+vJJAYRmvb4siAKNdp?= =?us-ascii?Q?7FfpR9PK4J1YmHH3+HhKomAH2tOTIVBdaKH0Mptw8+nxknSMzSTWkJg3FKEV?= =?us-ascii?Q?gDAPYUVQB8IrhCLFRzlJdOfOi1AeUEk6hTKI2Do27zadRxYPjt0Iht7BcBY?= =?us-ascii?Q?=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5c499fb9-9a13-4916-28b4-08dbc8ba6865 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:25:15.4866 (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-Spam-Status: No, score=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 09 Oct 2023 04:27:00 -0700 (PDT) X-Spam-Level: ** Huashan Pi board is an embedded development platform based on the CV1812H chip. Add minimal device tree files for this board. Currently, it can boot to a basic shell. NOTE: this series is based on the Jisheng's Milk-V Duo patch. Link: https://en.sophgo.com/product/introduce/huashan.html Link: https://en.sophgo.com/product/introduce/cv181xH.html Changed from v1: 1. split the patch into several patch and refactor them. Inochi Amaoto (7): dt-bindings: interrupt-controller: Add SOPHGO CV1812H plic dt-bindings: timer: Add SOPHGO CV1812H clint dt-bindings: riscv: Add SOPHGO Huashan Pi board compatibles riscv: dts: sophgo: Separate common devices from cv1800b soc riscv: dts: sophgo: cv180x: Add gpio devices riscv: dts: sophgo: add initial CV1812H SoC device tree riscv: dts: sophgo: add Huashan Pi board device tree .../sifive,plic-1.0.0.yaml | 1 + .../devicetree/bindings/riscv/sophgo.yaml | 4 + .../bindings/timer/sifive,clint.yaml | 1 + arch/riscv/boot/dts/sophgo/Makefile | 1 + arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 95 +------------------ .../dts/sophgo/{cv1800b.dtsi => cv180x.dtsi} | 91 ++++++++++++++---- .../boot/dts/sophgo/cv1812h-huashan-pi.dts | 48 ++++++++++ arch/riscv/boot/dts/sophgo/cv1812h.dtsi | 36 +++++++ 8 files changed, 165 insertions(+), 112 deletions(-) copy arch/riscv/boot/dts/sophgo/{cv1800b.dtsi => cv180x.dtsi} (58%) create mode 100644 arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts create mode 100644 arch/riscv/boot/dts/sophgo/cv1812h.dtsi -- 2.42.0