From patchwork Sun Oct 8 11:14: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: 15063 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp1318202vqo; Sun, 8 Oct 2023 04:15:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHgt9qp1lu7buzZSgqdsZFySN3aoqdYq9ywpujopArMB79gh1+Hm98iayXLmM0AfcOkJLgp X-Received: by 2002:a05:6a00:2d1d:b0:68f:ece2:ac3b with SMTP id fa29-20020a056a002d1d00b0068fece2ac3bmr11874407pfb.5.1696763738598; Sun, 08 Oct 2023 04:15:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696763738; cv=pass; d=google.com; s=arc-20160816; b=ns0hVUAuFHhjJX59L3DWA2btnaZ+KsStJ6S49/YCX1EX8VAw0bmQEfu/RY7encBzze j0K159VRCACCfykMLaWWXJEOLHTBDJjAa5bnj5WrhlhL6ZPqKyRNypMnHJgzN3mmIRUb EXICcIHStIZr6YMORU/rwCzFDj8Zgnp7UYgrNJMvGjbQeanQ52bJyl8yp8iqOq8M3YBM M7YpnsL3fBYXNbf6Nj8VY4kJliYhlxBnX5+B9SUhS4mZuTMOhCAIV/7r8yRKV+5Btavs K0SjeekZ9xvhECvGTOk0JQDyxUjXrDQW4NKIa5sJ527oP4+gUu/tu4EUYn3jXPHWBLM3 pumA== 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=ijK+v5AZGKZe91kQNi0coJvod0Jk5qRjGr6ArISOSjk=; fh=mcWLIN6mbRIL8JrNNX/ZF3ks7u7qlfWJqKsFcQ+QGeQ=; b=gPvlWlNUAthSzdGaGgHW4WR5dXu6oHTyrN4umtHm9Qrz5TeWsX2GnazgGufGZR/qii It2X2aGUNicT8ECEX6BeQdg2K1L2BHrqqFgeVrZLepwdy/v9bWenzDslQr3hVbxi+hJq nt456ooOdsPP9RkKvITT2aRWLJnKF1zVOksojE8BptIj2it2ChcoOSD/wB45BHJ6ZTOM /ofBZ3r4Sk4KXNRXCnSwl8OZYIMXm0JeIJq/TOilXQp1laKme6BW0CzF6Re+dYh/daAw /GAxvymQNL1BMfdGPUawNz31mXJmW0HPRpDcHfbdZtvxxh8ywllRZFjFuo/iJxbQnpNA UwOA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=rWPyfGWc; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id d24-20020a634f18000000b00577a519621bsi7091588pgb.231.2023.10.08.04.15.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 04:15:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=rWPyfGWc; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 4A80C8053CD6; Sun, 8 Oct 2023 04:15:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344696AbjJHLPZ (ORCPT + 18 others); Sun, 8 Oct 2023 07:15:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344672AbjJHLPX (ORCPT ); Sun, 8 Oct 2023 07:15:23 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2101.outbound.protection.outlook.com [40.92.19.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A0BFD8; Sun, 8 Oct 2023 04:15:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KWEOAwuAxnboYR3/1f5Xk7MxWwKK475z6EzfNskqE630bhEtBb7zdfDTBwWhpLUOJR5KPB2qSfPiVDn8LP4iKw9wvoaJCYeGwjgaqBMtlw2k0dLz/WofQCuAZDAlPFp/E3rDyOFtUOcGyWV5VacnYYTdjHRx30hyCrslGd3e4H0D0XuPEEIeg+oGjo/cr0xEmlBTyWbG3sjGAYHVaBg7mvIQd8Tvh88FUcSn/vfaRVYj5gI2cP/f7KtmhKL3ls8M1XSMV0RtWOVjmYYvA+REcurOWAsIsGgmBe9jlt3d/io6/OKybYvhLDZjP3pOQRdjmKhHR+a5aIFyM0IxWEoPKQ== 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=ijK+v5AZGKZe91kQNi0coJvod0Jk5qRjGr6ArISOSjk=; b=V0iI+5fbChf03AwKX7kSkHH52Lpo/bjUwtCAwUeXyMwhdGd+r6shqlibHUpvC9IJPioD2p6c+UUxdKUFMXwAC1qFw0LQyyLQjb8QO1bhnzG7RL+KJ3BZgNOt9hVray12Ih+qgj+1gyEpfg0Zfn77LTKG6tlB1fdt5F5a4ZAtn6LsUhPYy5gS1qBAwFXWoK4vXv5SE68t9hTD8NcBVmIB/pBdVs2QS1KAlxhGhAo8/kMZwu+CKR1lr7fjVrYDlF59A2hlytYh3xGqV9KX9G/A50u6DIG38BQOPOoQQxHkAxxSopMlKkXs6P84QOyFQ614CNPx5FD5+7I9hDyFRuG9nA== 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=ijK+v5AZGKZe91kQNi0coJvod0Jk5qRjGr6ArISOSjk=; b=rWPyfGWcOHL62oai/suk4h4GIiJBypn9Vl3fH2oUs/gc9oSGoBczu7Ai4NwdlCy51d28j+q+TpzubCKPjkMk05ggXUYakrd+iZEHPyS0y1gx92EEHbot+TTqxpMlrJhxQk96zYqR+r95sYoEoUJPOkqdDufMxMrzoWd2Ri2lrYSGKP399lDXCAgr24l+z2ECy7LALNzDYSzVTTpM0AUjHR6AfMOszRruQ/yewm/1+i/daF3nz0ts5F9fpdE/SjmMEZBR06gDvQa8ZljTe4AeYYON804zOHhxofvDJPBpbJeAxROjhWlTeJoDoOSlP2x2LVBfCgZE4HcsDPUY0lx/qg== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by PH7PR20MB6969.namprd20.prod.outlook.com (2603:10b6:510:2fc::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.41; Sun, 8 Oct 2023 11:15:18 +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; Sun, 8 Oct 2023 11:15:18 +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 0/5] Add Huashan Pi board support Date: Sun, 8 Oct 2023 19:14:51 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 X-TMN: [RUix+Dtj22dbst0DTOIqgCJU+5/LtFGIze2U1vuBcso=] X-ClientProxiedBy: SJ0PR05CA0063.namprd05.prod.outlook.com (2603:10b6:a03:332::8) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231008111501.325200-1-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|PH7PR20MB6969:EE_ X-MS-Office365-Filtering-Correlation-Id: 1c6db1f5-f2e5-4ee6-03ee-08dbc7efda20 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AbS9VieWm+B0aZ+7gflNxLGLP11CbG8FXwtsuYqKsm/G9nDEP+rcVtnXqgT041BFkAJWRzqm5teuvMx/S79rBdOrJYgtaKLDzMPpDVvGbsSBZ+WPFhZQ4/JZknO8O70ZbQLtx6R0/bfx0y9i4bBBUuclzA15V2HBUHKqPLYkgZuf/21v5fFBGs5VFtElfKnu5frp/ZHBEIU9N1tfrAb9Gf18wQgi3XMnrAyNK28qAohg/olKjWBNVh3nbEr77sEq+EAf6+kIx36St9UMpaz90MI2KLXlWcG05B0YD9QJ4TMEgHIaxmfSss42DmqGuoxoxr3gw7oXqFbPgxkGp52HgVrChpxRyB9owpIbHMXyGSV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fXMk18+G4pF8l0SqGf3/1dGE1W2aV9+IwCvtr1GpWv2Kx7/evx2w70gQQwhJcJ2d33QytvQdSSYDNkyDDaBXT+s+VtHSXPtv+gl/tOyPBy3eoEdJH/XJy1Km7wR2hUsTcLNXpAwuk9Fc4pUXqpw7WazXEwtcoF+T0qAmTQZUa5JI0FZTSLMwOCb7PhSBXgdYgCCjh2s5qvMUOQXSKAnyxNhrTwIRVy13QGgm11/03DEZiy5rAXyQDKcbivUpNjyvoP4JUHIxb7kpxXiTxFz/nm8N8daBbtZmm/6xJcY4Hq8XgYdI67zrwKsSPCVjYGSOf6APw8T++Gx20lE47Xzk7vKgxCDS6h0cE0XxSAE8UOTQrKCr02S9WG87GRwgASYo9NKTwMPLlvMh5FW8uX/9mFKiw6ADnBa6Lc99e6lDdkHtuDHydbdQCaf15mHAFWF3euAV2w8/yA7xjCwQqZ3EtqluNOLltdckZhmelhs36ak1rslrM7J1+1UdgPnU6BodVNiyTxVP5p8K0Nj8CuU7gJRvNHMEDMWz6eTR/mTe96AVTX7nooxnzEF/HYhQAy70H8= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1c6db1f5-f2e5-4ee6-03ee-08dbc7efda20 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2023 11:15:18.5073 (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: PH7PR20MB6969 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 fry.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 (fry.vger.email [0.0.0.0]); Sun, 08 Oct 2023 04:15:36 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779185733929863127 X-GMAIL-MSGID: 1779185733929863127 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 Inochi Amaoto (5): 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: 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 +--------- arch/riscv/boot/dts/sophgo/cv180x.dtsi | 178 ++++++++++++++++++ .../boot/dts/sophgo/cv1812h-huashan-pi.dts | 48 +++++ arch/riscv/boot/dts/sophgo/cv1812h.dtsi | 36 ++++ 8 files changed, 270 insertions(+), 94 deletions(-) create mode 100644 arch/riscv/boot/dts/sophgo/cv180x.dtsi 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