Merge tag 'media/v5.8-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[linux-2.6-microblaze.git] / arch / arm / boot / dts / imx28-apf28.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright 2012 Armadeus Systems - <support@armadeus.com>
4  */
5
6 /dts-v1/;
7 #include "imx28.dtsi"
8
9 / {
10         model = "Armadeus Systems APF28 module";
11         compatible = "armadeus,imx28-apf28", "fsl,imx28";
12
13         memory@40000000 {
14                 device_type = "memory";
15                 reg = <0x40000000 0x08000000>;
16         };
17
18         apb@80000000 {
19                 apbh@80000000 {
20                         gpmi-nand@8000c000 {
21                                 pinctrl-names = "default";
22                                 pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
23                                 status = "okay";
24
25                                 partition@0 {
26                                         label = "u-boot";
27                                         reg = <0x0 0x300000>;
28                                 };
29
30                                 partition@300000 {
31                                         label = "env";
32                                         reg = <0x300000 0x80000>;
33                                 };
34
35                                 partition@380000 {
36                                         label = "env2";
37                                         reg = <0x380000 0x80000>;
38                                 };
39
40                                 partition@400000 {
41                                         label = "dtb";
42                                         reg = <0x400000 0x80000>;
43                                 };
44
45                                 partition@480000 {
46                                         label = "splash";
47                                         reg = <0x480000 0x80000>;
48                                 };
49
50                                 partition@500000 {
51                                         label = "kernel";
52                                         reg = <0x500000 0x800000>;
53                                 };
54
55                                 partition@d00000 {
56                                         label = "rootfs";
57                                         reg = <0xd00000 0xf300000>;
58                                 };
59                         };
60                 };
61
62                 apbx@80040000 {
63                         duart: serial@80074000 {
64                                 pinctrl-names = "default";
65                                 pinctrl-0 = <&duart_pins_a>;
66                                 status = "okay";
67                         };
68                 };
69         };
70
71         ahb@80080000 {
72                 mac0: ethernet@800f0000 {
73                         phy-mode = "rmii";
74                         pinctrl-names = "default";
75                         pinctrl-0 = <&mac0_pins_a>;
76                         phy-reset-gpios = <&gpio4 13 GPIO_ACTIVE_LOW>;
77                         status = "okay";
78                 };
79         };
80 };