From nobody Sat Sep 26 05:29:05 2026 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 A20482D592D for ; Fri, 4 Sep 2026 13:03:10 +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=1788526993; cv=none; b=Re/kyEgIkOzXsR7mmwis9nXJII332CRF7JnujBBO2cO0360IYzCugbsM1qNcppLkpGvhoTSZ7RC/qN1nqduSDtYu2UZ/I8i0E1Ba+aDVPAc6wk9TgmNBkEcUIhGz0vArg04xq1Hkf/2NfSbvey1zv0DJpAjfkUCyTtJusa0omj0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788526993; c=relaxed/simple; bh=T14eyBixmKbaeuBlk24NEJ0rHXVuda4fQO8mz2rqDDs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=L9Uzfn9LPiUMo2taQVfOcO8bOPktQyyZKPH7EYomQ0PB8dNna29eaJVz4aMO9PnAYZAw0DbtPBH81vwFMqhNk1uuNYqD8yZl/UH/Cm3NyRhQdvQZAmtwfcxA0qlBHdJ4HWTRjDgk8sisaL5RGmCFrHVwO/SvcQbyn67hnxJX4mE= 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=uLSM5qOU; 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="uLSM5qOU" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id AD4F84E4150A; Fri, 4 Sep 2026 13:03:08 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 796906057F; Fri, 4 Sep 2026 13:03:08 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 3B80511C7AF0B; Fri, 4 Sep 2026 15:03:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1788526987; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=/yGBXxJGrq9CpNREKuNgAMIWh4atD8OtcoEN+4Ih6cA=; b=uLSM5qOU/rSSfmjC4EZZrgeGTOKUf2TrMmwr89x8O/arV/ia7lxHbRzKi8bBVndXsyuXp+ Qmf6gEiQ8YgYKZwf1rQ+KQXvw6+QmWg4N35Mv/6RwyrZ8e3MnKqAv4lLAktKmeLGrzz3pK Ho7fAjPuhehvTrgvfNMFEzSFjow/UdXAWqDq7jWGnVYXAKpDJzClUqMLfhNqvg2Dp7hHGd nftsnzCJWD+BgjhijTX6GHXVKKJvtQH9rg73H7nqxAzeBnvq5ZAEWfY1MK6vFF964+uAsZ x+uCnihHZZqVBnjyViFV58gXnvDWUlhZsmFEy7mbs1cT7ZjyltZ/grGg9Lp0CQ== From: Miquel Raynal Date: Fri, 04 Sep 2026 15:02:36 +0200 Subject: [PATCH v2 1/3] dt-bindings: nuvoton: Add NuMaker compatible 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260904-perso-ma35d1-upstream-dts-v2-1-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 The NuMaker board is a carrier board on which the MA35D1 SoM may be connected. It has a lot of available peripherals. Signed-off-by: Miquel Raynal Acked-by: Conor Dooley --- Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml | 6 ++++= +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.y= aml b/Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml index fb190db61525..972f71a7449c 100644 --- a/Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml +++ b/Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml @@ -18,7 +18,11 @@ properties: const: '/' compatible: oneOf: - + - description: NuMaker carrier board with an MA35D1 SoM + items: + - const: nuvoton,ma35d1-numaker + - const: nuvoton,ma35d1-som + - const: nuvoton,ma35d1 - description: MA35D1 based boards items: - enum: --=20 2.54.0 From nobody Sat Sep 26 05:29:05 2026 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 6FB9B2DCF67; Fri, 4 Sep 2026 13:03:12 +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=1788526994; cv=none; b=PZ2h2FnE00TT+EpdIynkmkj1wP3WW8igayN5rHtJytz7qA3PmlfYrYHmg+YeYAYvrhT3r9nYxogONaTmFCGbVfxk18bJiIrWDukjCX44W9eL08KRYL2ZpqGgh0ljHvKEJ+Wia39iNYTkkimiek4vKm5XyC0jJUyFuAes2zlLl9U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788526994; c=relaxed/simple; bh=550a5UUxYYtdZC+chP9FRVZb6VTssB757jXRI82GmOk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BbD6FDt2cYMza5BtVSIBxI+mqkyT6S+WTlWTp+N+6MXItmSjtdKvR3oDRfroglY2xpzxtXQwP9n7yn/woDaEz7MlENwGlLTGeTtODhWn4ZAPFj+BCjf5vIfJ1UQvev/lUxbYUhYSoge+LneHyPf4VcPbqzLg2Z/En7WBAwvtGkg= 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=Lnoi88sE; 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="Lnoi88sE" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id C83E24E4150C; Fri, 4 Sep 2026 13:03:10 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 9B96F6057F; Fri, 4 Sep 2026 13:03:10 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id A178F11C7AE94; Fri, 4 Sep 2026 15:03:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1788526989; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=lpzfCBoqh5Lrgy66VhQjiUMxbdjVzKhjhFHiN3Fbspw=; b=Lnoi88sEb0A6TD870U4z9+BTIX6iwzgoROcFBsgoM+el1xv0bD3XfrG3+zX7BcXSHLOt4B 75h6eqvCqTP0ApKYsdL9h2qhXUT8RwUyKuBnYamsl1pwYApRFwjUuY5htL9exUrpsoKBiI t8ro0xhtzQB+U+fLCBxelVq5mQHavxAUp229yqgb900B0Twcw24h2QpdmAHVXaV8kQl9wE 4QcLRmS2ip/ruSQGsP4DAieKSKs1RCBrIj4CcsvKGJsVehilbFLodcWxIR0Fq6AOJeW9qX I9Nsp7w4QiXhSRYDH+aOznNvPLeTkSACkqYWwI/eP5AKJcKLA945nb9jND80eA== From: Miquel Raynal Date: Fri, 04 Sep 2026 15:02:37 +0200 Subject: [PATCH v2 2/3] arm64: dts: nuvoton: Add QSPI0 node 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260904-perso-ma35d1-upstream-dts-v2-2-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 Describe the quad-SPI controller available on Nuvoton MA35D1. Bindings for it have already been contributed. Signed-off-by: Miquel Raynal Reviewed-by: Jacky Huang --- arch/arm64/boot/dts/nuvoton/ma35d1.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi b/arch/arm64/boot/dts/= nuvoton/ma35d1.dtsi index 7228ad4735b5..9eec44128d28 100644 --- a/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi +++ b/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi @@ -431,5 +431,16 @@ mdio1: mdio { #size-cells =3D <0>; }; }; + + qspi0: spi@40680000 { + compatible =3D "nuvoton,ma35d1-qspi"; + reg =3D <0x0 0x40680000 0x0 0x100>; + interrupts =3D ; + clocks =3D <&clk QSPI0_GATE>; + resets =3D <&sys MA35D1_RESET_QSPI0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + status =3D "disabled"; + }; }; }; --=20 2.54.0 From nobody Sat Sep 26 05:29:05 2026 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: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Reviewed-by: Jacky Huang --- 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/nuv= oton/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) +=3D ma35d1-iot-512m.dtb +dtb-$(CONFIG_ARCH_MA35) +=3D ma35d1-numaker.dtb dtb-$(CONFIG_ARCH_MA35) +=3D ma35d1-som-256m.dtb dtb-$(CONFIG_ARCH_NPCM) +=3D nuvoton-npcm845-evb.dtb diff --git a/arch/arm64/boot/dts/nuvoton/ma35d1-numaker.dts b/arch/arm64/bo= ot/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 =3D "Nuvoton MA35D1 NuMaker"; + compatible =3D "nuvoton,ma35d1-numaker", "nuvoton,ma35d1-som", "nuvoton,m= a35d1"; +}; + +&pinctrl { + spi-grp { + pinctrl_qspi0: qspi0-pins { + nuvoton,pins =3D <3 0 5>, + <3 1 5>, + <3 2 5>, + <3 3 5>, + <3 4 5>, + <3 5 5>; + bias-disable; + power-source =3D <1>; + }; + }; +}; + +&qspi0 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_qspi0>; + status =3D "okay"; + + flash: flash@0 { + compatible =3D "spi-nand"; + reg =3D <0>; + spi-max-frequency =3D <30000000>; + spi-rx-bus-width =3D <4>; + spi-tx-bus-width =3D <4>; + }; +}; --=20 2.54.0