]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-airoha: add a label to the spi node
authorDirk Buchwalder <buchwalder@posteo.de>
Sun, 1 Mar 2026 12:48:42 +0000 (13:48 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 5 Mar 2026 10:17:47 +0000 (11:17 +0100)
Add a label to the spi node to allow device trees to reference it
(i.e. to mark status = "okay").

Signed-off-by: Dirk Buchwalder <buchwalder@posteo.de>
Link: https://github.com/openwrt/openwrt/pull/22151
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/boot/uboot-airoha/patches/998-airoha-add-snfi-label.patch [new file with mode: 0644]

diff --git a/package/boot/uboot-airoha/patches/998-airoha-add-snfi-label.patch b/package/boot/uboot-airoha/patches/998-airoha-add-snfi-label.patch
new file mode 100644 (file)
index 0000000..200f93c
--- /dev/null
@@ -0,0 +1,21 @@
+From 4fb890cd92dcf8985e76a544c949ad455784ed81 Mon Sep 17 00:00:00 2001
+From: Dirk Buchwalder <buchwalder@posteo.de>
+Date: Sun, 1 Mar 2026 13:48:42 +0100
+Subject: [PATCH] uboot-airoha: add a label to the spi node
+
+Signed-off-by: Dirk Buchwalder <buchwalder@posteo.de>
+---
+ dts/upstream/src/arm64/airoha/en7581.dtsi           | 2  -+
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/dts/upstream/src/arm64/airoha/en7581.dtsi
++++ b/dts/upstream/src/arm64/airoha/en7581.dtsi
+@@ -150,7 +150,7 @@
+                       interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
+               };
+-              spi@1fa10000 {
++              snfi: spi@1fa10000 {
+                       compatible = "airoha,en7581-snand";
+                       reg = <0x0 0x1fa10000 0x0 0x140>,
+                             <0x0 0x1fa11000 0x0 0x160>;