diff mbox series

[1/4] ARM: dts: imx7d-smegw01: Remove unneeded #address-cells/#size-cells

Message ID 20230524131008.161193-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/4] ARM: dts: imx7d-smegw01: Remove unneeded #address-cells/#size-cells | expand

Commit Message

Fabio Estevam May 24, 2023, 1:10 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

Remove the unneeded #address-cells/#size-cells from sram@0 to fix
the following 'make CHECK_DTBS=y imx7d-smegw01.dtb' warning:

sram@0: Unevaluated properties are not allowed ('#address-cells', '#size-cells' were unexpected)
From schema: Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/imx7d-smegw01.dts | 2 --
 1 file changed, 2 deletions(-)

Comments

Shawn Guo May 27, 2023, 1:07 p.m. UTC | #1
On Wed, May 24, 2023 at 10:10:05AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Remove the unneeded #address-cells/#size-cells from sram@0 to fix
> the following 'make CHECK_DTBS=y imx7d-smegw01.dtb' warning:
> 
> sram@0: Unevaluated properties are not allowed ('#address-cells', '#size-cells' were unexpected)
> From schema: Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied all, thanks!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx7d-smegw01.dts b/arch/arm/boot/dts/imx7d-smegw01.dts
index c0f00f5db11e..76bbc2ab126e 100644
--- a/arch/arm/boot/dts/imx7d-smegw01.dts
+++ b/arch/arm/boot/dts/imx7d-smegw01.dts
@@ -97,8 +97,6 @@  &ecspi1 {
 	sram@0 {
 		compatible = "microchip,48l640";
 		reg = <0>;
-		#address-cells = <1>;
-		#size-cells = <1>;
 		spi-max-frequency = <16000000>;
 	};
 };