Commit | Line | Data |
---|---|---|
153f1d84 DC |
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 "imx35.dtsi" | |
15 | ||
16 | / { | |
17 | model = "Eukrea CPUIMX35"; | |
18 | compatible = "eukrea,cpuimx35", "fsl,imx35"; | |
19 | ||
20 | memory { | |
21 | reg = <0x80000000 0x8000000>; /* 128M */ | |
22 | }; | |
23 | }; | |
24 | ||
25 | &fec { | |
26 | pinctrl-names = "default"; | |
27 | pinctrl-0 = <&pinctrl_fec>; | |
28 | status = "okay"; | |
29 | }; | |
30 | ||
31 | &i2c1 { | |
32 | pinctrl-names = "default"; | |
33 | pinctrl-0 = <&pinctrl_i2c1>; | |
34 | status = "okay"; | |
35 | ||
36 | pcf8563@51 { | |
37 | compatible = "nxp,pcf8563"; | |
38 | reg = <0x51>; | |
39 | }; | |
5ddbc108 DC |
40 | |
41 | tsc2007: tsc2007@48 { | |
42 | compatible = "ti,tsc2007"; | |
43 | gpios = <&gpio3 2 0>; | |
44 | interrupt-parent = <&gpio3>; | |
45 | interrupts = <0x2 0x8>; | |
46 | pinctrl-names = "default"; | |
47 | pinctrl-0 = <&pinctrl_tsc2007_1>; | |
48 | reg = <0x48>; | |
49 | ti,x-plate-ohms = <180>; | |
50 | }; | |
153f1d84 DC |
51 | }; |
52 | ||
53 | &iomuxc { | |
54 | imx35-eukrea { | |
55 | pinctrl_fec: fecgrp { | |
56 | fsl,pins = < | |
57 | MX35_PAD_FEC_TX_CLK__FEC_TX_CLK 0x80000000 | |
58 | MX35_PAD_FEC_RX_CLK__FEC_RX_CLK 0x80000000 | |
59 | MX35_PAD_FEC_RX_DV__FEC_RX_DV 0x80000000 | |
60 | MX35_PAD_FEC_COL__FEC_COL 0x80000000 | |
61 | MX35_PAD_FEC_RDATA0__FEC_RDATA_0 0x80000000 | |
62 | MX35_PAD_FEC_TDATA0__FEC_TDATA_0 0x80000000 | |
63 | MX35_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000 | |
64 | MX35_PAD_FEC_MDC__FEC_MDC 0x80000000 | |
65 | MX35_PAD_FEC_MDIO__FEC_MDIO 0x80000000 | |
66 | MX35_PAD_FEC_TX_ERR__FEC_TX_ERR 0x80000000 | |
67 | MX35_PAD_FEC_RX_ERR__FEC_RX_ERR 0x80000000 | |
68 | MX35_PAD_FEC_CRS__FEC_CRS 0x80000000 | |
69 | MX35_PAD_FEC_RDATA1__FEC_RDATA_1 0x80000000 | |
70 | MX35_PAD_FEC_TDATA1__FEC_TDATA_1 0x80000000 | |
71 | MX35_PAD_FEC_RDATA2__FEC_RDATA_2 0x80000000 | |
72 | MX35_PAD_FEC_TDATA2__FEC_TDATA_2 0x80000000 | |
73 | MX35_PAD_FEC_RDATA3__FEC_RDATA_3 0x80000000 | |
74 | MX35_PAD_FEC_TDATA3__FEC_TDATA_3 0x80000000 | |
75 | >; | |
76 | }; | |
77 | ||
78 | pinctrl_i2c1: i2c1grp { | |
79 | fsl,pins = < | |
80 | MX35_PAD_I2C1_CLK__I2C1_SCL 0x80000000 | |
81 | MX35_PAD_I2C1_DAT__I2C1_SDA 0x80000000 | |
82 | >; | |
83 | }; | |
5ddbc108 DC |
84 | |
85 | pinctrl_tsc2007_1: tsc2007grp-1 { | |
86 | fsl,pins = <MX35_PAD_ATA_DA2__GPIO3_2 0x80000000>; | |
87 | }; | |
153f1d84 DC |
88 | }; |
89 | }; | |
90 | ||
91 | &nfc { | |
92 | nand-bus-width = <8>; | |
93 | nand-ecc-mode = "hw"; | |
94 | nand-on-flash-bbt; | |
95 | status = "okay"; | |
96 | }; |