Merge tag 'v4.2-rockchip-dts1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / hip04-d01.dts
1 /*
2  *  Copyright (C) 2013-2014 Linaro Ltd.
3  *  Author: Haojian Zhuang <haojian.zhuang@linaro.org>
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License version 2 as
7  *  publishhed by the Free Software Foundation.
8  */
9
10 /dts-v1/;
11
12 #include "hip04.dtsi"
13
14 / {
15         /* memory bus is 64-bit */
16         #address-cells = <2>;
17         #size-cells = <2>;
18         model = "Hisilicon D01 Development Board";
19         compatible = "hisilicon,hip04-d01";
20
21         memory@00000000,10000000 {
22                 device_type = "memory";
23                 reg = <0x00000000 0x10000000 0x00000000 0xc0000000>,
24                       <0x00000004 0xc0000000 0x00000003 0x40000000>;
25         };
26
27         soc {
28                 uart0: uart@4007000 {
29                         status = "ok";
30                 };
31
32                 nand: nand@4020000 {
33                         nand-bus-width = <8>;
34                         nand-ecc-mode = "hw";
35                         nand-ecc-strength = <16>;
36                         nand-ecc-step-size = <1024>;
37
38                         partition@0 {
39                                 label = "nand_text";
40                                 reg = <0x00000000 0x00400000>;
41                         };
42
43                         partition@00400000 {
44                                 label = "nand_monitor";
45                                 reg = <0x00400000 0x00400000>;
46                         };
47
48                         partition@00800000 {
49                                 label = "nand_kernel";
50                                 reg = <0x00800000 0x00800000>;
51                         };
52
53                         partition@01000000 {
54                                 label = "nand_fs";
55                                 reg = <0x01000000 0x1f000000>;
56                         };
57                 };
58         };
59 };