aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts/zynqmp-mini-nand.dts
blob: 93aa193f017866ab52a01020c492cf8f8676e9a9 (plain)
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
// SPDX-License-Identifier: GPL-2.0+
/*
 * dts file for Xilinx ZynqMP Mini Configuration
 *
 * (C) Copyright 2018, Xilinx, Inc.
 *
 * Siva Durga Prasad <siva.durga.paladugu@xilinx.com>
 * Michal Simek <michal.simek@xilinx.com>
 */

/dts-v1/;

/ {
	model = "ZynqMP MINI NAND";
	compatible = "xlnx,zynqmp";
	#address-cells = <2>;
	#size-cells = <1>;

	aliases {
		serial0 = &dcc;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

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

	dcc: dcc {
		compatible = "arm,dcc";
		status = "disabled";
		u-boot,dm-pre-reloc;
	};

	amba: amba {
		compatible = "simple-bus";
		#address-cells = <2>;
		#size-cells = <1>;
		ranges;

		nand0: nand@ff100000 {
			compatible = "arasan,nfc-v3p10";
			status = "okay";
			reg = <0x0 0xff100000 0x1000>;
			clock-names = "clk_sys", "clk_flash";
			#address-cells = <2>;
			#size-cells = <1>;
			arasan,has-mdma;
			num-cs = <2>;

			partition@0 {	/* for testing purpose */
				label = "nand-fsbl-uboot";
				reg = <0x0 0x0 0x400000>;
			};
			partition@1 {	/* for testing purpose */
				label = "nand-linux";
				reg = <0x0 0x400000 0x1400000>;
			};
			partition@2 {	/* for testing purpose */
				label = "nand-device-tree";
				reg = <0x0 0x1800000 0x400000>;
			};
			partition@3 {	/* for testing purpose */
				label = "nand-rootfs";
				reg = <0x0 0x1C00000 0x1400000>;
			};
			partition@4 {	/* for testing purpose */
				label = "nand-bitstream";
				reg = <0x0 0x3000000 0x400000>;
			};
			partition@5 {	/* for testing purpose */
				label = "nand-misc";
				reg = <0x0 0x3400000 0xFCC00000>;
			};
			partition@6 {	/* for testing purpose */
				label = "nand1-fsbl-uboot";
				reg = <0x1 0x0 0x400000>;
			};
			partition@7 {	/* for testing purpose */
				label = "nand1-linux";
				reg = <0x1 0x400000 0x1400000>;
			};
			partition@8 {	/* for testing purpose */
				label = "nand1-device-tree";
				reg = <0x1 0x1800000 0x400000>;
			};
			partition@9 {	/* for testing purpose */
				label = "nand1-rootfs";
				reg = <0x1 0x1C00000 0x1400000>;
			};
			partition@10 {	/* for testing purpose */
				label = "nand1-bitstream";
				reg = <0x1 0x3000000 0x400000>;
			};
			partition@11 {	/* for testing purpose */
				label = "nand1-misc";
				reg = <0x1 0x3400000 0xFCC00000>;
			};
		};
	};
};

&dcc {
	status = "okay";
};