Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp944646rdb; Sat, 7 Oct 2023 05:44:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFgr/rnTN2n4SDEsl/MxUfmzFhZ9rXGuxqSmxJ1cJkuaTqHL1r05LJpqFTyQdStIovO6zwD X-Received: by 2002:a17:902:e84a:b0:1c2:218c:3754 with SMTP id t10-20020a170902e84a00b001c2218c3754mr12931843plg.53.1696682687042; Sat, 07 Oct 2023 05:44:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696682687; cv=pass; d=google.com; s=arc-20160816; b=eNXOvLTrftfy+87o2nqAxa/dSbzk2poOC/9vLJ4FH4eHCLiwanxGRQ7a7/umxTTAXl VppSmcMLVZ01OX4NjFKIJzdxNA11KGcvbyw9qzgHFcZx+tBH/XJwEoL3emc6u5kP/BtG hKi9M4qBw0dR/b6QRo1afl9yqzKkHxUEBUoM5/GAdQyd3yTLpWqpkjp7kQlLPg0e6Zbf Awvmq4BYPvEKNkG8A+nJSiFuPjLA3jdGaJ/wp2SrceEtHpsCR6FSLsSKjfCn1c/Wj0LF xQAJpDm/Wz6JD4D1NDq054Oy0NAEX7l51QOwLYxPxvzq/skdc9c9s9+OKJ0wM45TE5id DuUw== 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 :in-reply-to:from:references:cc:to:subject:user-agent:date :message-id:dkim-signature; bh=PbGUV3xgw2r3FA34QSOjK/IUaKKhnYbQXhh+oAvp75s=; fh=2scb/Lca5RVQF/vIBotARZzWALK3xppHdekXHy1GXZg=; b=NgmxgiXmVgP2bSh8NELTKtgU1sb0nb0WAnWtTV37vrxNlUargG1ua0EE5KiVtpPea3 fe6O7dJaHcGC5LR5jZ3/56yRdFg6hkUs4FuWocSYpEOnQV58uc5Fe9shOncZz5sLkiwa MbtbV00Q+MyRHR1MxOAHAHPqCCrYzUfrAfXxktZv3SlsOBshkq+A7z6aPVCzGhgLToPG CVrm9BIUjSZfy363MND47jhQZQJEtoagh0DLY5yAG5Myo4K8B4F0HDu9BpImWMK9xpwE GayONK0BZpMy9g7XnZ0lXoDbhYlID5VBBbJ+XGyyba+RRDkXvT90x8uxMjFd+X46KLpH vWYQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=AnEGBbso; 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 Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id q10-20020a170902a3ca00b001b3bd85f54bsi5663499plb.35.2023.10.07.05.44.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 05:44:47 -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=AnEGBbso; 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 9957B8024CD7; Sat, 7 Oct 2023 05:44:44 -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 S1343929AbjJGMog (ORCPT + 99 others); Sat, 7 Oct 2023 08:44:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343680AbjJGMof (ORCPT ); Sat, 7 Oct 2023 08:44:35 -0400 Received: from IND01-BMX-obe.outbound.protection.outlook.com (mail-bmxind01olkn2020.outbound.protection.outlook.com [40.92.103.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C4C8B6; Sat, 7 Oct 2023 05:44:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S9D0hnskYAoRphcHNjMp9kg7Jdlok/k0JpWwKo4O7wPmWUtlv6SA+dI5ZdeqwljUqZNzGwYHEOnogeoGarq10eA6knbI1nKU6UTlQKihbPJ7iCJ4ASmT7icz8D8VhivpRUiER8MINsaDJS9iDmNmyvHAxDFKhE2sEY3MMAxZcfmVuSIIXWZx9RQuNEZV0e73dFcLuKD6NcMhBS4dfHidj1yPL0zvnWcReUbwV9a6eb2G0B9H6WyAQuTtQbUMxl444QMBTKd63ngpHGpSl3XP/rCcmifvHw4C/0G11Zftr7hApVRe8faUOgDYqbpTIAXQPq47jxdis5gJuVQ6rjQAXw== 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=PbGUV3xgw2r3FA34QSOjK/IUaKKhnYbQXhh+oAvp75s=; b=Rjb7m669eBim3rYLB4Y2cMM9Vz4RDkbAirRkiIysl8apz5y9afJIX47WA6WcgXGUdPrSmGfLUPe/3uLRSfwE2yKB0LF1hWLFLjdrhyo5SubGgUG/pM03PbIhX8GYwsqOSZFgVQ53igo9y8NyCuNOIKGj+3w6UF5+TdRx9OBy56yRkUbtAE0mfJc27CUyN1PUK9XHOIqpIfQSJCKISknOWfgsiAx8R4Dx1DKSxzcHTQP9EEkVyUKX8abDi6lV0R+QBtax/CsRjYYEsPx4BB0V60pmaqc3dUYKOROg8+EYNWIkJPH8CESTUAPvlsGAIvI1BUpaCwk2M93B5NtXw18O6w== 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=PbGUV3xgw2r3FA34QSOjK/IUaKKhnYbQXhh+oAvp75s=; b=AnEGBbsoJUsEDnL0bZtOsiJlhoF7MWRbe7GGlGxkDzHrt/RVnsSkUnXPL2dh49Lo13QReFIUNeSNc8Fd2VuLGixc8k8/PkYOZYTnLPhlsnl/qvEJEMhcb/CMLJCNdxWMCppbsnqL+ElDIgEHkccqrzS4FgHbcS6BLOhaZjrjwycymDBCOUdqNo4WtRuZwg5dgXePoYtFhyVpLTEdJnKQykhzTvMzUcUE09qJrvrkrXFZczM4PfUtu4PfzKDH0Ww1ZRC/RygP8OfonfVzrqBjKalr820qxusKbezHP+UjyvNVv6HJdAabRsMcPE0tTck9a4646AYa/s7BGHoXZ/5TFA== Received: from MA0P287MB0332.INDP287.PROD.OUTLOOK.COM (2603:1096:a01:ab::5) by PN0P287MB1079.INDP287.PROD.OUTLOOK.COM (2603:1096:c01:142::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.35; Sat, 7 Oct 2023 12:44:27 +0000 Received: from MA0P287MB0332.INDP287.PROD.OUTLOOK.COM ([fe80::efe9:8d54:281b:23f7]) by MA0P287MB0332.INDP287.PROD.OUTLOOK.COM ([fe80::efe9:8d54:281b:23f7%3]) with mapi id 15.20.6838.040; Sat, 7 Oct 2023 12:44:27 +0000 Message-ID: Date: Sat, 7 Oct 2023 20:44:23 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 5/5] riscv: dts: sophgo: add Milk-V Duo board device tree To: Jisheng Zhang , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Albert Ou , Daniel Lezcano Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Inochi Amaoto References: <20231006121449.721-1-jszhang@kernel.org> <20231006121449.721-6-jszhang@kernel.org> From: Chen Wang In-Reply-To: <20231006121449.721-6-jszhang@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TMN: [uHLiM3JxmgzdJ+W+WVRI6JNSvqRR+y4v] X-ClientProxiedBy: SG2PR03CA0093.apcprd03.prod.outlook.com (2603:1096:4:7c::21) To MA0P287MB0332.INDP287.PROD.OUTLOOK.COM (2603:1096:a01:ab::5) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MA0P287MB0332:EE_|PN0P287MB1079:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a436db4-7c4c-48f1-3c94-08dbc73323d9 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YM1hsF42vtEiBaEZHzY0TLfyzmmHgdEljaPVlXrA5nv5jxtfCURGzhr+zkI+Xug/r7DmSQCR4mqUMjAxmeM3r+ilEfNN4R3TBZWBJU2OLotZXZIjHhm32v6YKMbNog8YYEZZTt98kmnW9eEmeUHHq+bJHn4GgwxUydDat/IZKFHDvmyYRpnNu4tySsRI35T/K5jvWdT/pqcv62rUuScGzyVd6sLf563pRvk42YVYwXRHErjJXOrAv7V4T+85NEWIQ4fm+RL7+1x/prDyd+mDEnObIvlik7GIx5Wyp2xUJuPaKNEHaSUXSxMvLd7faFauVF63UklBOERE8f5jxdUf6SGsz5CsZkYVLZl9XydqKZpOUoxMWFUirEaIYMidPLDYFYfH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TlzVUJjZUF0SVhPZldocVVN?= =?utf-8?B?bWxxUW1qM2VwSEpobklOY0NMMWJtdUlRdVYwRjdsdytIYy95Q1JaRTl2LzFV?= =?utf-8?Q?jXGaAckPNRixzySUePvZeRQLAmdRt9QxQFcC+6j+UCx0=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a436db4-7c4c-48f1-3c94-08dbc73323d9 X-MS-Exchange-CrossTenant-AuthSource: MA0P287MB0332.INDP287.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2023 12:44:27.1952 (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: PN0P287MB1079 X-Spam-Status: No, score=4.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FORGED_MUA_MOZILLA,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 agentk.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 (agentk.vger.email [0.0.0.0]); Sat, 07 Oct 2023 05:44:44 -0700 (PDT) X-Spam-Level: **** On 2023/10/6 20:14, Jisheng Zhang wrote: > Milk-V Duo[1] board is an embedded development platform based on the > CV1800B chip. Add minimal device tree files for the development board. > > Support basic uart drivers, so supports booting to a basic shell. > > Link: https://milkv.io/duo [1] > Signed-off-by: Jisheng Zhang Acked-by: Chen Wang Thanks, Chen > --- > arch/riscv/boot/dts/sophgo/Makefile | 2 +- > .../boot/dts/sophgo/cv1800b-milkv-duo.dts | 38 +++++++++++++++++++ > 2 files changed, 39 insertions(+), 1 deletion(-) > create mode 100644 arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dts > > diff --git a/arch/riscv/boot/dts/sophgo/Makefile b/arch/riscv/boot/dts/sophgo/Makefile > index 5a471b19df22..3fb65512c631 100644 > --- a/arch/riscv/boot/dts/sophgo/Makefile > +++ b/arch/riscv/boot/dts/sophgo/Makefile > @@ -1,3 +1,3 @@ > # SPDX-License-Identifier: GPL-2.0 > +dtb-$(CONFIG_ARCH_SOPHGO) += cv1800b-milkv-duo.dtb > dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-milkv-pioneer.dtb > - > diff --git a/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dts b/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dts > new file mode 100644 > index 000000000000..3af9e34b3bc7 > --- /dev/null > +++ b/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dts > @@ -0,0 +1,38 @@ > +// SPDX-License-Identifier: (GPL-2.0 OR MIT) > +/* > + * Copyright (C) 2023 Jisheng Zhang > + */ > + > +/dts-v1/; > + > +#include "cv1800b.dtsi" > + > +/ { > + model = "Milk-V Duo"; > + compatible = "milkv,duo", "sophgo,cv1800b"; > + > + aliases { > + serial0 = &uart0; > + serial1 = &uart1; > + serial2 = &uart2; > + serial3 = &uart3; > + serial4 = &uart4; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > + memory@80000000 { > + device_type = "memory"; > + reg = <0x80000000 0x3f40000>; > + }; > +}; > + > +&osc { > + clock-frequency = <25000000>; > +}; > + > +&uart0 { > + status = "okay"; > +};