lantiq: complete AVM FRITZ!Box 3370 support
[openwrt/openwrt.git] / target / linux / lantiq / files-4.14 / arch / mips / boot / dts / FRITZ3370-REV2-MICRON.dts
1 /dts-v1/;
2
3 #include "FRITZ3370-REV2.dtsi"
4
5 / {
6 compatible = "avm,fritz3370-rev2-micron", "avm,fritz3370-rev2", "lantiq,xway", "lantiq,vr9";
7 model = "AVM Fritz!Box WLAN 3370 Rev. 2 (Micron 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 = "on-die";
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 0x3000000>;
33 };
34
35 partition@3400000 {
36 label = "reserved-kernel";
37 reg = <0x3400000 0x400000>;
38 };
39 partition@3800000 {
40 label = "reserved-filesystem";
41 reg = <0x3800000 0x3000000>;
42 };
43 partition@6800000 {
44 label = "config";
45 reg = <0x6800000 0x200000>;
46 };
47 partition@6a00000 {
48 label = "nand-filesystem";
49 reg = <0x6a00000 0x1600000>;
50 };
51 };
52 };
53 };