f7c17af19f2d16a387723962c0622b03f3ebb7ed
[oweals/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / dts / FRITZ3370-REV2-HYNIX.dts
1 /dts-v1/;
2
3 #include "FRITZ3370-REV2.dtsi"
4
5 / {
6         compatible = "avm,fritz3370-rev2-hynix", "avm,fritz3370-rev2", "lantiq,xway", "lantiq,vr9";
7         model = "AVM FRITZ!Box 3370 Rev. 2 (Hynix NAND)";
8 };
9
10 &localbus {
11         nand@1 {
12                 compatible = "lantiq,nand-xway";
13                 bank-width = <2>;
14                 reg = <1 0x0 0x2000000>;
15
16                 nand-ecc-mode = "soft";
17                 nand-ecc-strength = <3>;
18                 nand-ecc-step-size = <256>;
19
20                 partitions {
21                         compatible = "fixed-partitions";
22                         #address-cells = <1>;
23                         #size-cells = <1>;
24
25                         partition@0 {
26                                 label = "kernel";
27                                 reg = <0x0 0x400000>;
28                         };
29
30                         partition@400000 {
31                                 label = "ubi";
32                                 reg = <0x400000 0x7c00000>;
33                         };
34                 };
35         };
36 };