Skip to contentSkip to conversation

arm64: dts: ls208xa-rdb: Pass unit name to SPI flash node

PATCH New Fabio Estevam 2 participants 2 messages Apr 24, 2018 – May 4, 2018

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 arm64: dts: ls208xa-rdb: Pass unit name to SPI flash node

From: Fabio Estevam <[email protected]>

Pass unit name to SPI flash node to match its 'reg' value and also avoid the following DTC warnings:

arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dtb: Warning (unit_address_vs_reg): /soc/dspi at 2100000/n25q512a: node has a reg or ranges property, but no unit name arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dtb: Warning (unit_address_vs_reg): /soc/dspi at 2100000/n25q512a: node has a reg or ranges property, but no unit name

---
 arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi +1 -1
index 5498c70..061647b 100644
@@ -134,7 +134,7 @@
 
 &dspi {
 	status = "okay";
-	dflash0: n25q512a {
+	dflash0: n25q512a at 0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "st,m25p80";
Signature · 1 line
2.7.4
Applied
#1 lore raw

PATCH 1/1 arm64: dts: ls208xa-rdb: Pass unit name to SPI flash node

Quoted 9 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Pass unit name to SPI flash node to match its 'reg' value and also avoid the following DTC warnings:

arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dtb: Warning (unit_address_vs_reg): /soc/dspi at 2100000/n25q512a: node has a reg or ranges property, but no unit name arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dtb: Warning (unit_address_vs_reg): /soc/dspi at 2100000/n25q512a: node has a reg or ranges property, but no unit name

Applied, thanks.