]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: ls208xa-rdb: Pass unit name to SPI flash node
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 24 Apr 2018 20:27:24 +0000 (17:27 -0300)
committerShawn Guo <shawnguo@kernel.org>
Fri, 4 May 2018 07:27:53 +0000 (15:27 +0800)
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@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@2100000/n25q512a: node has a reg or ranges property, but no unit name

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi

index 5498c705ae6a476ed04d9b4fd2a71f4be9dff8aa..061647bd97b8a6246d94b41d0c64027769036a02 100644 (file)
@@ -134,7 +134,7 @@ &i2c3 {
 
 &dspi {
        status = "okay";
-       dflash0: n25q512a {
+       dflash0: n25q512a@0 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "st,m25p80";