Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / imx27-apf27.dts
1 /*
2  * Copyright 2012 Philippe Reynes <tremyfr@yahoo.fr>
3  * Copyright 2012 Armadeus Systems <support@armadeus.com>
4  *
5  * Based on code which is: Copyright 2012 Sascha Hauer, Pengutronix
6  *
7  * The code contained herein is licensed under the GNU General Public
8  * License. You may obtain a copy of the GNU General Public License
9  * Version 2 or later at the following locations:
10  *
11  * http://www.opensource.org/licenses/gpl-license.html
12  * http://www.gnu.org/copyleft/gpl.html
13  */
14
15 /dts-v1/;
16 #include "imx27.dtsi"
17
18 / {
19         model = "Armadeus Systems APF27 module";
20         compatible = "armadeus,imx27-apf27", "fsl,imx27";
21
22         memory@a0000000 {
23                 device_type = "memory";
24                 reg = <0xa0000000 0x04000000>;
25         };
26 };
27
28 &clk_osc26m {
29         clock-frequency = <0>;
30 };
31
32 &iomuxc {
33         imx27-apf27 {
34                 pinctrl_fec1: fec1grp {
35                         fsl,pins = <
36                                 MX27_PAD_SD3_CMD__FEC_TXD0 0x0
37                                 MX27_PAD_SD3_CLK__FEC_TXD1 0x0
38                                 MX27_PAD_ATA_DATA0__FEC_TXD2 0x0
39                                 MX27_PAD_ATA_DATA1__FEC_TXD3 0x0
40                                 MX27_PAD_ATA_DATA2__FEC_RX_ER 0x0
41                                 MX27_PAD_ATA_DATA3__FEC_RXD1 0x0
42                                 MX27_PAD_ATA_DATA4__FEC_RXD2 0x0
43                                 MX27_PAD_ATA_DATA5__FEC_RXD3 0x0
44                                 MX27_PAD_ATA_DATA6__FEC_MDIO 0x0
45                                 MX27_PAD_ATA_DATA7__FEC_MDC 0x0
46                                 MX27_PAD_ATA_DATA8__FEC_CRS 0x0
47                                 MX27_PAD_ATA_DATA9__FEC_TX_CLK 0x0
48                                 MX27_PAD_ATA_DATA10__FEC_RXD0 0x0
49                                 MX27_PAD_ATA_DATA11__FEC_RX_DV 0x0
50                                 MX27_PAD_ATA_DATA12__FEC_RX_CLK 0x0
51                                 MX27_PAD_ATA_DATA13__FEC_COL 0x0
52                                 MX27_PAD_ATA_DATA14__FEC_TX_ER 0x0
53                                 MX27_PAD_ATA_DATA15__FEC_TX_EN 0x0
54                         >;
55                 };
56
57                 pinctrl_uart1: uart1grp {
58                         fsl,pins = <
59                                 MX27_PAD_UART1_TXD__UART1_TXD 0x0
60                                 MX27_PAD_UART1_RXD__UART1_RXD 0x0
61                         >;
62                 };
63         };
64 };
65
66 &uart1 {
67         pinctrl-names = "default";
68         pinctrl-0 = <&pinctrl_uart1>;
69         status = "okay";
70 };
71
72 &fec {
73         pinctrl-names = "default";
74         pinctrl-0 = <&pinctrl_fec1>;
75         status = "okay";
76 };
77
78 &nfc {
79         status = "okay";
80         nand-bus-width = <16>;
81         nand-ecc-mode = "hw";
82         nand-on-flash-bbt;
83
84         partition@0 {
85                 label = "u-boot";
86                 reg = <0x0 0x100000>;
87         };
88
89         partition@100000 {
90                 label = "env";
91                 reg = <0x100000 0x80000>;
92         };
93
94         partition@180000 {
95                 label = "env2";
96                 reg = <0x180000 0x80000>;
97         };
98
99         partition@200000 {
100                 label = "firmware";
101                 reg = <0x200000 0x80000>;
102         };
103
104         partition@280000 {
105                 label = "dtb";
106                 reg = <0x280000 0x80000>;
107         };
108
109         partition@300000 {
110                 label = "kernel";
111                 reg = <0x300000 0x500000>;
112         };
113
114         partition@800000 {
115                 label = "rootfs";
116                 reg = <0x800000 0xf800000>;
117         };
118 };