diff mbox series

[05/16] ARM: zynq: Fix spi name node

Message ID 3863a9dce687283bff274f4df7164d09025cd940.1582028304.git.michal.simek@xilinx.com
State Accepted
Commit d4fb2d1145ed1d975da3b18d8588ac3d398fa9e8
Headers show
Series xilinx: DT sync up | expand

Commit Message

Michal Simek Feb. 18, 2020, 12:20 p.m. UTC
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 at e0007000/flash at 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 at e0006000/eeprom at 0: SPI bus unit address format
 error, expected "2"

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 arch/arm/dts/zynq-zc770-xm010.dts | 2 +-
 arch/arm/dts/zynq-zc770-xm013.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/arm/dts/zynq-zc770-xm010.dts b/arch/arm/dts/zynq-zc770-xm010.dts
index e1f34653ec3c..c547d7921d9c 100644
--- a/arch/arm/dts/zynq-zc770-xm010.dts
+++ b/arch/arm/dts/zynq-zc770-xm010.dts
@@ -72,7 +72,7 @@ 
 	status = "okay";
 	num-cs = <4>;
 	is-decoded-cs = <0>;
-	flash at 0 {
+	flash at 1 {
 		compatible = "sst25wf080", "jedec,spi-nor";
 		reg = <1>;
 		spi-max-frequency = <1000000>;
diff --git a/arch/arm/dts/zynq-zc770-xm013.dts b/arch/arm/dts/zynq-zc770-xm013.dts
index 05a49982cc4b..bdf0c2f956d1 100644
--- a/arch/arm/dts/zynq-zc770-xm013.dts
+++ b/arch/arm/dts/zynq-zc770-xm013.dts
@@ -67,7 +67,7 @@ 
 	status = "okay";
 	num-cs = <4>;
 	is-decoded-cs = <0>;
-	eeprom: eeprom at 0 {
+	eeprom: eeprom at 2 {
 		at25,byte-len = <8192>;
 		at25,addr-mode = <2>;
 		at25,page-size = <32>;