Skip to content

Commit

Permalink
ARM: dts: imx7s: Fix nand-controller #size-cells
Browse files Browse the repository at this point in the history
[ Upstream commit 4aadb84 ]

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 <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
tq-steina authored and Sasha Levin committed Feb 3, 2024
1 parent bd9431a commit 9ee030b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/nxp/imx/imx7s.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,7 @@
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>;
Expand Down

0 comments on commit 9ee030b

Please sign in to comment.