blob: 63164266af8309c04ed8e82e17257d5ea02e6633 [file] [log] [blame]
Denis Cariklic19ba9f2014-02-07 15:50:23 +08001/*
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 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16 * MA 02110-1301, USA.
17 */
18
19#include "imx51.dtsi"
20
21/ {
22 model = "Eukrea CPUIMX51";
23 compatible = "eukrea,cpuimx51", "fsl,imx51";
24
25 memory {
26 reg = <0x90000000 0x10000000>; /* 256M */
27 };
28};
29
30&fec {
31 pinctrl-names = "default";
32 pinctrl-0 = <&pinctrl_fec>;
33 status = "okay";
34};
35
36&i2c1 {
37 pinctrl-names = "default";
38 pinctrl-0 = <&pinctrl_i2c1>;
39 status = "okay";
40
41 pcf8563@51 {
42 compatible = "nxp,pcf8563";
43 reg = <0x51>;
44 };
Denis Cariklia6901702014-04-08 18:22:42 +020045
46 tsc2007: tsc2007@49 {
47 compatible = "ti,tsc2007";
48 gpios = <&gpio4 0 1>;
49 interrupt-parent = <&gpio4>;
50 interrupts = <0x0 0x8>;
51 pinctrl-names = "default";
52 pinctrl-0 = <&pinctrl_tsc2007_1>;
53 reg = <0x49>;
54 ti,x-plate-ohms = <180>;
55 };
Denis Cariklic19ba9f2014-02-07 15:50:23 +080056};
57
58&iomuxc {
59 imx51-eukrea {
60 pinctrl_tsc2007_1: tsc2007grp-1 {
61 fsl,pins = <
62 MX51_PAD_GPIO_NAND__GPIO_NAND 0x1f5
63 MX51_PAD_NANDF_D8__GPIO4_0 0x1f5
64 >;
65 };
66
67 pinctrl_fec: fecgrp {
68 fsl,pins = <
69 MX51_PAD_DI_GP3__FEC_TX_ER 0x80000000
70 MX51_PAD_DI2_PIN4__FEC_CRS 0x80000000
71 MX51_PAD_DI2_PIN2__FEC_MDC 0x80000000
72 MX51_PAD_DI2_PIN3__FEC_MDIO 0x80000000
73 MX51_PAD_DI2_DISP_CLK__FEC_RDATA1 0x80000000
74 MX51_PAD_DI_GP4__FEC_RDATA2 0x80000000
75 MX51_PAD_DISP2_DAT0__FEC_RDATA3 0x80000000
76 MX51_PAD_DISP2_DAT1__FEC_RX_ER 0x80000000
77 MX51_PAD_DISP2_DAT6__FEC_TDATA1 0x80000000
78 MX51_PAD_DISP2_DAT7__FEC_TDATA2 0x80000000
79 MX51_PAD_DISP2_DAT8__FEC_TDATA3 0x80000000
80 MX51_PAD_DISP2_DAT9__FEC_TX_EN 0x80000000
81 MX51_PAD_DISP2_DAT10__FEC_COL 0x80000000
82 MX51_PAD_DISP2_DAT11__FEC_RX_CLK 0x80000000
83 MX51_PAD_DISP2_DAT12__FEC_RX_DV 0x80000000
84 MX51_PAD_DISP2_DAT13__FEC_TX_CLK 0x80000000
85 MX51_PAD_DISP2_DAT14__FEC_RDATA0 0x80000000
86 MX51_PAD_DISP2_DAT15__FEC_TDATA0 0x80000000
87 >;
88 };
89
90 pinctrl_i2c1: i2c1grp {
91 fsl,pins = <
92 MX51_PAD_SD2_CMD__I2C1_SCL 0x400001ed
93 MX51_PAD_SD2_CLK__I2C1_SDA 0x400001ed
94 >;
95 };
96 };
97};
98
99&nfc {
100 nand-bus-width = <8>;
101 nand-ecc-mode = "hw";
102 nand-on-flash-bbt;
103 status = "okay";
104};