1270866Simp/* 2270866Simp * Copyright 2013 Eukr��a Electromatique <denis@eukrea.com> 3270866Simp * 4270866Simp * This program is free software; you can redistribute it and/or 5270866Simp * modify it under the terms of the GNU General Public License 6270866Simp * as published by the Free Software Foundation; either version 2 7270866Simp * of the License, or (at your option) any later version. 8270866Simp * This program is distributed in the hope that it will be useful, 9270866Simp * but WITHOUT ANY WARRANTY; without even the implied warranty of 10270866Simp * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11270866Simp * GNU General Public License for more details. 12270866Simp * 13270866Simp * You should have received a copy of the GNU General Public License 14270866Simp * along with this program; if not, write to the Free Software 15270866Simp * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 16270866Simp * MA 02110-1301, USA. 17270866Simp */ 18270866Simp 19270866Simp#include "imx51.dtsi" 20270866Simp 21270866Simp/ { 22270866Simp model = "Eukrea CPUIMX51"; 23270866Simp compatible = "eukrea,cpuimx51", "fsl,imx51"; 24270866Simp 25270866Simp memory { 26270866Simp reg = <0x90000000 0x10000000>; /* 256M */ 27270866Simp }; 28270866Simp}; 29270866Simp 30270866Simp&fec { 31270866Simp pinctrl-names = "default"; 32270866Simp pinctrl-0 = <&pinctrl_fec>; 33270866Simp status = "okay"; 34270866Simp}; 35270866Simp 36270866Simp&i2c1 { 37270866Simp pinctrl-names = "default"; 38270866Simp pinctrl-0 = <&pinctrl_i2c1>; 39270866Simp status = "okay"; 40270866Simp 41270866Simp pcf8563@51 { 42270866Simp compatible = "nxp,pcf8563"; 43270866Simp reg = <0x51>; 44270866Simp }; 45270866Simp 46270866Simp tsc2007: tsc2007@49 { 47270866Simp compatible = "ti,tsc2007"; 48270866Simp gpios = <&gpio4 0 1>; 49270866Simp interrupt-parent = <&gpio4>; 50270866Simp interrupts = <0x0 0x8>; 51270866Simp pinctrl-names = "default"; 52270866Simp pinctrl-0 = <&pinctrl_tsc2007_1>; 53270866Simp reg = <0x49>; 54270866Simp ti,x-plate-ohms = <180>; 55270866Simp }; 56270866Simp}; 57270866Simp 58270866Simp&iomuxc { 59270866Simp imx51-eukrea { 60270866Simp pinctrl_tsc2007_1: tsc2007grp-1 { 61270866Simp fsl,pins = < 62270866Simp MX51_PAD_GPIO_NAND__GPIO_NAND 0x1f5 63270866Simp MX51_PAD_NANDF_D8__GPIO4_0 0x1f5 64270866Simp >; 65270866Simp }; 66270866Simp 67270866Simp pinctrl_fec: fecgrp { 68270866Simp fsl,pins = < 69270866Simp MX51_PAD_DI_GP3__FEC_TX_ER 0x80000000 70270866Simp MX51_PAD_DI2_PIN4__FEC_CRS 0x80000000 71270866Simp MX51_PAD_DI2_PIN2__FEC_MDC 0x80000000 72270866Simp MX51_PAD_DI2_PIN3__FEC_MDIO 0x80000000 73270866Simp MX51_PAD_DI2_DISP_CLK__FEC_RDATA1 0x80000000 74270866Simp MX51_PAD_DI_GP4__FEC_RDATA2 0x80000000 75270866Simp MX51_PAD_DISP2_DAT0__FEC_RDATA3 0x80000000 76270866Simp MX51_PAD_DISP2_DAT1__FEC_RX_ER 0x80000000 77270866Simp MX51_PAD_DISP2_DAT6__FEC_TDATA1 0x80000000 78270866Simp MX51_PAD_DISP2_DAT7__FEC_TDATA2 0x80000000 79270866Simp MX51_PAD_DISP2_DAT8__FEC_TDATA3 0x80000000 80270866Simp MX51_PAD_DISP2_DAT9__FEC_TX_EN 0x80000000 81270866Simp MX51_PAD_DISP2_DAT10__FEC_COL 0x80000000 82270866Simp MX51_PAD_DISP2_DAT11__FEC_RX_CLK 0x80000000 83270866Simp MX51_PAD_DISP2_DAT12__FEC_RX_DV 0x80000000 84270866Simp MX51_PAD_DISP2_DAT13__FEC_TX_CLK 0x80000000 85270866Simp MX51_PAD_DISP2_DAT14__FEC_RDATA0 0x80000000 86270866Simp MX51_PAD_DISP2_DAT15__FEC_TDATA0 0x80000000 87270866Simp >; 88270866Simp }; 89270866Simp 90270866Simp pinctrl_i2c1: i2c1grp { 91270866Simp fsl,pins = < 92270866Simp MX51_PAD_SD2_CMD__I2C1_SCL 0x400001ed 93270866Simp MX51_PAD_SD2_CLK__I2C1_SDA 0x400001ed 94270866Simp >; 95270866Simp }; 96270866Simp }; 97270866Simp}; 98270866Simp 99270866Simp&nfc { 100270866Simp nand-bus-width = <8>; 101270866Simp nand-ecc-mode = "hw"; 102270866Simp nand-on-flash-bbt; 103270866Simp status = "okay"; 104270866Simp}; 105