Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / imx25-eukrea-cpuimx25.dtsi
1 /*
2  * Copyright 2013 EukrĂ©a Electromatique <denis@eukrea.com>
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version 2
7  * of the License, or (at your option) any later version.
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  */
13
14 #include "imx25.dtsi"
15
16 / {
17         model = "Eukrea CPUIMX25";
18         compatible = "eukrea,cpuimx25", "fsl,imx25";
19
20         memory@80000000 {
21                 device_type = "memory";
22                 reg = <0x80000000 0x4000000>; /* 64M */
23         };
24 };
25
26 &fec {
27         phy-mode = "rmii";
28         pinctrl-names = "default";
29         pinctrl-0 = <&pinctrl_fec>;
30         status = "okay";
31 };
32
33 &i2c1 {
34         pinctrl-names = "default";
35         pinctrl-0 = <&pinctrl_i2c1>;
36         status = "okay";
37
38         pcf8563@51 {
39                 compatible = "nxp,pcf8563";
40                 reg = <0x51>;
41         };
42 };
43
44 &iomuxc {
45         imx25-eukrea-cpuimx25 {
46                 pinctrl_fec: fecgrp {
47                         fsl,pins = <
48                                 MX25_PAD_FEC_MDC__FEC_MDC               0x80000000
49                                 MX25_PAD_FEC_MDIO__FEC_MDIO             0x400001e0
50                                 MX25_PAD_FEC_TDATA0__FEC_TDATA0         0x80000000
51                                 MX25_PAD_FEC_TDATA1__FEC_TDATA1         0x80000000
52                                 MX25_PAD_FEC_TX_EN__FEC_TX_EN           0x80000000
53                                 MX25_PAD_FEC_RDATA0__FEC_RDATA0         0x80000000
54                                 MX25_PAD_FEC_RDATA1__FEC_RDATA1         0x80000000
55                                 MX25_PAD_FEC_RX_DV__FEC_RX_DV           0x80000000
56                                 MX25_PAD_FEC_TX_CLK__FEC_TX_CLK         0x1c0
57                         >;
58                 };
59
60                 pinctrl_i2c1: i2c1grp {
61                         fsl,pins = <
62                                 MX25_PAD_I2C1_CLK__I2C1_CLK             0x80000000
63                                 MX25_PAD_I2C1_DAT__I2C1_DAT             0x80000000
64                         >;
65                 };
66         };
67 };
68
69 &nfc {
70         nand-bus-width = <8>;
71         nand-ecc-mode = "hw";
72         nand-on-flash-bbt;
73         status = "okay";
74 };