GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / imx28-apf28.dts
1 /*
2  * Copyright 2012 Armadeus Systems - <support@armadeus.com>
3  *
4  * The code contained herein is licensed under the GNU General Public
5  * License. You may obtain a copy of the GNU General Public License
6  * Version 2 or later at the following locations:
7  *
8  * http://www.opensource.org/licenses/gpl-license.html
9  * http://www.gnu.org/copyleft/gpl.html
10  */
11
12 /dts-v1/;
13 #include "imx28.dtsi"
14
15 / {
16         model = "Armadeus Systems APF28 module";
17         compatible = "armadeus,imx28-apf28", "fsl,imx28";
18
19         memory@40000000 {
20                 reg = <0x40000000 0x08000000>;
21         };
22
23         apb@80000000 {
24                 apbh@80000000 {
25                         gpmi-nand@8000c000 {
26                                 pinctrl-names = "default";
27                                 pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
28                                 status = "okay";
29
30                                 partition@0 {
31                                         label = "u-boot";
32                                         reg = <0x0 0x300000>;
33                                 };
34
35                                 partition@300000 {
36                                         label = "env";
37                                         reg = <0x300000 0x80000>;
38                                 };
39
40                                 partition@380000 {
41                                         label = "env2";
42                                         reg = <0x380000 0x80000>;
43                                 };
44
45                                 partition@400000 {
46                                         label = "dtb";
47                                         reg = <0x400000 0x80000>;
48                                 };
49
50                                 partition@480000 {
51                                         label = "splash";
52                                         reg = <0x480000 0x80000>;
53                                 };
54
55                                 partition@500000 {
56                                         label = "kernel";
57                                         reg = <0x500000 0x800000>;
58                                 };
59
60                                 partition@d00000 {
61                                         label = "rootfs";
62                                         reg = <0xd00000 0xf300000>;
63                                 };
64                         };
65                 };
66
67                 apbx@80040000 {
68                         duart: serial@80074000 {
69                                 pinctrl-names = "default";
70                                 pinctrl-0 = <&duart_pins_a>;
71                                 status = "okay";
72                         };
73                 };
74         };
75
76         ahb@80080000 {
77                 mac0: ethernet@800f0000 {
78                         phy-mode = "rmii";
79                         pinctrl-names = "default";
80                         pinctrl-0 = <&mac0_pins_a>;
81                         phy-reset-gpios = <&gpio4 13 GPIO_ACTIVE_LOW>;
82                         status = "okay";
83                 };
84         };
85 };