Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1382232rdb; Wed, 20 Sep 2023 07:44:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3wFlFNcI9Sxz/Rgm8regQ+q3oQUGBrw79s32kuRu/kelD4dMqeuJ4ksVuM8EdZLZUEwbn X-Received: by 2002:a05:6871:812:b0:1d5:9b34:94e1 with SMTP id q18-20020a056871081200b001d59b3494e1mr2892156oap.59.1695221053408; Wed, 20 Sep 2023 07:44:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695221053; cv=none; d=google.com; s=arc-20160816; b=dyJ6sZQ4adbD2T+CQ7zKm9/PtgXwOSE9+KHkNNc/OOU/Zi3eFh2T2yHau2eQ9r8L4j KBbWva6cuflAtVrmHSLQJKGQVeNp0asPuPNUaR9aCKMALS/S22tYoT01bzWiIyywfid/ zJnnWASmfoEyf0nSZ9AN/2sbLCvVpMvikiULo1o1JshusoPqDbclzZwSPqaP0AenBHMi 8oVNF0uztbL6Bq1LrLUHZeWkBHBOuqz267bza3jEN1Pxda9g5pr7lSCy/GhaeGdHQuht Ltsi0V0jjqNwFGOAGesJcSkFcTdwzH5GjT3OhkPSxLfwqJwlnHz00cINsuuvrGS1SUJI J9wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=N46lU5p0BnRUo8JJjDH0v6qnXmdpf6A9RpC24puqDNo=; fh=bpOCNR3LN4AjDa2PNPjaRizzuMtxDdijInVSKduoS1Y=; b=Kb1l9UW7mb5+pU+jHSZuvFn+YKI5X4B+vre+Q6ldVxmgSFAK0CtaLEEAtemWxVDxTv JLyDFlZLc1/t/zt4DZEMc396mg0afg5buDB+IIFccBD6tvaoTFeFH1b4NsxJpvQlrwe2 qnVATRddMhbXlmwdjItScp3ODXZFfyCZRD7xnsA8Us48Jxu3aFTo0oTK1OtU71oUcsBD hzhC8CrOm5x+vDhXddCPeIr7aZSaehkpdo/s/kcYZFVAtJlh/CUQ/DC+WzR5yBjjaIoT UFs6+GpXvOaPG3Sw5mQbcyWPSSbrHIu4DbIZ9w6ZR3zLo3IVmTS7kcVEl1ipoTUjm99q sm8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rRNCQc7r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id bc22-20020a656d96000000b00563e25c07c0si2454586pgb.270.2023.09.20.07.44.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 07:44:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rRNCQc7r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 5826F8182EC1; Wed, 20 Sep 2023 05:00:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235051AbjITMAK (ORCPT + 99 others); Wed, 20 Sep 2023 08:00:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235122AbjITL77 (ORCPT ); Wed, 20 Sep 2023 07:59:59 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E2D2A3 for ; Wed, 20 Sep 2023 04:59:53 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9adb9fa7200so186263066b.0 for ; Wed, 20 Sep 2023 04:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695211191; x=1695815991; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=N46lU5p0BnRUo8JJjDH0v6qnXmdpf6A9RpC24puqDNo=; b=rRNCQc7rAI4RQlWbdNpY4seCvsBnnu3bTFAKaqEqkvs90uucn2T4AoG/6LyeyBJ55+ OT99OSAsy61xr5jyX5yMRA1jcwayTRA6uWGyuWmFi0ndEQ+PDT+Pjs9vOQXH7qfswRmU 2PaLHqHuG6nCWw5zXB5eDTyCzCHcjDvDaOqhLrsn3FTCGfs3dgIxiAirtwGBZWrzRuTP Yg3VGWmKR5tZezHjGQEupg+f5QVAHWt7lVWyQAzfYZnT62jGsCEzeBNadSMvdvW/tZHa OF9apGc+RJs8hmPQu5oMxdBC71wI0EChlycPZRUeT+8dTRUl2bG/oZggxmaK8DUb1HCY i+iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695211191; x=1695815991; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=N46lU5p0BnRUo8JJjDH0v6qnXmdpf6A9RpC24puqDNo=; b=qUgshPUjlUJnsAr0cTvZjIDLSSfMd0uo0/ZK7oSlN51v25wWqDO7aRsWbYhzxZs0pG qMHD0pGlkdBfW2Igl8DjzvR13SSh0I1kxSxSzaQkYEIV8rID2C3qGnCYbG+Haav8qwux 8nwWl2gQ0qiIQ/sLwzWFE+wEA+4YM/4SWVo+Eqzu7pSlnarDlqSygt9T9bKVmji+yPM+ ++I6qZYeSJ5XiFXPvhJkVptL5oeomPLPjx9FYWL9LOMdWztr9VKOs2EbMd47fi9OOedy 1SxmTvTPBg1fYfSXUmDCPJbZsKu0kEDkHg9rKV5Pm79N8UQmTWUsVbnJEwiiCJMpkKt+ oxTQ== X-Gm-Message-State: AOJu0Yw1BHZbN2rNsEsvwwfEjLytzDmcrAFHHJipw7dPsnNTTV+FY0ee d0hg2DQ4qIKFhWIMfKHwzQfkzA== X-Received: by 2002:a17:907:c17:b0:9a5:ca06:6a25 with SMTP id ga23-20020a1709070c1700b009a5ca066a25mr8480612ejc.16.1695211191629; Wed, 20 Sep 2023 04:59:51 -0700 (PDT) Received: from [172.20.24.238] (static-212-193-78-212.thenetworkfactory.nl. [212.78.193.212]) by smtp.gmail.com with ESMTPSA id x11-20020a170906148b00b0098e78ff1a87sm9201237ejc.120.2023.09.20.04.59.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Sep 2023 04:59:51 -0700 (PDT) Message-ID: Date: Wed, 20 Sep 2023 13:59:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v2 10/11] riscv: dts: sophgo: add Milk-V Pioneer board device tree Content-Language: en-US To: Chen Wang , aou@eecs.berkeley.edu, chao.wei@sophgo.com, conor@kernel.org, devicetree@vger.kernel.org, emil.renner.berthing@canonical.com, guoren@kernel.org, jszhang@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, palmer@dabbelt.com, paul.walmsley@sifive.com, robh+dt@kernel.org, xiaoguang.xing@sophgo.com Cc: Chen Wang References: From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 20 Sep 2023 05:00:29 -0700 (PDT) On 20/09/2023 08:40, Chen Wang wrote: > Milk-V Pioneer [1] is a developer motherboard based on SOPHON > SG2042 in a standard mATX form factor. It is a good > choice for RISC-V developers and hardware pioneers to > experience the cutting edge technology of RISC-V. > > Currently only support booting into console with only uart > enabled, other features will be added soon later. > > [1]: https://milkv.io/pioneer > > Acked-by: Xiaoguang Xing > Signed-off-by: Chen Wang > --- > arch/riscv/boot/dts/Makefile | 1 + > arch/riscv/boot/dts/sophgo/Makefile | 3 +++ > .../boot/dts/sophgo/sg2042-milkv-pioneer.dts | 19 +++++++++++++++++++ > 3 files changed, 23 insertions(+) > create mode 100644 arch/riscv/boot/dts/sophgo/Makefile > create mode 100644 arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts > > diff --git a/arch/riscv/boot/dts/Makefile b/arch/riscv/boot/dts/Makefile > index f60a280abb15..94788486f13e 100644 > --- a/arch/riscv/boot/dts/Makefile > +++ b/arch/riscv/boot/dts/Makefile > @@ -6,5 +6,6 @@ subdir-y += renesas > subdir-y += sifive > subdir-y += starfive > subdir-y += thead > +subdir-y += sophgo > > obj-$(CONFIG_BUILTIN_DTB) := $(addsuffix /, $(subdir-y)) > diff --git a/arch/riscv/boot/dts/sophgo/Makefile b/arch/riscv/boot/dts/sophgo/Makefile > new file mode 100644 > index 000000000000..5a471b19df22 > --- /dev/null > +++ b/arch/riscv/boot/dts/sophgo/Makefile > @@ -0,0 +1,3 @@ > +# SPDX-License-Identifier: GPL-2.0 > +dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-milkv-pioneer.dtb > + > diff --git a/arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts b/arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts > new file mode 100644 > index 000000000000..d6e8c0285d1e > --- /dev/null > +++ b/arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts > @@ -0,0 +1,19 @@ > +// SPDX-License-Identifier: GPL-2.0 OR MIT > +/* > + * Copyright (C) 2022 Sophgo Technology Inc. All rights reserved. > + */ > + > +#include "sg2042.dtsi" > + > +/ { > + model = "Milk-V Pioneer"; > + compatible = "milkv,pioneer", "sophgo,sg2042"; > + > + chosen: chosen { Drop label, not used. Best regards, Krzysztof