Linux-libre 5.4.47-gnu
[librecmc/linux-libre.git] / arch / arm / boot / dts / imx28-eukrea-mbmx287lc.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright 2013 Eukréa Electromatique <eric@eukrea.com>
4  * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
5  */
6
7 /*
8  * Module contains : i.MX287 + 128MB DDR2 + NAND + 2 x Ethernet PHY + RTC
9  */
10
11 #include "imx28-eukrea-mbmx283lc.dts"
12
13 / {
14         model = "Eukrea Electromatique MBMX287LC";
15         compatible = "eukrea,mbmx287lc", "eukrea,mbmx283lc", "eukrea,mbmx28lc", "fsl,imx28";
16
17         memory@40000000 {
18                 device_type = "memory";
19                 reg = <0x40000000 0x08000000>;
20         };
21 };
22
23 &mac1 {
24         phy-mode = "rmii";
25         pinctrl-names = "default";
26         pinctrl-0 = <&mac1_pins_a>;
27         phy-reset-gpios = <&gpio3 27 GPIO_ACTIVE_LOW>;
28         status = "okay";
29 };
30
31 &pinctrl {
32         pinctrl-names = "default";
33         pinctrl-0 = <&hog_pins_cpuimx283 &hog_pins_cpuimx287>;
34         hog_pins_cpuimx287: hog-cpuimx287@0 {
35                 reg = <0>;
36                 fsl,pinmux-ids = <
37                         MX28_PAD_SPDIF__GPIO_3_27
38                 >;
39                 fsl,drive-strength = <MXS_DRIVE_4mA>;
40                 fsl,voltage = <MXS_VOLTAGE_HIGH>;
41                 fsl,pull-up = <MXS_PULL_ENABLE>;
42         };
43 };