Merge tag 'powerpc-4.6-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux/fpc-iii.git] / arch / mips / boot / dts / ingenic / ci20.dts
blob1652d8d60b1e4b8673acaa7d2ec182ce7eb7ff98
1 /dts-v1/;
3 #include "jz4780.dtsi"
5 / {
6         compatible = "img,ci20", "ingenic,jz4780";
8         aliases {
9                 serial0 = &uart0;
10                 serial1 = &uart1;
11                 serial3 = &uart3;
12                 serial4 = &uart4;
13         };
15         chosen {
16                 stdout-path = &uart4;
17         };
19         memory {
20                 device_type = "memory";
21                 reg = <0x0 0x10000000
22                        0x30000000 0x30000000>;
23         };
26 &ext {
27         clock-frequency = <48000000>;
30 &uart0 {
31         status = "okay";
34 &uart1 {
35         status = "okay";
38 &uart3 {
39         status = "okay";
42 &uart4 {
43         status = "okay";
46 &nemc {
47         status = "okay";
49         nandc: nand-controller@1 {
50                 compatible = "ingenic,jz4780-nand";
51                 reg = <1 0 0x1000000>;
53                 #address-cells = <1>;
54                 #size-cells = <0>;
56                 ingenic,bch-controller = <&bch>;
58                 ingenic,nemc-tAS = <10>;
59                 ingenic,nemc-tAH = <5>;
60                 ingenic,nemc-tBP = <10>;
61                 ingenic,nemc-tAW = <15>;
62                 ingenic,nemc-tSTRV = <100>;
64                 nand@1 {
65                         reg = <1>;
67                         nand-ecc-step-size = <1024>;
68                         nand-ecc-strength = <24>;
69                         nand-ecc-mode = "hw";
70                         nand-on-flash-bbt;
72                         partitions {
73                                 compatible = "fixed-partitions";
74                                 #address-cells = <2>;
75                                 #size-cells = <2>;
77                                 partition@0 {
78                                         label = "u-boot-spl";
79                                         reg = <0x0 0x0 0x0 0x800000>;
80                                 };
82                                 partition@0x800000 {
83                                         label = "u-boot";
84                                         reg = <0x0 0x800000 0x0 0x200000>;
85                                 };
87                                 partition@0xa00000 {
88                                         label = "u-boot-env";
89                                         reg = <0x0 0xa00000 0x0 0x200000>;
90                                 };
92                                 partition@0xc00000 {
93                                         label = "boot";
94                                         reg = <0x0 0xc00000 0x0 0x4000000>;
95                                 };
97                                 partition@0x8c00000 {
98                                         label = "system";
99                                         reg = <0x0 0x4c00000 0x1 0xfb400000>;
100                                 };
101                         };
102                 };
103         };
106 &bch {
107         status = "okay";