]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: filogic: fix flash node name dtc warnings
authorShiji Yang <yangshiji66@outlook.com>
Sun, 18 May 2025 23:25:27 +0000 (07:25 +0800)
committerShiji Yang <yangshiji66@outlook.com>
Mon, 19 May 2025 12:01:00 +0000 (20:01 +0800)
Correct dts node name based on reg property to fix the
following dtc warnings:

mt7981-rfb-spim-nand.dtso:20.25-67.6: Warning (spi_bus_reg): /fragment@1/__overlay__/spi_nand@0: SPI bus unit address format error, expected "1"
mt7986a-rfb-spim-nand.dts:41.23-76.4: Warning (spi_bus_reg): /soc/spi@1100a000/spi_nand@0: SPI bus unit address format error, expected "1"
../dts/mt7981a-comfast-cf-e393ax.dts:135.23-206.4: Warning (spi_bus_reg): /soc/spi@1100a000/spi_nand@0: SPI bus unit address format error, expected "1"
../dts/mt7981b-openwrt-one.dts:305.10-342.4: Warning (spi_bus_reg): /soc/spi@1100a000/flash@0: SPI bus unit address format error, expected "1"
../dts/mt7986a-zyxel-ex5601-t0-common.dtsi:166.30-180.4: Warning (spi_bus_reg): /soc/spi@1100a000/spi_nand@0: SPI bus unit address format error, expected "1"

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
target/linux/mediatek/dts/mt7981a-comfast-cf-e393ax.dts
target/linux/mediatek/dts/mt7981b-openwrt-one.dts
target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi
target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7981-rfb-spim-nand.dtso
target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7986a-rfb-spim-nand.dts

index 6ff061b1e9cc8980adee4ea746ed0ed6c42ad9ff..22e48259e3a1c87105e8900b5f86548bca09e0c0 100644 (file)
        #address-cells = <1>;
        #size-cells = <0>;
 
-       spi_nand: spi_nand@0 {
+       spi_nand: spi_nand@1 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "spi-nand";
index 584b48217928ceeb2cc4ae1d88a5e29fd3137d02..77de6775a9838995e82ba09dcbc7ff2883e2c13d 100644 (file)
        #size-cells = <0>;
        status = "okay";
 
-       flash@0 {
+       flash@1 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "spi-nand";
index 682cf66e835db434d84c55083a68d88c50f59ea9..f714509f50303a218f6239be226ded9b07f9015a 100644 (file)
         #size-cells = <0>;
         status = "okay";
 
-        spi_nand: spi_nand@0 {
+        spi_nand: spi_nand@1 {
                 #address-cells = <1>;
                 #size-cells = <1>;
                 compatible = "spi-nand";
index ab53f96cde844e494ccf07cebc4718d76411af07..af4845ec6cff5be2988884b74e827d4883bdd728 100644 (file)
@@ -17,7 +17,7 @@
                        #address-cells = <1>;
                        #size-cells = <0>;
 
-                       spi_nand: spi_nand@0 {
+                       spi_nand: spi_nand@1 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                                compatible = "spi-nand";
index ce007099d2ba323254c452de70caaae00f5fecd2..479a5ca2fc4d6e011883957d42d48003155341ff 100644 (file)
@@ -9,7 +9,7 @@
 &spi0 {
        status = "okay";
 
-       spi_nand: spi_nand@0 {
+       spi_nand: spi_nand@1 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "spi-nand";