summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/hip04-d01.dts
blob: ba04dd5fba8bb537b9a15dedd16c587a586e2ee7 (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
/*
 *  Copyright (C) 2013-2014 Linaro Ltd.
 *  Author: Haojian Zhuang <haojian.zhuang@linaro.org>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License version 2 as
 *  publishhed by the Free Software Foundation.
 */

/dts-v1/;

#include "hip04.dtsi"

/ {
	/* memory bus is 64-bit */
	#address-cells = <2>;
	#size-cells = <2>;
	model = "Hisilicon D01 Development Board";
	compatible = "hisilicon,hip04-d01";

	memory@00000000,10000000 {
		device_type = "memory";
		reg = <0x00000000 0x10000000 0x00000000 0xc0000000>,
		      <0x00000004 0xc0000000 0x00000003 0x40000000>;
	};

	soc {
		uart0: uart@4007000 {
			status = "ok";
		};

		nand: nand@4020000 {
			nand-bus-width = <8>;
			nand-ecc-mode = "hw";
			nand-ecc-strength = <16>;
			nand-ecc-step-size = <1024>;

			partition@0 {
				label = "nand_text";
				reg = <0x00000000 0x00400000>;
			};

			partition@00400000 {
				label = "nand_monitor";
				reg = <0x00400000 0x00400000>;
			};

			partition@00800000 {
				label = "nand_kernel";
				reg = <0x00800000 0x00800000>;
			};

			partition@01000000 {
				label = "nand_fs";
				reg = <0x01000000 0x1f000000>;
			};
		};
	};
};