Merge tag 'devprop-4.21-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafae...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / imx28-eukrea-mbmx283lc.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.MX282 + 64MB DDR2 + NAND + Ethernet PHY + RTC
17  */
18
19 /dts-v1/;
20 #include "imx28-eukrea-mbmx28lc.dtsi"
21
22 / {
23         model = "Eukrea Electromatique MBMX283LC";
24         compatible = "eukrea,mbmx283lc", "eukrea,mbmx28lc", "fsl,imx28";
25
26         memory@40000000 {
27                 device_type = "memory";
28                 reg = <0x40000000 0x04000000>;
29         };
30 };
31
32 &gpmi {
33         pinctrl-names = "default";
34         pinctrl-0 = <&gpmi_pins_a>;
35         status = "okay";
36 };
37
38 &i2c0 {
39         pinctrl-names = "default";
40         pinctrl-0 = <&i2c0_pins_a>;
41         status = "okay";
42
43         pcf8563: rtc@51 {
44                 compatible = "nxp,pcf8563";
45                 reg = <0x51>;
46         };
47 };
48
49
50 &mac0 {
51         phy-mode = "rmii";
52         pinctrl-names = "default";
53         pinctrl-0 = <&mac0_pins_a>;
54         phy-reset-gpios = <&gpio4 13 GPIO_ACTIVE_LOW>;
55         status = "okay";
56 };
57
58 &pinctrl{
59         pinctrl-names = "default";
60         pinctrl-0 = <&hog_pins_cpuimx283>;
61
62         hog_pins_cpuimx283: hog-cpuimx283@0 {
63                 reg = <0>;
64                 fsl,pinmux-ids = <
65                         MX28_PAD_ENET0_RX_CLK__GPIO_4_13
66                         MX28_PAD_ENET0_TX_CLK__GPIO_4_5
67                 >;
68                 fsl,drive-strength = <MXS_DRIVE_4mA>;
69                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
70                 fsl,pull-up = <MXS_PULL_ENABLE>;
71         };
72 };