Skip to contentSkip to conversation

ARM: dts: imx31/imx6: Use flash as the NOR node name

PATCH Applied Fabio Estevam 2 participants 2 messages Mar 13, 2025 – Apr 22, 2025

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx31/imx6: Use flash as the NOR node name

From: Fabio Estevam <[email protected]>

According to mtd-physmap.yaml, 'nor' is not a valid node name.

Change it to 'flash' to fix the following dt-schema warning:

nor@0,0: $nodename:0: 'nor@0,0' does not match '^(flash|.*sram|nand)(@.*)?$'

---
 arch/arm/boot/dts/nxp/imx/imx31-lite.dts         | 2 +-
 arch/arm/boot/dts/nxp/imx/imx6q-mccmon6.dts      | 2 +-
 arch/arm/boot/dts/nxp/imx/imx6qdl-sabreauto.dtsi | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/nxp/imx/imx31-lite.dts +1 -1
index d17abdfb6330..630f8fa69ba8 100644
@@ -157,7 +157,7 @@ &uart3 {
 &weim {
 	status = "okay";
 
-	nor@0,0 {
+	flash@0,0 {
 		compatible = "cfi-flash";
 		reg = <0 0x0 0x200000>;
 		bank-width = <2>;
arch/arm/boot/dts/nxp/imx/imx6q-mccmon6.dts +1 -1
index f08b37010291..bba82126aaaa 100644
@@ -279,7 +279,7 @@ &weim {
 	ranges = <0 0 0x08000000 0x08000000>;
 	status = "okay";
 
-	nor@0,0 {
+	flash@0,0 {
 		compatible = "cfi-flash";
 		reg = <0 0 0x02000000>;
 		#address-cells = <1>;
arch/arm/boot/dts/nxp/imx/imx6qdl-sabreauto.dtsi +1 -1
index a381cb224c1e..2587d17c5918 100644
@@ -854,7 +854,7 @@ &weim {
 	ranges = <0 0 0x08000000 0x08000000>;
 	status = "disabled"; /* pin conflict with SPI NOR */
 
-	nor@0,0 {
+	flash@0,0 {
 		compatible = "cfi-flash";
 		reg = <0 0 0x02000000>;
 		#address-cells = <1>;
Signature · 1 line
2.34.1
Applied
#1 lore raw
Quoted 9 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

According to mtd-physmap.yaml, 'nor' is not a valid node name.

Change it to 'flash' to fix the following dt-schema warning:

nor@0,0: $nodename:0: 'nor@0,0' does not match '^(flash|.*sram|nand)(@.*)?$'

Applied, thanks!