lantiq: complete AVM FRITZ!Box 3370 support
[openwrt/openwrt.git] / target / linux / lantiq / files-4.14 / 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 WLAN 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 #address-cells = <1>;
16 #size-cells = <1>;
17
18 nand-ecc-mode = "soft";
19 nand-ecc-strength = <3>;
20 nand-ecc-step-size = <256>;
21
22 partitions {
23 compatible = "fixed-partitions";
24 #address-cells = <1>;
25 #size-cells = <1>;
26
27 partition@0 {
28 label = "kernel";
29 reg = <0x0 0x400000>;
30 };
31
32 partition@400000 {
33 label = "ubi";
34 reg = <0x400000 0x3000000>;
35 };
36
37 partition@3400000 {
38 label = "reserved-kernel";
39 reg = <0x3400000 0x400000>;
40 };
41 partition@3800000 {
42 label = "reserved-filesystem";
43 reg = <0x3800000 0x3000000>;
44 };
45 partition@6800000 {
46 label = "config";
47 reg = <0x6800000 0x200000>;
48 };
49 partition@6a00000 {
50 label = "nand-filesystem";
51 reg = <0x6a00000 0x1600000>;
52 };
53 };
54 };
55 };