From patchwork Wed Oct 18 23:18:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13428100 X-Patchwork-Delegate: mail@conchuod.ie 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 10B49CDB483 for ; Wed, 18 Oct 2023 23:19:18 +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=M35UseS9dWiaro6gXRikcOiD9piNUlxE2Ykxs+W6fZM=; b=subbCbGDAA0hnu 2DwguemNpKgom4SLJ9KFoRjZ201twtR9MaGN5bLQQ7+/0Zj2p85dzG/9qnTGZgEUJT2PaPKm6hI6Q Y5UKa+CyeEzOaEaXlyQVMDaPs/fN7O0mzs8K11zH+Vn/0373Ld77aqo+f7gAfEZxp0/usHAIxG8/J 1vlU1cU5EULgWhI4MY0Mm8amTKd6ApdApAEXz6DcJZ39RlsZe7OFwJmosJN1iAKK0frUSuDU508yk Ocg84n45mDr5898TgVgMh9ERY0usSfSCTqgPR/cqZ1nrGtTtM39k00UrcbqW8efgBia3RI9BmIvIj nUKetZPpfvz2vr+Qlulw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qtFom-00Fu0p-0I; Wed, 18 Oct 2023 23:19:12 +0000 Received: from mail-bn1nam02olkn2080f.outbound.protection.outlook.com ([2a01:111:f400:7eb2::80f] helo=NAM02-BN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qtFoi-00Ftyj-1a for linux-riscv@lists.infradead.org; Wed, 18 Oct 2023 23:19:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TbRZZGUh9a+9h7cBkxxr/x/eq02AnZb9fjkgAeKml6wu0BPv4WBewb0uLpmVssHDF6KWY2WUeO0duVVaFPX6zjRptytzaOIAyLCz0TPivl6J8PACjGM5QIe9KthjvVT/xejvmxoGX9P7HFUCc0rJgu5bKg29bk4eG53d0pXJ07L6QXVlYFzDZa33t8YvmBUilslwuvmHyfBU7q7Tow9kwWRCzdYKO4PKFjazM/l3mFXDNZByC2dYpM8POOy6Up+7hARl5E6RJDvu4QlD5YiA/0vtREdavpY76wcISQkK3fn+HKxmLTwzn7rsEy6syjPryad6Aa7+iG0wesPdWsfelg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zCQ6+teeeyU87eAdJV4y3yq9aaBdeGfSvjhZ5L1ewqE=; b=Cuh1cJfubNmPKC+aNaDjdE0K1BwViBZ4QDuxzudR9cC8ujNwWweQSFs10LbhIVqG/lGN5BENkPOsIEqu3yHWxDuNxVmc4ql2/FW3cqgAtmu4NhIeIM7np1uMnJdMEpEez4pTCGxd2QCycdheDcYX7NAKh4Bx6On2OCvdiiSNgk45MqE6Fs+CsVGWBD+HMYRelx9Uk8MnzfxO0dccQuwa8+Cpxw1FPAIu56JnU08UruhDcfkRWXNZd57a+sA2ADVben4dInY63qID4KHzkHVsGUD5hbZuRcnRHBCky0e7eOiiPSoSM7w75eMA8JboyAkv5s+b8RnV0pxi/HkWBllX3g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zCQ6+teeeyU87eAdJV4y3yq9aaBdeGfSvjhZ5L1ewqE=; b=SP5+2I2Wvpnk2FDUdO+P5xxRLGKetDrc4zJto6jrsycvyEBLfzCKFJ+yoyrfeGuooe5FKFFsOHhfdEpsCVUCjYpU03sKjkVevpx1QiJ3C+jb7tw3R38G2wCu8shew+3Vn8RFtZORlo9QN4zFOpWa1OWYRYi9M1E73HK1NmLTjZA7NPpx6NIOmfho7TwWlH8faj2cLk5Fgs4svuGnEXC/4JQY/wDCRMcWCLQrW+89yaQRCqUYqkqz7XrW45G171LiAtIM+Thqp8V831L9HX6pYBy2uyxHEu1iU2huI5+3GhlPSmQfYDNPCTAZM66g7la23JUJbnF1j4nj7zXBIUFEQg== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by DM4PR20MB5087.namprd20.prod.outlook.com (2603:10b6:8:8d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.37; Wed, 18 Oct 2023 23:19:04 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::d050:882f:a8a7:8263%5]) with mapi id 15.20.6907.021; Wed, 18 Oct 2023 23:19:04 +0000 From: Inochi Amaoto To: Chao Wei , Chen Wang , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Jisheng Zhang , Inochi Amaoto , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 6/7] riscv: dts: sophgo: add initial CV1812H SoC device tree Date: Thu, 19 Oct 2023 07:18:53 +0800 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-TMN: [arFDtoEDi3qSbqIcO2ZRPV8tf1zItChVV3NuhPD2eG4=] X-ClientProxiedBy: BYAPR02CA0059.namprd02.prod.outlook.com (2603:10b6:a03:54::36) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018231855.28472-6-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|DM4PR20MB5087:EE_ X-MS-Office365-Filtering-Correlation-Id: 075362a4-06ed-4427-f296-08dbd0309e6d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: i+jP4Ymm7led0hlDpKxuRxHG5YPouLLAx7pHoszD3tAGznVqRpqbrcqRMIgJBGopE6BmXXZbKUqp6swtEMg5hfgRuNt2diFNV17QTv5Ysq3Rq6Ba/+KkuI62PTT8hBnEJE9aVtQd7l41iNdKbakdOXNPq9g0YCA2dBiYCScP5+LvpDQ+/sn2ad092HoXWW5TWSktnvzO1YwnZu1MaeUgLe+qk63+UB9yfESV0vWSxD7pPALSQO4Q7L2hoP7fj63U26+gX4mkKTXZpp+dNTG2b+n9+vIn3rV/moUhLgwxbQ18/sjWng25sFmTE1sb3rSu0WrgLL+2Eac2+Ob1bK2+rK7DFc4JoS6OtnlpcaS4tfIOGeopj8i+BqoadsUwW1tLtnzMfH6oXmXfR/i7X9HJYC1f8DKFqZrTCDtI1am573orHI2g8Wn0+i4iQN4DiYX8S4vjV7aYwgVqQkIxUcsmO9eozLX3ZXCAAd3K9wIdWhIEZwQTiyi16SWSEPeDeLKDKYSA5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FNfJlsoD3f4wCcMDUSnf5pK/mHEwD2cwjSGTsrWkAoQkEtjk4oUHviDK7tsPEPUGcraNpYKaNcEb5wgVss3SOX/G3d1tewwNqsYXJ7QBUYx+xnE0BGPAHnzZ6jlvs0KIUFS84b6NNS5TAsEKFaS0D9hqqwAf47hUbl6wy10nR8O+L3hi7aIWMbzzydlAxBZ0lIj+vcan/K2a95RlnANrsKreR16DTo2KmBPvycPXnOF8/rxVFTBVL9AXVZwqSakPp0YN23j2BYa80QGb/mYRHYKwTx7UFeeZb5mRfnVnZPm1SSZ9TOps9UAJcvQPAJ3NJX0MEu3RI9NySPUtPpaRVloOYti7Kgalr4e+RpYJiYdOcj925qXc+yL90vAOV6PSM= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 075362a4-06ed-4427-f296-08dbd0309e6d X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 23:19:04.0088 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR20MB5087 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231018_161908_530071_03BD06AD X-CRM114-Status: UNSURE ( 9.91 ) 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 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 | 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"; +};