ARM: zynq: Fix spi name node
authorMichal Simek <michal.simek@xilinx.com>
Thu, 26 Sep 2019 10:53:09 +0000 (12:53 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 6 Apr 2020 10:51:31 +0000 (12:51 +0200)
None name address should be aligned with address. DTC 1.5.1 is reporting
issues related to that.

arch/arm/boot/dts/zynq-zc770-xm010.dts:106.10-119.4: Warning
 (spi_bus_reg): /amba/spi@e0007000/flash@0: SPI bus unit address format
 error, expected "1"
arch/arm/boot/dts/zynq-zc770-xm013.dts:101.19-109.4: Warning
(spi_bus_reg): /amba/spi@e0006000/eeprom@0: SPI bus unit address format
 error, expected "2"

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynq-zc770-xm010.dts
arch/arm/dts/zynq-zc770-xm013.dts

index e1f34653ec3cc79eabd2f088506269ac091565e5..c547d7921d9ce35ca1fd04fa6d1f5c2533fa35c0 100644 (file)
@@ -72,7 +72,7 @@
        status = "okay";
        num-cs = <4>;
        is-decoded-cs = <0>;
-       flash@0 {
+       flash@1 {
                compatible = "sst25wf080", "jedec,spi-nor";
                reg = <1>;
                spi-max-frequency = <1000000>;
index 05a49982cc4b9877b139bb807131cabeb7c836a9..bdf0c2f956d1eca65c2fb312c3ed22d6d3ed6175 100644 (file)
@@ -67,7 +67,7 @@
        status = "okay";
        num-cs = <4>;
        is-decoded-cs = <0>;
-       eeprom: eeprom@0 {
+       eeprom: eeprom@2 {
                at25,byte-len = <8192>;
                at25,addr-mode = <2>;
                at25,page-size = <32>;