Merge tag 'batadv-net-for-davem-20190201' of git://git.open-mesh.org/linux-merge
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / imx28-eukrea-mbmx287lc.dts
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@40000000 {
26                 device_type = "memory";
27                 reg = <0x40000000 0x08000000>;
28         };
29 };
30
31 &mac1 {
32         phy-mode = "rmii";
33         pinctrl-names = "default";
34         pinctrl-0 = <&mac1_pins_a>;
35         phy-reset-gpios = <&gpio3 27 GPIO_ACTIVE_LOW>;
36         status = "okay";
37 };
38
39 &pinctrl {
40         pinctrl-names = "default";
41         pinctrl-0 = <&hog_pins_cpuimx283 &hog_pins_cpuimx287>;
42         hog_pins_cpuimx287: hog-cpuimx287@0 {
43                 reg = <0>;
44                 fsl,pinmux-ids = <
45                         MX28_PAD_SPDIF__GPIO_3_27
46                 >;
47                 fsl,drive-strength = <MXS_DRIVE_4mA>;
48                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
49                 fsl,pull-up = <MXS_PULL_ENABLE>;
50         };
51 };