~sircmpwn/linux

linux/arch/arm/boot/dts/imx28-apf28.dts -rw-r--r-- 1.4 KiB
a99d8080 — Linus Torvalds Linux 5.4-rc6 11 months ago
                                                                                
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
72
73
74
75
76
77
78
79
80
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright 2012 Armadeus Systems - <support@armadeus.com>
 */

/dts-v1/;
#include "imx28.dtsi"

/ {
	model = "Armadeus Systems APF28 module";
	compatible = "armadeus,imx28-apf28", "fsl,imx28";

	memory@40000000 {
		device_type = "memory";
		reg = <0x40000000 0x08000000>;
	};

	apb@80000000 {
		apbh@80000000 {
			gpmi-nand@8000c000 {
				pinctrl-names = "default";
				pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
				status = "okay";

				partition@0 {
					label = "u-boot";
					reg = <0x0 0x300000>;
				};

				partition@300000 {
					label = "env";
					reg = <0x300000 0x80000>;
				};

				partition@380000 {
					label = "env2";
					reg = <0x380000 0x80000>;
				};

				partition@400000 {
					label = "dtb";
					reg = <0x400000 0x80000>;
				};

				partition@480000 {
					label = "splash";
					reg = <0x480000 0x80000>;
				};

				partition@500000 {
					label = "kernel";
					reg = <0x500000 0x800000>;
				};

				partition@d00000 {
					label = "rootfs";
					reg = <0xd00000 0xf300000>;
				};
			};
		};

		apbx@80040000 {
			duart: serial@80074000 {
				pinctrl-names = "default";
				pinctrl-0 = <&duart_pins_a>;
				status = "okay";
			};
		};
	};

	ahb@80080000 {
		mac0: ethernet@800f0000 {
			phy-mode = "rmii";
			pinctrl-names = "default";
			pinctrl-0 = <&mac0_pins_a>;
			phy-reset-gpios = <&gpio4 13 GPIO_ACTIVE_LOW>;
			status = "okay";
		};
	};
};