1/*
2 * Copyright 2013 Eukréa Electromatique <eric@eukrea.com>
3 * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 * GNU General Public License for more details.
13 */
14
15/*
16 * Module contains : i.MX287 + 128MB DDR2 + NAND + 2 x Ethernet PHY + RTC
17 */
18
19#include "imx28-eukrea-mbmx283lc.dts"
20
21/ {
22	model = "Eukrea Electromatique MBMX287LC";
23	compatible = "eukrea,mbmx287lc", "eukrea,mbmx283lc", "eukrea,mbmx28lc", "fsl,imx28";
24
25	memory {
26		reg = <0x40000000 0x08000000>;
27	};
28};
29
30&mac1 {
31	phy-mode = "rmii";
32	pinctrl-names = "default";
33	pinctrl-0 = <&mac1_pins_a>;
34	phy-reset-gpios = <&gpio3 27 GPIO_ACTIVE_HIGH>;
35	status = "okay";
36};
37
38&pinctrl {
39	pinctrl-names = "default";
40	pinctrl-0 = <&hog_pins_cpuimx283 &hog_pins_cpuimx287>;
41	hog_pins_cpuimx287: hog-cpuimx287@0 {
42		reg = <0>;
43		fsl,pinmux-ids = <
44			MX28_PAD_SPDIF__GPIO_3_27
45		>;
46		fsl,drive-strength = <MXS_DRIVE_4mA>;
47		fsl,voltage = <MXS_VOLTAGE_HIGH>;
48		fsl,pull-up = <MXS_PULL_ENABLE>;
49	};
50};
51