From nobody Sun Feb 8 17:43:00 2026 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 180F023C51D for ; Tue, 13 Jan 2026 16:15:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768320939; cv=none; b=q0CetXyHg08vxK8PTCIWFQ7eK1AJEV+7i1u/NXpDt/GSjlrG51NMQ87c99CC77/NvMRO4EplkBkpAQg4BZ6pU7G9EzSAOz8DefDEfuxE+P8XCga8juAbEm0D6AgGDO6jSosli+Q88yvaTi+D0Jtr7ggLLZYJiWwO1BNhamCSBd0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768320939; c=relaxed/simple; bh=s41epkAbLG9smlbYYXWvYNaWVozGaFQ8TXpu/2hzAWw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=P2jMdLn7BwEoLErRONPVptZoD3pziHu4EO4vKo0qUBAh/aTEc5zJsWHkwcwN3c6V5onz24qZFjeqJGF/djthMUknWsKGEqrJoTGN/p5eW5ovtylsuET+qtyFtCcFOKjK56TFJ2js958m58HSIppIT5Uhk85yokkduo0GAdxq9lc= 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=CUaveW4v; arc=none smtp.client-ip=209.85.128.52 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="CUaveW4v" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-47d1d8a49f5so49480625e9.3 for ; Tue, 13 Jan 2026 08:15:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768320931; x=1768925731; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3u+3JeZcHRgFBFE83J1Rhnm4t9otRBPxkyt04fpaFbg=; b=CUaveW4vjBWPZTsKNsUL4+nytLX093sNsOcwq1Ah0PaDdfmQ02F39GQ38D5mUlyYmZ cbrSiB7kcJnXm2WSfE845xTC+x3ZOxw7hkj7JUxyQs73ql699jvHoM7GanCmyVodZlqj 3/V0NfDdpGx7vfvPc7AaHvJ+r3YwxkX6O8Cc4gnCigd/Jvmh6YarJlFhXB5JNAecvUbt BViCrP/5IvewpOi6wxOWwhznHVT3gq4HVN3wJptKBJKcTL1FR9hOedweHDjKvdWi6M18 ZiFFXX7vW15LY9lzrIzpe4IcvwT0XdaSf3xq9qkkPE/hnwPNTgTFGZRhgu2GHMYLO5gI 2mdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768320931; x=1768925731; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=3u+3JeZcHRgFBFE83J1Rhnm4t9otRBPxkyt04fpaFbg=; b=tvcPedOMABdk9qNvWhYmfS1505c5daPHOepH9QRb1738Wh9LOt4W9B9aiWIcJzgRWI X357F9tWWKRPztrGDTbLICYUzznfJ0yoWqexl017V79RmkCjmCRBgDWW+nNoI4DE0Vyb WuQz3Yl3W5reivsribkshM7pk92jVuDP4SxmaqNXndBWXftlqQln869nD8k6UZl0cygN YSzLAsX1vX6ZgR2HzIX6SxfVzhN992xpGUvLusNcPnNi9t5+CwAth2unodvaW9X4m4O7 bK6FyzlLBQVZc8psnxkJgsoFv2r5/wEAVMb+yMcoOj2prtaIGSatbBpoMzD8N8EvNQa+ BYjg== X-Gm-Message-State: AOJu0YziMCfid80GRgH36gilFCHrVy1996bLOXmhGryJwMchRAQ+AmRc QLjyvRveTncCfnuWT35aqrJt7BtHnUm6W5XqRGPGFsdpfRy+jQ7tFyE+0O8n1A== X-Gm-Gg: AY/fxX5vrDtgEMG5wsoq/DYG2lyHzBkcJNNmas1OnLYS7SGz6gFyIOjKpRETxGdmLKY GKHoyaqgwjtVvyUo4TE/4MQEmJYeIsUNuSBYnHHHU2K4NBeXvd2aIKo/SkO4lIAyBRAq/IWMkFM ZiM6KFwLs3BVBuqHypl5sHpsHCqD2PWv2BcUlrwxID46nVqAXTeZX+UHehVfZsXiQozHVyE4czA 9AD7Cp85jvSFs0kc9051GdYubFo9N/+YXfOulKDOOrAUWndWgUn5CUjhQqz+UDuDMQ9yfhp116/ eHTqKf2hx0AVsem9TtFVForFJugD/sccw5tv5aPAKFWIv44Bvg5K6/6FuRYVyspb5DHpO0PZayg 5R1Bdn9oUlwZO7PFHKJIuBxSkMNh3r9jG2PvQ96D62be+Mbe1X2fqDUE/GELQI3+5PmLnb6Z2S1 WhL+j/LYDDHnbCyvJums45ovGYy+E0411jnGaPNavqGMmcqEeQZjV2BrJzSIjPt9Qi X-Google-Smtp-Source: AGHT+IGhLvJfxVLRGqghrhgN1dMGCIANA0QJw3+JAhwPNyMjUoAIPGjWB7rlYfend9xQbfhK4N/+2w== X-Received: by 2002:a05:600c:4fd0:b0:477:7925:f7fb with SMTP id 5b1f17b1804b1-47d84b200d1mr257784645e9.10.1768320930358; Tue, 13 Jan 2026 08:15:30 -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 5b1f17b1804b1-47ee27cf06bsm1066485e9.4.2026.01.13.08.15.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jan 2026 08:15:27 -0800 (PST) From: Stafford Horne To: LKML Cc: Linux OpenRISC , devicetree , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stafford Horne , Jonas Bonn , Stefan Kristiansson , Masahiro Yamada Subject: [PATCH v4 5/6] openrisc: dts: Split simple smp dts to dts and dtsi Date: Tue, 13 Jan 2026 16:11:38 +0000 Message-ID: <20260113161152.3688309-6-shorne@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260113161152.3688309-1-shorne@gmail.com> References: <20260113161152.3688309-1-shorne@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- Since v3: - No changes. Since v2: - Sort blocks alphabetically. arch/openrisc/boot/dts/simple-smp.dts | 25 +++++++++++++++++++ .../dts/{simple_smp.dts =3D> simple-smp.dtsi} | 11 ++++---- arch/openrisc/configs/simple_smp_defconfig | 2 +- 3 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 arch/openrisc/boot/dts/simple-smp.dts rename arch/openrisc/boot/dts/{simple_smp.dts =3D> simple-smp.dtsi} (90%) diff --git a/arch/openrisc/boot/dts/simple-smp.dts b/arch/openrisc/boot/dts= /simple-smp.dts new file mode 100644 index 000000000000..01cf219e6aac --- /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 =3D "Simple SMP Board"; +}; + +&cpu0 { + clock-frequency =3D <20000000>; +}; + +&cpu1 { + clock-frequency =3D <20000000>; +}; + +&enet0 { + status =3D "okay"; +}; + +&serial0 { + clock-frequency =3D <20000000>; +}; 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..42d6eda33b71 100644 --- a/arch/openrisc/boot/dts/simple_smp.dts +++ b/arch/openrisc/boot/dts/simple-smp.dtsi @@ -1,4 +1,3 @@ -/dts-v1/; / { compatible =3D "opencores,or1ksim"; #address-cells =3D <1>; @@ -22,15 +21,15 @@ memory@0 { cpus { #address-cells =3D <1>; #size-cells =3D <0>; - cpu@0 { + + cpu0: cpu@0 { compatible =3D "opencores,or1200-rtlsvn481"; reg =3D <0>; - clock-frequency =3D <20000000>; }; - cpu@1 { + + cpu1: cpu@1 { compatible =3D "opencores,or1200-rtlsvn481"; reg =3D <1>; - clock-frequency =3D <20000000>; }; }; =20 @@ -57,7 +56,6 @@ serial0: serial@90000000 { compatible =3D "opencores,uart16550-rtlsvn105", "ns16550a"; reg =3D <0x90000000 0x100>; interrupts =3D <2>; - clock-frequency =3D <20000000>; }; =20 enet0: ethoc@92000000 { @@ -65,5 +63,6 @@ enet0: ethoc@92000000 { reg =3D <0x92000000 0x800>; interrupts =3D <4>; big-endian; + status =3D "disabled"; }; }; diff --git a/arch/openrisc/configs/simple_smp_defconfig b/arch/openrisc/con= figs/simple_smp_defconfig index 6008e824d31c..db77c795225e 100644 --- a/arch/openrisc/configs/simple_smp_defconfig +++ b/arch/openrisc/configs/simple_smp_defconfig @@ -20,7 +20,7 @@ CONFIG_SLUB=3Dy CONFIG_SLUB_TINY=3Dy CONFIG_MODULES=3Dy # CONFIG_BLOCK is not set -CONFIG_BUILTIN_DTB_NAME=3D"simple_smp" +CONFIG_BUILTIN_DTB_NAME=3D"simple-smp" CONFIG_SMP=3Dy CONFIG_HZ_100=3Dy CONFIG_OPENRISC_HAVE_SHADOW_GPRS=3Dy --=20 2.51.0