blob: d59696ee6e7d7ab6d58dd0de2335f4d1f2f8057b [file] [log] [blame]
Stefan Agner7b852342018-05-30 19:01:48 +02001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
Max Krummenacher1f6668a2021-10-06 18:55:36 +02003 * Copyright 2018-2021 Toradex AG
Stefan Agner7b852342018-05-30 19:01:48 +02004 */
5
Igor Opaniuk1ec7c002019-10-16 13:39:35 +03006#include "imx6ull-colibri.dtsi"
7#include "imx6ull-colibri-u-boot.dtsi"
Stefan Agner7b852342018-05-30 19:01:48 +02008
9/ {
10 model = "Toradex Colibri iMX6ULL";
Marcel Ziswiler51d37492019-04-18 01:57:32 +020011 compatible = "toradex,colibri-imx6ull", "fsl,imx6ull";
Stefan Agner7b852342018-05-30 19:01:48 +020012};
Max Krummenacher1f6668a2021-10-06 18:55:36 +020013
14/* NAND */
15&gpmi {
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_gpmi_nand>;
Marcel Ziswilerd6f0a0d2022-04-08 12:27:41 +020018 fsl,use-minimum-ecc;
Max Krummenacher1f6668a2021-10-06 18:55:36 +020019 nand-on-flash-bbt;
20 nand-ecc-mode = "hw";
21 nand-ecc-strength = <8>;
22 nand-ecc-step-size = <512>;
23 status = "okay";
24};
25
26&iomuxc {
27 pinctrl_gpmi_nand: gpmi-nand-grp {
28 fsl,pins = <
29 MX6UL_PAD_NAND_DATA00__RAWNAND_DATA00 0x100a9
30 MX6UL_PAD_NAND_DATA01__RAWNAND_DATA01 0x100a9
31 MX6UL_PAD_NAND_DATA02__RAWNAND_DATA02 0x100a9
32 MX6UL_PAD_NAND_DATA03__RAWNAND_DATA03 0x100a9
33 MX6UL_PAD_NAND_DATA04__RAWNAND_DATA04 0x100a9
34 MX6UL_PAD_NAND_DATA05__RAWNAND_DATA05 0x100a9
35 MX6UL_PAD_NAND_DATA06__RAWNAND_DATA06 0x100a9
36 MX6UL_PAD_NAND_DATA07__RAWNAND_DATA07 0x100a9
37 MX6UL_PAD_NAND_CLE__RAWNAND_CLE 0x100a9
38 MX6UL_PAD_NAND_ALE__RAWNAND_ALE 0x100a9
39 MX6UL_PAD_NAND_RE_B__RAWNAND_RE_B 0x100a9
40 MX6UL_PAD_NAND_WE_B__RAWNAND_WE_B 0x100a9
41 MX6UL_PAD_NAND_CE0_B__RAWNAND_CE0_B 0x100a9
42 MX6UL_PAD_NAND_READY_B__RAWNAND_READY_B 0x100a9
43 >;
44 };
45};