From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 63D3630146C; Fri, 4 Sep 2026 13:03:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788526996; cv=none; b=rvFn+6C8nYe/c/2cXi/iQDtS7NB/j2MCkBPSX5kEUNnSCeQ71jWXgT78FBb7qsBA5PQ7zOsZ/T5/zAoKhxVXrDv1M76/WC90wOYgGHrPYNkyApjU49jnvuMJJ8eAohgy2USLJvr9EkFcDmtfS+q6j/+ZqI418YEkrc5kWud5CIE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788526996; c=relaxed/simple; bh=MPPsv8dTkvN9vfwQgCESU8xUB8NsGlsq9Zn+G/qSkNE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ttaoI82mPEZ0mrYZW1ppf9DkIWwwaSkTmBjZe+RFr3Df6qFkEMiOaAGKvpM6eknuSvEWwLlQBI9pBKoKE0tqVj32Q0IzKgcqyYkecLGWqqw8Wid7ytM3/yw2r0Ilf7NGo29FSp+hYDjtUJq96ondxcVOdoOPJzE6t0Tt4ilJx4E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=otStiFrD; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="otStiFrD" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 011B54E41509; Fri, 4 Sep 2026 13:03:13 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id C876B6057F; Fri, 4 Sep 2026 13:03:12 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id DF8FF11C7ACEC; Fri, 4 Sep 2026 15:03:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1788526991; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=MvH12Wkw5GNJa7jFREGOQOlrScLWslkzq25GVdQ6L8Y=; b=otStiFrDyfPjzH77zPPk2PHbXzCyuymGxP4JVUHXhAN86C1JuHH+TJxgXVK/EhcEgSoNeS o/cG8UkTROYFR1eci80hxh8Xz+e4zW+B2C8Ogu9CrnAFCCPTrml/Mg89tRQQ0UTrnhtrLR Hc62o/0BvlDJWU+x+RWMa1AnXcHcCuAqW1HcqTKKExmzKZ5LLDNA2mJQY0SfMxirkLHI/u sxR+4xXNPNIUiP7/2bFUxuNxnk7VkVOsdvYhxG9bzTLAejwzwg6wrceAfinGhKNyse4SAT 1T1NjFuWMGMDCGIH7/WoTIPVeqwcIngyGXqZo8zhSgrARNHxWFShf+WHVAjPhw== From: Miquel Raynal Date: Fri, 04 Sep 2026 15:02:38 +0200 Subject: [PATCH v2 3/3] arm64: dts: nuvoton: Add NuMaker board Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260904-perso-ma35d1-upstream-dts-v2-3-30ce255a401f@bootlin.com> References: <20260904-perso-ma35d1-upstream-dts-v2-0-30ce255a401f@bootlin.com> In-Reply-To: <20260904-perso-ma35d1-upstream-dts-v2-0-30ce255a401f@bootlin.com> To: Jacky Huang , Shan-Chun Hung , Andrew Jeffery , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Thomas Petazzoni , Steam Lin , linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Miquel Raynal X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 Nuvoton MA35D SoC is used on the NuMaker SoM, itself plugged onto a carrier board labelled NuMaker. Create a DTS including the SoM description. As a first external component, mention the SPI NAND connected to the Quad SPI controller. Signed-off-by: Miquel Raynal --- arch/arm64/boot/dts/nuvoton/Makefile | 1 + arch/arm64/boot/dts/nuvoton/ma35d1-numaker.dts | 42 ++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/arch/arm64/boot/dts/nuvoton/Makefile b/arch/arm64/boot/dts/nuvoton/Makefile index 3bc9787801a5..4c82109c885a 100644 --- a/arch/arm64/boot/dts/nuvoton/Makefile +++ b/arch/arm64/boot/dts/nuvoton/Makefile @@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_MA35) += ma35d1-iot-512m.dtb +dtb-$(CONFIG_ARCH_MA35) += ma35d1-numaker.dtb dtb-$(CONFIG_ARCH_MA35) += ma35d1-som-256m.dtb dtb-$(CONFIG_ARCH_NPCM) += nuvoton-npcm845-evb.dtb diff --git a/arch/arm64/boot/dts/nuvoton/ma35d1-numaker.dts b/arch/arm64/boot/dts/nuvoton/ma35d1-numaker.dts new file mode 100644 index 000000000000..16c003998d3b --- /dev/null +++ b/arch/arm64/boot/dts/nuvoton/ma35d1-numaker.dts @@ -0,0 +1,42 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (C) 2025 Bootlin + * Author: Miquel Raynal + */ + +/dts-v1/; +#include "ma35d1-som-256m.dts" + +/ { + model = "Nuvoton MA35D1 NuMaker"; + compatible = "nuvoton,ma35d1-numaker", "nuvoton,ma35d1-som", "nuvoton,ma35d1"; +}; + +&pinctrl { + spi-grp { + pinctrl_qspi0: qspi0-pins { + nuvoton,pins = <3 0 5>, + <3 1 5>, + <3 2 5>, + <3 3 5>, + <3 4 5>, + <3 5 5>; + bias-disable; + power-source = <1>; + }; + }; +}; + +&qspi0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_qspi0>; + status = "okay"; + + flash: flash@0 { + compatible = "spi-nand"; + reg = <0>; + spi-max-frequency = <30000000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; + }; +}; -- 2.54.0