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