Commit 8124b4a4 authored by Frank Li's avatar Frank Li Committed by Shawn Guo
Browse files

ARM: dts: imx: move nand related property under nand@0

Add child node nand@0 and move NAND related property under it to align
modern nand-controller.yaml.

Fix below CHECK_DTBS warnings:
  arch/arm/boot/dts/nxp/imx/imx6ull-colibri-aster.dtb: nand-controller@1806000 (fsl,imx6q-gpmi-nand): Unevaluated properties are not allowed ('nand-ecc-mode', 'nand-ecc-step-size', 'nand-ecc-strength', 'nand-on-flash-bbt' were unexpected)
        from schema $id: http://devicetree.org/schemas/mtd/gpmi-nand.yaml#



Since 2019 year, commit
(212e4969 dt-bindings: mtd: Add YAML schemas for the generic NAND options)
NAND related property is preferred located under nand@<n> even though only
one NAND chip supported.

Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent af6c4ea1
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -36,8 +36,12 @@ &clks {
&gpmi {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_gpmi_nand>;
	nand-on-flash-bbt;
	status = "okay";

	nand@0 {
		reg = <0>;
		nand-on-flash-bbt;
	};
};

&i2c3 {
+5 −1
Original line number Diff line number Diff line
@@ -172,8 +172,12 @@ eth_phy: ethernet-phy@0 {
&gpmi {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_gpmi_nand>;
	nand-on-flash-bbt;
	status = "okay";

	nand@0 {
		reg = <0>;
		nand-on-flash-bbt;
	};
};

&i2c1 {
+5 −1
Original line number Diff line number Diff line
@@ -102,8 +102,12 @@ ethphy: ethernet-phy@0 {
&gpmi {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_gpmi_nand>;
	nand-on-flash-bbt;
	status = "okay";

	nand@0 {
		reg = <0>;
		nand-on-flash-bbt;
	};
};

&i2c1 {
+5 −1
Original line number Diff line number Diff line
@@ -73,8 +73,12 @@ ethphy: ethernet-phy@3 {
&gpmi {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_gpmi_nand>;
	nand-on-flash-bbt;
	status = "disabled";

	nand@0 {
		reg = <0>;
		nand-on-flash-bbt;
	};
};

&i2c3 {
+5 −1
Original line number Diff line number Diff line
@@ -260,10 +260,14 @@ fixed-link {
&gpmi {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_gpmi_nand>;
	nand-on-flash-bbt;
	#address-cells = <1>;
	#size-cells = <0>;
	status = "okay";

	nand@0 {
		reg = <0>;
		nand-on-flash-bbt;
	};
};

&i2c3 {
Loading