Denis Carikli | 153f1d8 | 2014-01-15 17:32:12 +0100 | [diff] [blame] | 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 | }; |
| 40 | }; |
| 41 | |
| 42 | &iomuxc { |
| 43 | imx35-eukrea { |
| 44 | pinctrl_fec: fecgrp { |
| 45 | fsl,pins = < |
| 46 | MX35_PAD_FEC_TX_CLK__FEC_TX_CLK 0x80000000 |
| 47 | MX35_PAD_FEC_RX_CLK__FEC_RX_CLK 0x80000000 |
| 48 | MX35_PAD_FEC_RX_DV__FEC_RX_DV 0x80000000 |
| 49 | MX35_PAD_FEC_COL__FEC_COL 0x80000000 |
| 50 | MX35_PAD_FEC_RDATA0__FEC_RDATA_0 0x80000000 |
| 51 | MX35_PAD_FEC_TDATA0__FEC_TDATA_0 0x80000000 |
| 52 | MX35_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000 |
| 53 | MX35_PAD_FEC_MDC__FEC_MDC 0x80000000 |
| 54 | MX35_PAD_FEC_MDIO__FEC_MDIO 0x80000000 |
| 55 | MX35_PAD_FEC_TX_ERR__FEC_TX_ERR 0x80000000 |
| 56 | MX35_PAD_FEC_RX_ERR__FEC_RX_ERR 0x80000000 |
| 57 | MX35_PAD_FEC_CRS__FEC_CRS 0x80000000 |
| 58 | MX35_PAD_FEC_RDATA1__FEC_RDATA_1 0x80000000 |
| 59 | MX35_PAD_FEC_TDATA1__FEC_TDATA_1 0x80000000 |
| 60 | MX35_PAD_FEC_RDATA2__FEC_RDATA_2 0x80000000 |
| 61 | MX35_PAD_FEC_TDATA2__FEC_TDATA_2 0x80000000 |
| 62 | MX35_PAD_FEC_RDATA3__FEC_RDATA_3 0x80000000 |
| 63 | MX35_PAD_FEC_TDATA3__FEC_TDATA_3 0x80000000 |
| 64 | >; |
| 65 | }; |
| 66 | |
| 67 | pinctrl_i2c1: i2c1grp { |
| 68 | fsl,pins = < |
| 69 | MX35_PAD_I2C1_CLK__I2C1_SCL 0x80000000 |
| 70 | MX35_PAD_I2C1_DAT__I2C1_SDA 0x80000000 |
| 71 | >; |
| 72 | }; |
| 73 | }; |
| 74 | }; |
| 75 | |
| 76 | &nfc { |
| 77 | nand-bus-width = <8>; |
| 78 | nand-ecc-mode = "hw"; |
| 79 | nand-on-flash-bbt; |
| 80 | status = "okay"; |
| 81 | }; |