ARM: dts: imx7s: Fix nand-controller #size-cells
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Thu, 12 Oct 2023 08:15:55 +0000 (10:15 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 27 Nov 2023 01:47:58 +0000 (09:47 +0800)
nand-controller.yaml bindings says #size-cells shall be set to 0.
Fixes the dtbs_check warning:
arch/arm/boot/dts/nxp/imx/imx7s-mba7.dtb: nand-controller@33002000:
 #size-cells:0:0: 0 was expected
  from schema $id: http://devicetree.org/schemas/mtd/gpmi-nand.yaml#

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx7s.dtsi

index 3d221f8cba743de59bd0d12aa40130f3a56923b5..608eeac4213b45344c4683232e616749fd552c2b 100644 (file)
                gpmi: nand-controller@33002000 {
                        compatible = "fsl,imx7d-gpmi-nand";
                        #address-cells = <1>;
-                       #size-cells = <1>;
+                       #size-cells = <0>;
                        reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
                        reg-names = "gpmi-nand", "bch";
                        interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;