1/*
2 * dts file for Xilinx ZynqMP Mini Configuration
3 *
4 * (C) Copyright 2018, Xilinx, Inc.
5 *
6 * Siva Durga Prasad <siva.durga.paladugu@xilinx.com>
7 * Michal Simek <michal.simek@xilinx.com>
8 *
9 * SPDX-License-Identifier:	GPL-2.0+
10 */
11
12/dts-v1/;
13
14/ {
15	model = "ZynqMP MINI NAND";
16	compatible = "xlnx,zynqmp";
17	#address-cells = <2>;
18	#size-cells = <1>;
19
20	aliases {
21		serial0 = &dcc;
22	};
23
24	chosen {
25		stdout-path = "serial0:115200n8";
26	};
27
28	memory@0 {
29		device_type = "memory";
30		reg = <0x0 0x0 0x40000000>;
31	};
32
33	dcc: dcc {
34		compatible = "arm,dcc";
35		status = "disabled";
36		u-boot,dm-pre-reloc;
37	};
38
39	amba: amba {
40		compatible = "simple-bus";
41		#address-cells = <2>;
42		#size-cells = <1>;
43		ranges;
44
45		nand0: nand@ff100000 {
46			compatible = "arasan,nfc-v3p10";
47			status = "okay";
48			reg = <0x0 0xff100000 0x1000>;
49			clock-names = "clk_sys", "clk_flash";
50			#address-cells = <2>;
51			#size-cells = <1>;
52			arasan,has-mdma;
53			num-cs = <2>;
54
55			partition@0 {	/* for testing purpose */
56				label = "nand-fsbl-uboot";
57				reg = <0x0 0x0 0x400000>;
58			};
59			partition@1 {	/* for testing purpose */
60				label = "nand-linux";
61				reg = <0x0 0x400000 0x1400000>;
62			};
63			partition@2 {	/* for testing purpose */
64				label = "nand-device-tree";
65				reg = <0x0 0x1800000 0x400000>;
66			};
67			partition@3 {	/* for testing purpose */
68				label = "nand-rootfs";
69				reg = <0x0 0x1C00000 0x1400000>;
70			};
71			partition@4 {	/* for testing purpose */
72				label = "nand-bitstream";
73				reg = <0x0 0x3000000 0x400000>;
74			};
75			partition@5 {	/* for testing purpose */
76				label = "nand-misc";
77				reg = <0x0 0x3400000 0xFCC00000>;
78			};
79			partition@6 {	/* for testing purpose */
80				label = "nand1-fsbl-uboot";
81				reg = <0x1 0x0 0x400000>;
82			};
83			partition@7 {	/* for testing purpose */
84				label = "nand1-linux";
85				reg = <0x1 0x400000 0x1400000>;
86			};
87			partition@8 {	/* for testing purpose */
88				label = "nand1-device-tree";
89				reg = <0x1 0x1800000 0x400000>;
90			};
91			partition@9 {	/* for testing purpose */
92				label = "nand1-rootfs";
93				reg = <0x1 0x1C00000 0x1400000>;
94			};
95			partition@10 {	/* for testing purpose */
96				label = "nand1-bitstream";
97				reg = <0x1 0x3000000 0x400000>;
98			};
99			partition@11 {	/* for testing purpose */
100				label = "nand1-misc";
101				reg = <0x1 0x3400000 0xFCC00000>;
102			};
103		};
104	};
105};
106
107&dcc {
108	status = "okay";
109};
110