From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 41884309F08 for ; Tue, 6 Jan 2026 09:54:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767693296; cv=none; b=JIymjfBIf9gs0yGiNnR/YZzUy8Ft9JdL49IRfq6dgMec0M1wKFgJExaIu8daEETn9JDdjhkWK6mAqamwGwJ94zfm8PT2fTNJ5tvsvPZvw0IagmdSEybMcJGDZ7C7sdaot9us9qQyKYYpGyxE1S/eNgoWLtG04b8fqJk0g3uQc7M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767693296; c=relaxed/simple; bh=5HyOBWBq82UrImMpRRqu650sPUIH25jx7IsXi5sJIxw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=thSHk+WMaARLS8I1+6+t8wz0/xVpz7TzPeylkRSHFu6U0EP7OkY7exfBc6WG8cTvJ40l4PQTwvbyf72YViXHRukpsdi5ePx/YyGsmXQoCYHF0xcFwWODS+TiFLWm8uFOZUR84ws5car6jQaJuGLYCVskasgkVJNakwrj8Z6j1nI= 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=I086Xbre; arc=none smtp.client-ip=209.85.128.47 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="I086Xbre" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-47774d3536dso7258515e9.0 for ; Tue, 06 Jan 2026 01:54:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767693292; x=1768298092; 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=xtIuNs/eQByqyQaTUCgj2PyZmNyYspsThl1lmxuCUqU=; b=I086Xbref/Y3JoHRbK9OOQ6dw/93IpZ9IpkBkgCQVw8DeuLXFnmu6E518gW2tyCESi /7tXZR26DTYNoPjVI4Dj+xZ+rwU/+vEzXEHDJGZNpja8YF3fD2j7z6VMCvikrI++HX0y h+tcmMNIaWfWWk9vfmex21ItoSePhLNLT5OsyPCAD+786Wi1uxEVEU5v0AlzyMK/Ol0M Yf2MlZGHa8h2oHbuTAiLPSD03sCKWE3Bn2iP947eUF5elCVTLCOxyZNoxECu0fBMHNzm oXhAGoYZWFca6z/uK/pJGFtdNwCjuNelsiaopJSj49icIxam3puajinUFoUlCx0wW9xM bgZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767693292; x=1768298092; 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=xtIuNs/eQByqyQaTUCgj2PyZmNyYspsThl1lmxuCUqU=; b=C0gcozltpywcO0WNWcrOLulg5YWhUhHYnOMGcCX9QB27WCxLAWY+7pWLCi3P25XA7A pzfJGbIW4nh3PetF9ubQrY2dQkYhHPoNPKNnGfrdB8y6we9YK/EmJBWdazltdhf+Mjqk DCN8tnG8Wse2801kTyDrzqKEyAOAVaLmLDFJ1tzK+vH8M6yeSByG5xygrA8kVAFpD3Ei 9I/lCnmsw0pBxv69POPMA0pHFfp1UHUjcqVGhxDtqavTasCp01NEwZ6vv4MtdS3lhf0g Gyejw//+j+9OO3H03EZ/m5fYuumECLJNd7aSqxy+lupWcgFDeP8aP25I7DUiJKTmdAGU pqow== X-Gm-Message-State: AOJu0YxCr2K2G4DRfdHenJVJxJndJxLuBOnKRX0muw09Y4ccTfZ8o89W SdL6M7T606MzqXyCtAnVKfDWf6DSBE15HMUjXrPx6xO9ya1IBj7KI1W1 X-Gm-Gg: AY/fxX6b+lHJOQj3FGfU9WcsVHAbphEcTdfsK+kFJAX4bQj/V41JmDcGESWuA9YRUGC UCiHpGtA/AegJK4Qeh7LTLMUWq5QHjQEJOcrMN/CyrlRMrjx2Y9SPVzmOVxjTIdyBMO6PMIrPuU 0HQQ66Wk2C4jziy2w7wNFCwRA4nkDsqgKz7eaaVxa2n4r9D5uaYszyCf2FZkusZWAb8OxaEoqCU 89cqkQL9A8Eukf/HOfInnVHG29g38fdIqU/GOipY1KPdoOnSUACWw6chUWxOllQ/MeM4pjZfMIl foBoK0fToafo5+aC3tNyrNzP4zQxrWeblJs396IpUx5HNCdOOsJMVNgBVrzbPnfsjejBlXIWBLG 8abaC3KYxcjfmEuruse51PAMykVCq3BdfPdLTUVItGmSTkCNZKkB8KD2HvJ11YR8do82uEL3L3m oPO+oZq6B3X39g305CmYtJqFmqCrytOX6CveL++jz8nDDqC6tneW+hvezL/ENMKXeD X-Google-Smtp-Source: AGHT+IGpM4zS6SYOiTIjdF/hysbLDFWHhIoANy7EIscVpkRt1VTLfT54CxmfhNblcCL9mNmLgsA0rw== X-Received: by 2002:a05:600c:a4c:b0:47d:403a:277 with SMTP id 5b1f17b1804b1-47d81589dfbmr14172545e9.4.1767693292340; Tue, 06 Jan 2026 01:54:52 -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-47d7f390a69sm37018615e9.0.2026.01.06.01.54.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jan 2026 01:54:51 -0800 (PST) Date: Tue, 6 Jan 2026 09:54:50 +0000 From: Stafford Horne To: Geert Uytterhoeven Cc: LKML , Linux OpenRISC , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonas Bonn , Stefan Kristiansson , devicetree@vger.kernel.org Subject: Re: [PATCH v2 2/5] openrisc: dts: Add de0 nano config and devicetree Message-ID: References: <20251217080843.70621-1-shorne@gmail.com> <20251217080843.70621-3-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 Mon, Jan 05, 2026 at 12:02:52PM +0100, Geert Uytterhoeven wrote: > Hi Stafford, > > On Sat, 3 Jan 2026 at 07:17, Stafford Horne wrote: > > On Thu, Dec 18, 2025 at 07:36:08PM +0100, Geert Uytterhoeven wrote: > > > On Wed, 17 Dec 2025 at 09:23, Stafford Horne wrote: > > > > The de0 nano from Terasic is an FPGA board that we use in the OpenRISC > > > > community to test OpenRISC configurations. Add a base configuration for > > > > the board that runs an OpenRISC CPU at 50Mhz with 32MB ram, UART for > > > > console and some GPIOs for LEDs and switches. > > > > > > > > There is an older version of this floating around that defines all of > > > > the hardware on the board including SPI's, flash devices, sram, ADCs > > > > etc. Eventually it would be good to get the full version upstream > > > > but for now I think a minimal board is good to start with. > > > > > > > > Link: https://openrisc.io/tutorials/de0_nano/ > > > > Link: https://github.com/olofk/de0_nano > > > > > > > > Signed-off-by: Stafford Horne > > > > > --- /dev/null > > > > +++ b/arch/openrisc/boot/dts/de0-nano.dts > > > > @@ -0,0 +1,54 @@ > > > > +// SPDX-License-Identifier: GPL-2.0 > > > > + > > > > +/dts-v1/; > > > > + > > > > +#include "de0-nano-common.dtsi" > > > > + > > > > +/ { > > > > + model = "Terasic DE0 Nano"; > > > > + compatible = "opencores,or1ksim"; > > > > + #address-cells = <1>; > > > > + #size-cells = <1>; > > > > + interrupt-parent = <&pic>; > > > > + > > > > + aliases { > > > > + uart0 = &serial0; > > > > + }; > > > > + > > > > + chosen { > > > > + bootargs = "earlycon"; > > > > > > Do you need this? > > > > What do you mean here? I want to keep "earlycon", and it is not supplied in > > de0-nano-common.dtsi. > > Why do you want to keep it? "earlycon" is a typical debug option, > and should not be needed during normal use. I see, I am always debugging so I leave it on. But, good point for these default configs. I'll remove the debug defaults. Just curious, Do you have a quick way to enable out of tree debug patches i.e. to dts and defconfigs? -Stafford