1// SPDX-License-Identifier: GPL-2.0+ OR X11
2/*
3 * Copyright 2019 Toradex AG
4 */
5
6/dts-v1/;
7#include "imx7-colibri.dtsi"
8
9/ {
10	model = "Toradex Colibri iMX7S/D";
11	compatible = "toradex,imx7-colibri", "fsl,imx7";
12
13	chosen {
14		stdout-path = &uart1;
15	};
16};
17
18&gpmi {
19	pinctrl-names = "default";
20	pinctrl-0 = <&pinctrl_gpmi_nand>;
21	fsl,use-minimum-ecc;
22	nand-on-flash-bbt;
23	nand-ecc-mode = "hw";
24	status = "okay";
25};
26
27&iomuxc {
28	pinctrl_gpmi_nand: gpmi-nand-grp {
29		fsl,pins = <
30			MX7D_PAD_SD3_CLK__NAND_CLE		0x71
31			MX7D_PAD_SD3_CMD__NAND_ALE		0x71
32			MX7D_PAD_SAI1_TX_BCLK__NAND_CE0_B	0x71
33			MX7D_PAD_SAI1_TX_DATA__NAND_READY_B	0x74
34			MX7D_PAD_SD3_STROBE__NAND_RE_B		0x71
35			MX7D_PAD_SD3_RESET_B__NAND_WE_B		0x71
36			MX7D_PAD_SD3_DATA0__NAND_DATA00		0x71
37			MX7D_PAD_SD3_DATA1__NAND_DATA01		0x71
38			MX7D_PAD_SD3_DATA2__NAND_DATA02		0x71
39			MX7D_PAD_SD3_DATA3__NAND_DATA03		0x71
40			MX7D_PAD_SD3_DATA4__NAND_DATA04		0x71
41			MX7D_PAD_SD3_DATA5__NAND_DATA05		0x71
42			MX7D_PAD_SD3_DATA6__NAND_DATA06		0x71
43			MX7D_PAD_SD3_DATA7__NAND_DATA07		0x71
44		>;
45	};
46};
47