hc
2023-11-30 6c9be420e167ee7ce45c0309586f09ddab28ac15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
 * Copyright 2013 Eukréa Electromatique <eric@eukrea.com>
 * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */
 
/*
 * Module contains : i.MX282 + 64MB DDR2 + NAND + Ethernet PHY + RTC
 */
 
/dts-v1/;
#include "imx28-eukrea-mbmx28lc.dtsi"
 
/ {
   model = "Eukrea Electromatique MBMX283LC";
   compatible = "eukrea,mbmx283lc", "eukrea,mbmx28lc", "fsl,imx28";
 
   memory@40000000 {
       reg = <0x40000000 0x04000000>;
   };
};
 
&gpmi {
   pinctrl-names = "default";
   pinctrl-0 = <&gpmi_pins_a>;
   status = "okay";
};
 
&i2c0 {
   pinctrl-names = "default";
   pinctrl-0 = <&i2c0_pins_a>;
   status = "okay";
 
   pcf8563: rtc@51 {
       compatible = "nxp,pcf8563";
       reg = <0x51>;
   };
};
 
 
&mac0 {
   phy-mode = "rmii";
   pinctrl-names = "default";
   pinctrl-0 = <&mac0_pins_a>;
   phy-reset-gpios = <&gpio4 13 GPIO_ACTIVE_LOW>;
   status = "okay";
};
 
&pinctrl{
   pinctrl-names = "default";
   pinctrl-0 = <&hog_pins_cpuimx283>;
 
   hog_pins_cpuimx283: hog-cpuimx283@0 {
       reg = <0>;
       fsl,pinmux-ids = <
           MX28_PAD_ENET0_RX_CLK__GPIO_4_13
           MX28_PAD_ENET0_TX_CLK__GPIO_4_5
       >;
       fsl,drive-strength = <MXS_DRIVE_4mA>;
       fsl,voltage = <MXS_VOLTAGE_HIGH>;
       fsl,pull-up = <MXS_PULL_ENABLE>;
   };
};