From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D7DD442A96 for ; Sat, 3 Jan 2026 06:13:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767420830; cv=none; b=cbIRgmHb8BOF2M1MHb0ZOvqIlgCVejTxYHerRLabY5LIPKAoEVzLfQOlg20+N+zmQR9MRKIjOjP/j5MbSyr0GLEC1W6Y1Nl0/inBUPxfVZj/BbbHkKf0bWaCnaGxjp/p+gdjCic/UgVqRK4/80uhvxfHNgWnPk54uoOwYhT/gKA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767420830; c=relaxed/simple; bh=97zCHu7eDEq2wSCao5W99k8eHqOyXhfcBG8VjAc7L1E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=h4/jpaZPBee7D6gPe0HMwh7YANzOkBLZWc3u24fnonM8YDC+ZFXPhVbZGmtbVyn3CrxAZ0fRx5D7sNzXmTiZ+7hMa+U9L/Rqd/MthEAkHhA882NX8orGqWaZBQwsAiETjRnspCEb2IVukhjlp1fGQF1wk9w0gb2Y2tHh5cQfejc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BC4sIwMt; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BC4sIwMt" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4779ce2a624so98250705e9.2 for ; Fri, 02 Jan 2026 22:13:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767420826; x=1768025626; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=f93gRcp6kFm4mZXOsyuiAcC5fulk1f6gnaxl8osZ7s4=; b=BC4sIwMtESo6+2cyWRqKp9te25YjJ1a/npPPPh2X6l2ix1dxsqgND/raQVNg357O/8 uAMjw8Wx/NNZ3qBaCkVf2Bxtk8ewqkzOkwjzD9SxOkPDwFFU76DM/b17RGmtX/lQdhwl ETP7TczR+W8Yjkw8dN06+sGoKxJUxM5Brs2K5xFJO4NJBjqh0FGRSwMYN1JKQ9x9d/RA +3HQw0L4PYvzWrbOdennCuvR7p41KnORemt8v6loOl3YVP3ROjrtKSIpVH3cokRFWmHh QaRe6/rG9xdvHjghtyNy84hgmnQHDYrgN6QP2fzCCbQ+klKjWIc/GUq0BUkn14lUaeao 021A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767420826; x=1768025626; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=f93gRcp6kFm4mZXOsyuiAcC5fulk1f6gnaxl8osZ7s4=; b=Q5y6cOUWl+OWO+cgel0p+NrApNuuUwpMRBizRlgM1wFuNY4N6JhEsUotBMziOrudWL u4S7n4HPwr/Zdn5Sls19+JYUHTENS7+wAJTSi6fWHvz+dR2fZoaxzB7LqTkZJ1iXOIfu RP6Cf9xBtxnrGKPCxE7AmfI4dVVjFXhY9vSi43nE8LU9Hkf2/EkGXMyio3WqT9QwMpCb TlaeCtuX4jtVLReObcF5ElUxb2wEeuh68jrT5g+bZjLh2pyXdvSloejudNnElAlFuEtF Sq0YnQEAaHiNvH4PrGfqEUTmv25O9UDgGgrI2PGHjeLK9ecL3evkn8ZoENo5kIJ/Qx/l bcwA== X-Gm-Message-State: AOJu0YwZaSoxMTJZ6xKi64QgvXdwoRbE7cYoer7dJJUIq5Imn++KCLYs xBh9kenl1uOsQ9x0cqmkY3hCz6+s51cpq62+sc+Xx/VZ37BF1ixTPHkI X-Gm-Gg: AY/fxX6f1p3wgf61pV+V/yhY3B9LXDhuNbNiSL8gEODRpjMakgNVQcEhVVuJg2akUcu EmyRNG0HLxihhP+zvpgTEOkxissHyv+0+j/lTR2Z+jvM06zYqRsZNH70NmxfyIcZAD/IqbCQRCG qk72nHfAADfS3me22BI5g3HKllgaPFVLm9OBO3D1OBJ4mRwDnEOzVsvoc4FitLjpiSDcmo+idpZ f0mljTJF/OfWPgwwYt8DyjDrKKrhOFrSXOhkwmOzzGVq/PwZS3/ngct9Xvj3IA3PlbPG5uc+MOo 6L/TSnj5SdbhNow0L9Tdht0MZEESw2y8nx5qGbVKg+dwsVGyg3EwJ0ZJWYdrsC7wYGkM/9qpQ1/ dyFfyBj962e+fe7ovzeAqaZ/2kNal6Y04jTj8HHJoiWSkxyChSOzHk6brieIwT2eM3xCAJ7YSy4 PspG+CZAbNJ+QS7aGuzQIf/HGZMmteyi0Pg9N5hfij5kA2NMo12FxVNbFsLZ0N+LQg X-Google-Smtp-Source: AGHT+IEqhEgz23pqULZ0/FEYqnsvhRaMIkKcIDkLAcEj5jOi/WXFwnkZTsPfb8puSZIbrROIMKx2NQ== X-Received: by 2002:a05:600c:4446:b0:475:e007:bae0 with SMTP id 5b1f17b1804b1-47d1956f896mr560090725e9.16.1767420826016; Fri, 02 Jan 2026 22:13:46 -0800 (PST) Received: from localhost (brnt-04-b2-v4wan-170138-cust2432.vm7.cable.virginm.net. [94.175.9.129]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4324ea82f6asm89934101f8f.27.2026.01.02.22.13.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jan 2026 22:13:44 -0800 (PST) Date: Sat, 3 Jan 2026 06:13:44 +0000 From: Stafford Horne To: Geert Uytterhoeven Cc: LKML , Linux OpenRISC , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonas Bonn , Stefan Kristiansson , Masahiro Yamada , devicetree@vger.kernel.org Subject: Re: [PATCH v2 4/5] openrisc: dts: Split simple smp dts to dts and dtsi Message-ID: References: <20251217080843.70621-1-shorne@gmail.com> <20251217080843.70621-5-shorne@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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 > > 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