From: Stafford Horne <shorne@gmail.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Linux OpenRISC <linux-openrisc@vger.kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jonas Bonn <jonas@southpole.se>,
Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>,
Masahiro Yamada <masahiroy@kernel.org>,
devicetree@vger.kernel.org
Subject: Re: [PATCH v2 4/5] openrisc: dts: Split simple smp dts to dts and dtsi
Date: Sat, 3 Jan 2026 06:13:44 +0000 [thread overview]
Message-ID: <aVizmEcLSgD_Sgwj@antec> (raw)
In-Reply-To: <CAMuHMdXG2HQ8e+Hx1CUBus_VYKmx4fEeDRH+sDXmaQQANTraBg@mail.gmail.com>
On Thu, Dec 18, 2025 at 07:37:43PM +0100, Geert Uytterhoeven wrote:
> Hi Stafford,
>
> On Wed, 17 Dec 2025 at 09:23, Stafford Horne <shorne@gmail.com> wrote:
> > Split out the common memory, CPU and PIC definitions of the simple SMP
> > system to a DTSI file which we will later use for our De0 Nano multicore
> > board device tree. We also take this opportunity to swich underscores
> > to dashes as that seems to be the more common convention for DTS files.
> >
> > Signed-off-by: Stafford Horne <shorne@gmail.com>
>
> Thanks for your patch!
Thanks for the review. Sorry for the delay my home server (internet) went down
when I was out of the country and I didn't fix until I go back.
> > --- /dev/null
> > +++ b/arch/openrisc/boot/dts/simple-smp.dts
> > @@ -0,0 +1,25 @@
> > +// SPDX-License-Identifier: GPL-2.0
> > +
> > +/dts-v1/;
> > +
> > +#include "simple-smp.dtsi"
> > +
> > +/ {
> > + model = "Simple SMP Board";
> > +};
> > +
> > +&cpu0 {
> > + clock-frequency = <20000000>;
> > +};
> > +
> > +&cpu1 {
> > + clock-frequency = <20000000>;
> > +};
> > +
> > +&serial0 {
> > + clock-frequency = <20000000>;
> > +};
> > +
> > +&enet0 {
>
> Alphabetical sort order?
Sure, I'll fix, I didn't know all of the conventions, thanks for pointing out.
> > + status = "okay";
> > +};
> > diff --git a/arch/openrisc/boot/dts/simple_smp.dts b/arch/openrisc/boot/dts/simple-smp.dtsi
> > similarity index 90%
> > rename from arch/openrisc/boot/dts/simple_smp.dts
> > rename to arch/openrisc/boot/dts/simple-smp.dtsi
> > index 71af0e117bfe..2013fd3e7a18 100644
> > --- a/arch/openrisc/boot/dts/simple_smp.dts
> > +++ b/arch/openrisc/boot/dts/simple-smp.dtsi
> > @@ -1,4 +1,3 @@
> > -/dts-v1/;
> > / {
> > compatible = "opencores,or1ksim";
> > #address-cells = <1>;
> > @@ -22,15 +21,13 @@ memory@0 {
> > cpus {
> > #address-cells = <1>;
> > #size-cells = <0>;
>
> Missing blank line.
OK.
> > - cpu@0 {
> > + cpu0: cpu@0 {
> > compatible = "opencores,or1200-rtlsvn481";
> > reg = <0>;
> > - clock-frequency = <20000000>;
> > };
>
> Likewise.
OK.
> > - cpu@1 {
> > + cpu1: cpu@1 {
> > compatible = "opencores,or1200-rtlsvn481";
> > reg = <1>;
> > - clock-frequency = <20000000>;
> > };
> > };
> >
Thanks,
-Stafford
next prev parent reply other threads:[~2026-01-03 6:13 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-17 8:08 [PATCH v2 0/5] OpenRISC de0 nano single and multicore boards Stafford Horne
2025-12-17 8:08 ` [PATCH v2 1/5] dt-bindings: Add compatible string opencores,gpio to gpio-mmio Stafford Horne
2025-12-18 0:55 ` Conor Dooley
2026-01-03 5:55 ` Stafford Horne
2026-01-07 14:17 ` Linus Walleij
2026-01-07 14:35 ` Geert Uytterhoeven
2026-01-08 8:20 ` Stafford Horne
2026-01-08 8:41 ` Geert Uytterhoeven
2026-01-09 10:07 ` Linus Walleij
2026-01-09 10:19 ` Geert Uytterhoeven
2026-01-09 12:51 ` Stafford Horne
2026-01-12 9:25 ` Bartosz Golaszewski
2026-01-13 16:17 ` Stafford Horne
2025-12-17 8:08 ` [PATCH v2 2/5] openrisc: dts: Add de0 nano config and devicetree Stafford Horne
2025-12-18 18:36 ` Geert Uytterhoeven
2026-01-03 6:16 ` Stafford Horne
2026-01-05 11:02 ` Geert Uytterhoeven
2026-01-06 9:54 ` Stafford Horne
2026-01-06 10:18 ` Geert Uytterhoeven
2026-01-08 7:50 ` Stafford Horne
2025-12-17 8:08 ` [PATCH v2 3/5] openrisc: Fix IPIs on simple multicore systems Stafford Horne
2025-12-17 8:08 ` [PATCH v2 4/5] openrisc: dts: Split simple smp dts to dts and dtsi Stafford Horne
2025-12-18 18:37 ` Geert Uytterhoeven
2026-01-03 6:13 ` Stafford Horne [this message]
2025-12-17 8:08 ` [PATCH v2 5/5] openrisc: dts: Add de0 nano multicore config and devicetree Stafford Horne
2025-12-18 13:46 ` (subset) [PATCH v2 0/5] OpenRISC de0 nano single and multicore boards Bartosz Golaszewski
2026-01-11 16:39 ` Stafford Horne
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=aVizmEcLSgD_Sgwj@antec \
--to=shorne@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geert@linux-m68k.org \
--cc=jonas@southpole.se \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-openrisc@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=robh@kernel.org \
--cc=stefan.kristiansson@saunalahti.fi \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.