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