1279377Simp/*
2279377Simp * Copyright 2012 Armadeus Systems - <support@armadeus.com>
3279377Simp *
4279377Simp * The code contained herein is licensed under the GNU General Public
5279377Simp * License. You may obtain a copy of the GNU General Public License
6279377Simp * Version 2 or later at the following locations:
7279377Simp *
8279377Simp * http://www.opensource.org/licenses/gpl-license.html
9279377Simp * http://www.gnu.org/copyleft/gpl.html
10279377Simp */
11279377Simp
12279377Simp/dts-v1/;
13279377Simp#include "imx28.dtsi"
14279377Simp
15279377Simp/ {
16279377Simp	model = "Armadeus Systems APF28 module";
17279377Simp	compatible = "armadeus,imx28-apf28", "fsl,imx28";
18279377Simp
19279377Simp	memory {
20279377Simp		reg = <0x40000000 0x08000000>;
21279377Simp	};
22279377Simp
23279377Simp	apb@80000000 {
24279377Simp		apbh@80000000 {
25279377Simp			gpmi-nand@8000c000 {
26279377Simp				pinctrl-names = "default";
27279377Simp				pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
28279377Simp				status = "okay";
29279377Simp
30279377Simp				partition@0 {
31279377Simp					label = "u-boot";
32279377Simp					reg = <0x0 0x300000>;
33279377Simp				};
34279377Simp
35279377Simp				partition@300000 {
36279377Simp					label = "env";
37279377Simp					reg = <0x300000 0x80000>;
38279377Simp				};
39279377Simp
40279377Simp				partition@380000 {
41279377Simp					label = "env2";
42279377Simp					reg = <0x380000 0x80000>;
43279377Simp				};
44279377Simp
45279377Simp				partition@400000 {
46279377Simp					label = "dtb";
47279377Simp					reg = <0x400000 0x80000>;
48279377Simp				};
49279377Simp
50279377Simp				partition@480000 {
51279377Simp					label = "splash";
52279377Simp					reg = <0x480000 0x80000>;
53279377Simp				};
54279377Simp
55279377Simp				partition@500000 {
56279377Simp					label = "kernel";
57279377Simp					reg = <0x500000 0x800000>;
58279377Simp				};
59279377Simp
60279377Simp				partition@d00000 {
61279377Simp					label = "rootfs";
62279377Simp					reg = <0xd00000 0xf300000>;
63279377Simp				};
64279377Simp			};
65279377Simp		};
66279377Simp
67279377Simp		apbx@80040000 {
68279377Simp			duart: serial@80074000 {
69279377Simp				pinctrl-names = "default";
70279377Simp				pinctrl-0 = <&duart_pins_a>;
71279377Simp				status = "okay";
72279377Simp			};
73279377Simp		};
74279377Simp	};
75279377Simp
76279377Simp	ahb@80080000 {
77279377Simp		mac0: ethernet@800f0000 {
78279377Simp			phy-mode = "rmii";
79279377Simp			pinctrl-names = "default";
80279377Simp			pinctrl-0 = <&mac0_pins_a>;
81295436Sandrew			phy-reset-gpios = <&gpio4 13 GPIO_ACTIVE_LOW>;
82279377Simp			status = "okay";
83279377Simp		};
84279377Simp	};
85279377Simp};
86