1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
4 */
5
6#include "imx25.dtsi"
7
8/ {
9	model = "Eukrea CPUIMX25";
10	compatible = "eukrea,cpuimx25", "fsl,imx25";
11
12	memory@80000000 {
13		device_type = "memory";
14		reg = <0x80000000 0x4000000>; /* 64M */
15	};
16};
17
18&fec {
19	phy-mode = "rmii";
20	pinctrl-names = "default";
21	pinctrl-0 = <&pinctrl_fec>;
22	status = "okay";
23};
24
25&i2c1 {
26	pinctrl-names = "default";
27	pinctrl-0 = <&pinctrl_i2c1>;
28	status = "okay";
29
30	pcf8563@51 {
31		compatible = "nxp,pcf8563";
32		reg = <0x51>;
33	};
34};
35
36&iomuxc {
37	imx25-eukrea-cpuimx25 {
38		pinctrl_fec: fecgrp {
39			fsl,pins = <
40				MX25_PAD_FEC_MDC__FEC_MDC		0x80000000
41				MX25_PAD_FEC_MDIO__FEC_MDIO		0x400001e0
42				MX25_PAD_FEC_TDATA0__FEC_TDATA0		0x80000000
43				MX25_PAD_FEC_TDATA1__FEC_TDATA1		0x80000000
44				MX25_PAD_FEC_TX_EN__FEC_TX_EN		0x80000000
45				MX25_PAD_FEC_RDATA0__FEC_RDATA0		0x80000000
46				MX25_PAD_FEC_RDATA1__FEC_RDATA1		0x80000000
47				MX25_PAD_FEC_RX_DV__FEC_RX_DV		0x80000000
48				MX25_PAD_FEC_TX_CLK__FEC_TX_CLK		0x1c0
49			>;
50		};
51
52		pinctrl_i2c1: i2c1grp {
53			fsl,pins = <
54				MX25_PAD_I2C1_CLK__I2C1_CLK		0x80000000
55				MX25_PAD_I2C1_DAT__I2C1_DAT		0x80000000
56			>;
57		};
58	};
59};
60
61&nfc {
62	nand-bus-width = <8>;
63	nand-ecc-mode = "hw";
64	nand-on-flash-bbt;
65	status = "okay";
66};
67