aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2-HYNIX.dts
blob: 225a4f3e8af209b9c6a093809e6c2374297240ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/dts-v1/;

#include "FRITZ3370-REV2.dtsi"

/ {
	compatible = "avm,fritz3370-rev2-hynix", "avm,fritz3370-rev2", "lantiq,xway", "lantiq,vr9";
	model = "AVM Fritz!Box WLAN 3370 Rev. 2 (Hynix NAND)";
};

&localbus {
	nand@1 {
		compatible = "lantiq,nand-xway";
		bank-width = <2>;
		reg = <1 0x0 0x2000000>;
		#address-cells = <1>;
		#size-cells = <1>;

		nand-ecc-mode = "soft";
		nand-ecc-strength = <3>;
		nand-ecc-step-size = <256>;

		partitions {
			compatible = "fixed-partitions";
			#address-cells = <1>;
			#size-cells = <1>;

			partition@0 {
				label = "kernel";
				reg = <0x0 0x400000>;
			};

			partition@400000 {
				label = "ubi";
				reg = <0x400000 0x3000000>;
			};

			partition@3400000 {
				label = "reserved-kernel";
				reg = <0x3400000 0x400000>;
			};
			partition@3800000 {
				label = "reserved-filesystem";
				reg = <0x3800000 0x3000000>;
			};
			partition@6800000 {
				label = "config";
				reg = <0x6800000 0x200000>;
			};
			partition@6a00000 {
				label = "nand-filesystem";
				reg = <0x6a00000 0x1600000>;
			};
		};
	};
};