From: Michael Opdenacker <michael.opdenacker@bootlin.com>
To: Inochi Amaoto <inochiama@outlook.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Chen Wang <unicorn_wang@outlook.com>,
Paul Walmsley <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>
Cc: michael.opdenacker@bootlin.com, devicetree@vger.kernel.org,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 2/2] riscv: dts: sophgo: add initial Milk-V Duo S board support
Date: Tue, 23 Apr 2024 08:11:29 +0200 [thread overview]
Message-ID: <fbdcc77e-eab4-41da-803c-d65405f37f02@bootlin.com> (raw)
In-Reply-To: <IA1PR20MB4953D0D45EB0EDB6E8046664BB132@IA1PR20MB4953.namprd20.prod.outlook.com>
Hi Inochi,
Thanks for the advice.
On 4/21/24 at 08:30, Inochi Amaoto wrote:
> On Sun, Apr 21, 2024 at 07:57:01AM GMT, Michael Opdenacker wrote:
> +++ b/arch/riscv/boot/dts/sophgo/sg2000-milkv-duos.dts
> @@ -0,0 +1,34 @@
> +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
> +/*
> + * Copyright (C) 2024 Michael Opdenacker <michael.opdenacker@bootlin.com>
> + */
> +
> +/dts-v1/;
> +
> +#include "cv1812h.dtsi"
> +
> +/ {
> + model = "Milk-V Duo S";
> + compatible = "milkv,duos", "sophgo,cv1812h";
> +
> + aliases {
> + serial0 = &uart0;
> + };
> +
> + chosen {
> + stdout-path = "serial0:115200n8";
> + };
> +
> + memory@80000000 {
> + device_type = "memory";
> + reg = <0x80000000 0x20000000>;
> + };
>>> Add a cpu specific file, and move this to it.
>> Now that I'm including "cv1812h.dtsi", which has the same structure, all I
>> need is to change the reg setting to have 512 MB of RAM instead of 256MB,
>> right? See the V6 I'm sending soon.
>>
> No, Duo S does not use cv1812h, in any means. I just told you to use
> cv1812h for local test. If you want to upstream Duo S, you must add
> the right cpu compatibles and necessary nodes. These two are different
> things.
So, do you mean I should create a new "sophgo,sg2000" compatible,
together with a new "sg2000.dtsi" (or "sg200x.dtsi"?) file? Could this
file include "cv18xx.dtsi"?
By the way, where's the best source of information about the Sophgo
sg2000 and sg2002 processors? Even the Sophgo website doesn't seem to
have them :-/ . It just mentions the CV18xx ones.
Thanks again
Cheers
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2024-04-23 6:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-17 6:53 [PATCH v5 0/2] add initial Milk-V Duo S board support michael.opdenacker
2024-04-17 6:53 ` [PATCH v5 1/2] dt-bindings: riscv: add Milk-V Duo S board compatibles michael.opdenacker
2024-04-17 9:25 ` Inochi Amaoto
2024-04-17 6:53 ` [PATCH v5 2/2] riscv: dts: sophgo: add initial Milk-V Duo S board support michael.opdenacker
2024-04-17 9:34 ` Inochi Amaoto
2024-04-17 15:06 ` Conor Dooley
2024-04-17 22:29 ` Inochi Amaoto
2024-04-21 5:57 ` Michael Opdenacker
2024-04-21 6:30 ` Inochi Amaoto
2024-04-23 6:11 ` Michael Opdenacker [this message]
2024-04-23 7:57 ` Thomas Bonnefille
2024-04-23 8:24 ` Inochi Amaoto
2024-04-17 9:19 ` [PATCH v5 0/2] " Emil Renner Berthing
2024-04-21 5:58 ` Michael Opdenacker
2024-04-18 15:43 ` Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fbdcc77e-eab4-41da-803c-d65405f37f02@bootlin.com \
--to=michael.opdenacker@bootlin.com \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=inochiama@outlook.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=robh@kernel.org \
--cc=unicorn_wang@outlook.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox