Message ID | IA1PR20MB49539882B957DF39AD77E539BBD5A@IA1PR20MB4953.namprd20.prod.outlook.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp53838vqb; Wed, 18 Oct 2023 16:22:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGQWoIsZyKpL2rbt8VbIwqX7mPuXbPub/MNHF8BMn91yD1NTRZ27KtcHIVsptOWHvfH0Zdv X-Received: by 2002:a17:903:6cd:b0:1c8:91d8:d5c5 with SMTP id kj13-20020a17090306cd00b001c891d8d5c5mr810710plb.55.1697671349540; Wed, 18 Oct 2023 16:22:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697671349; cv=pass; d=google.com; s=arc-20160816; b=wajwz3aMUD8JEUNEYCpUuMuHgle/Uk4kn766LH/o1Sw5PVlcvMPmg4HRSOHFUJNuIK JExx8xuoECiTuJxhbbvDkXgBVZiF2d0e1z05Gu0kFj+d+SC9Lq1XPIwmK/gF+G1xtKvH RFBXSrj7ALHJZsjiEZaLgUbcNvnl4tkHQPmwBjEUk4687Sg3k9dcrZ89doqbUdB54aF6 ZjGX0tGSnP+112dJ5T9nuM9P9IGKrdGwD8NFWIjcwPOfS0AZFGilJg6C91ocSbUVDeUC 1qymIexMz8IgcM3X8Ag5KlZKE5HK3zzItzeoptRSdx3tQu2wU9syqTMaQZarmhZu2sZh ICgQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wxdFQHva1tIfHsLwtonuuEUHgRqniT4rOOd7FVoCvqE=; fh=OGvOkw3MWgiYZScLOy2UnDebf3bUtwJu/JxyM869cd4=; b=OtQHl35xM5FqXOk+qU14midbOyLX5ZF7XSuQQ4hAja2+IxpeADEApmwlKKk9o5xIoW AeEI0majEhrXV1EbKmkajJjnORmBqs8xB92R5PaA5IzslA08TccJMCfFMTFxTYFc0p5J jASK1CpFm+6pGWSS5KgHsV5guH9XkyU6wjW648lm5/nops/BVf4xG9RYUlTTjS4SSOc/ bq8hxTDqJxIjCtFOs/3FpyelqzoC/DyataOG7MzPNcYZEv6Ew+nYM6eEB8MmEsiZQJR2 kzrAPFnCK8jETKqJZMh2QpcFbZt+ycMrAcdq5cbgQlhSwiTLAAiM1EPl1J47sH6A8Uxg mDpA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b="svR9+i3/"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id y10-20020a1709029b8a00b001c722b269b4si814226plp.620.2023.10.18.16.22.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 16:22:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b="svR9+i3/"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id A162C8115A8D; Wed, 18 Oct 2023 16:22:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231963AbjJRXVV (ORCPT <rfc822;zwp10758@gmail.com> + 24 others); Wed, 18 Oct 2023 19:21:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232200AbjJRXU6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 18 Oct 2023 19:20:58 -0400 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02olkn2069.outbound.protection.outlook.com [40.92.15.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFAD51B6; Wed, 18 Oct 2023 16:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ssj8Uh6tJ8Sare2wDcaaiKkmpNWPKUWzBFlhrEDZa/Ta2zntYf093AkFjSoowmnDxkbsKUVrXuquuXxKvSaufK8MXGv1jt8DALBKHZD8Bd6x/kBTPLB68vv/IF4ZCojGfkNOn+hwO/afN+Ke746aYRDVDWiLdqOmwkLcOwjSWzdt57bcBC+oqA0SHpvmoC1YgFNBh6m+kJLrglMvuuLz/wLB0Cc/Du90vrnb9vJ4LUO4sFzsC6KSXIxsaplmcteBIP8fr9A8mh8eungT2pWeAySYvh2x9H3dUym94oDuZIpGTLadY+OWvf/YzSU6DMmQSY8r5mxzfAbaw73SCGjFbA== 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=evauWTYv4jCyLEHY6CJ/xdNMCOHpDSX9Qm12+6vHP2B1WbXMVInD8xHgkAP43E8WBgOvJAUB6Ok29IvdOe8cw1qrL5vilasc1awJH65EOB6vDbgq7ZdZNZ6A2sopoIM3ybOUbXEhvDQOhUg4pSwA5cSHZUrxjNrHV4cd4KSj+uwAP+ilVw/sHCeHkmxoKT0p5ERcY2tFOpLyPRIVcVoElAEy+YDJiJLIZ1fF/iLBpk2yoxC9QdUXp1CEEZ3ryOu55qhj+jA2gISSqbG7iKP5qmfaz3I36Z5ivKHeoVy2hcK/lpO9FzTSJKOquoltpu3JeV/VkJWHRuAAlBwWaDuUFg== 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=svR9+i3/IRdAuPj0zLooYMJyH+LFNF1wvwUimigPlPdCkcOPMh3NxX+rnuKcippGtn3yaN6jjrgFlbdDE7ZeWN/OnZjUFzCYcISLaT+OFmKdi2y3m0CbjTEKl70MP+YaRNhwdMdWJPDeHixhpgMM+E5EbDYqnxWkyqWq7nSVLjP6mjlhhVkBrYSDpEjDkrSCJFiKofjvXnASjTZDzK49AtPDAn8PNgtsaXYc09dgOZMJAu77khSALngzWRTLcgkC38QGJmFST64Q2GR5h/P80h0iw11+UQaz2KYPwMF5i45GH1mkZWK2rpOXWaF7FGLKQVbAHkYqHY7A07nRwlVoyA== 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:08 +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:08 +0000 From: Inochi Amaoto <inochiama@outlook.com> To: Chao Wei <chao.wei@sophgo.com>, Chen Wang <unicorn_wang@outlook.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu> Cc: Jisheng Zhang <jszhang@kernel.org>, Inochi Amaoto <inochiama@outlook.com>, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 7/7] riscv: dts: sophgo: add Huashan Pi board device tree Date: Thu, 19 Oct 2023 07:18:54 +0800 Message-ID: <IA1PR20MB49539882B957DF39AD77E539BBD5A@IA1PR20MB4953.namprd20.prod.outlook.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <IA1PR20MB495399CAF2EEECC206ADA7ABBBD5A@IA1PR20MB4953.namprd20.prod.outlook.com> References: <IA1PR20MB495399CAF2EEECC206ADA7ABBBD5A@IA1PR20MB4953.namprd20.prod.outlook.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [bSMmR68jJ1sZl1ot9mF5lVTw/eCBTF7XCvkElPvY1Xs=] X-ClientProxiedBy: BYAPR07CA0083.namprd07.prod.outlook.com (2603:10b6:a03:12b::24) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231018231855.28472-7-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: 209d705b-9c31-4ccd-10fa-08dbd030a132 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FTnKcGP1HFiJw9DpkbKs5RKSynQR0EIUP+AFHPRC6TcdZawDKj37BmGSDvMP8kzbYX5aDrcyMtilEhhlnZ0puelZZsjy7dQooA/+ehldOu/8RQrZy2WTKhLz0AKBr4iJnRdh4E2cQ+TJDyxeGWTLBay78hD/dP9Y4wO4ovgP3l0XCawJvRLqTAM8BRcicsC/KQwhsJLA7stSEX3JCGlnAzwHp9UM/m0MgEaLmMjxZJcQWtTdGrGkbV+FAhJoCAPijvrXtF/O5KcL8dBCBgeAUt75q7vCoCvV517O2Gni/IM2RCoEMDoRWv3GpntevGnEFrfKTgHAzr4Y07kA1E5R36qcrVkH0Fq5vnl5rZxoMNQ6+KboPocRV+WtPXi+d7rSXpQNq/Aelqn5GXxTFrcRkhTVSAsGklWgct5WWtmos9wKB1GVcU/FiyayH3ePKBLhNDOrKLKGk0kMApnJokCtsR6x+Ilki0rkI3RtZG0L3SDKlWBBWeeyQsJvPFdePAuJbH3imZGOodG9cZC1mKRjSCi2j+a/3Qi4zTVzBN4nY5pP4loEZlR+D9vY3cuYURLZgzduqT6nelJGwoi67204XLfs8bbZJa2OUtruP7DbRQsfcEeQsQjgMlfW+ClG1Nh1gopJUSvqaSe/IFo60mgYNFK8U9o0cA9fghRiI0Nwasw= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NxpKA+DAdQky1Jc7TBKZrk0I2+EL2v4eRPJ9lE4D1uYfsSqMWbE8XOgHQoKka6+w7qOfii+3n7ROqZaK6i4xk5+ce7CjPBnpSH3wGe40yQxfF9qOz5JHNipX5CO1qyTvz2FDH+FKV3cWtRXc1kaLw4SxWBoAOcRl3wG28DMBSxPTKq4/EWD9BzMVgykOZ24x3mTaQw+QlbKHC0TCxTTapkmnaRQY21/qfBMwI/IdO/6bE55fBCBGzrbBSY1mnwrOvlHDYcVaHaNXKaplWJrjqwOCeUoTYbzLMEX6gKPC73w3+akISOIeTX/4D+mdRDlUFQg4u2oktYsNH6XvP9KtmQTgdjtWODUFRurZbMoTXkmRr0lvk1jVgKQhWJHZ/6LpVQ973iWsN2GSWXgd9OYy+61zF2JavEXR0K9uqIzmTTRRAGfjRF03k1AvNXNVh9fw6w9YheAnN75YYmoXVuDl+VJfyx/L7aGGoy52C7Srq8VsGkTph7789BjuMeYmYQt+YBJfSh/Mnt4CqTqmxRnuheW+oN/7fGnH9uD9itck23p7kjkIuW76qAnjhhd9/nyu+cYPDrPd00PQ673zuQF+3ayvfEKiWffNrAO3c4I6V8hQmTE9AUlGuoexwnKMCo9VVoRO36b+Qk0LDv/RmB65ADeFo8h9x71FcSTHdO5QmWJ8m32zLpNAPnPxN54gE4GNV8zDzW44ILZ9FTtOiPluc/9ybfARBDcCuCTNwrnWVfPRzb1HYveFaAw6/O63ZehgFsc58/WJKzPy7Z2ZxBClgwgT2Dy0AnHlSfY71JvN+1hYPDZl+Vpsm3ryvMLlrflBh/N2RfhN1DOFZanpgQL/NrQCjaya6gVwK93MHel6MQLBrR7uOJ4/0XoHN3rIkziFN1sUYufD/FrPTR8PRzhHbmyvQk9oMim5uW/n0vDs2KVPhiVCnU5YEsCJxMxwczcV5zhFb64ZH+m8xEeaNbu5FljILHC5NhHne5fuR9SkHhfz0bKe36YvQwE+0wlVgwvllWeJqJtmF3vSrJRyhXSq6Q0aUNXEmsPNZtqtZ3FOLH0NMxr7jsVUTZOGH9brGexMhZi1OvFN5jKO2I555M76Fz85tgv721Zu+RTgBfd4wE3KBQ22xRz1Q9c83fE8bqv2DGz8L9b7jQ2kz9mltKzohKXfcLlLAUGQqD84q8Eo58YbZvzDqj40c/1OwL7GOdIk8FeoSefkKV8lXQVEDUWr+nkM0VYwycsIw1Hv6Ns2xTA= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 209d705b-9c31-4ccd-10fa-08dbd030a132 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:08.6573 (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-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 18 Oct 2023 16:22:22 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780137432867501285 X-GMAIL-MSGID: 1780137432867501285 |
Series |
Add Huashan Pi board support
|
|
Commit Message
Inochi Amaoto
Oct. 18, 2023, 11:18 p.m. UTC
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 <inochiama@outlook.com> 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 <jszhang@kernel.org> --- 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
Comments
On 2023/10/19 7:18, Inochi Amaoto wrote: > 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 <inochiama@outlook.com> > 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 <jszhang@kernel.org> LGTM. Acked-by: Chen Wang <unicorn_wang@outlook.com> > --- > 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 > > 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 <inochiama@outlook.com> > + */ > + > +/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"; > +}; > -- > 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 <inochiama@outlook.com> + */ + +/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"; +};