ramips: generate factory images for Nexx devices
[openwrt/staging/blogic.git] / target / linux / ramips / dts / WT1520-8M.dts
1 /dts-v1/;
2
3 /include/ "WT1520.dtsi"
4
5 / {
6 palmbus@10000000 {
7 spi@b00 {
8 status = "okay";
9 m25p80@0 {
10 #address-cells = <1>;
11 #size-cells = <1>;
12 compatible = "w25q64";
13 reg = <0 0>;
14 linux,modalias = "m25p80", "s25fl064k";
15 spi-max-frequency = <10000000>;
16
17 partition@0 {
18 label = "u-boot";
19 reg = <0x0 0x30000>;
20 read-only;
21 };
22
23 partition@30000 {
24 label = "u-boot-env";
25 reg = <0x30000 0x10000>;
26 read-only;
27 };
28
29 factory: partition@40000 {
30 label = "factory";
31 reg = <0x40000 0x10000>;
32 read-only;
33 };
34
35 partition@50000 {
36 label = "firmware";
37 reg = <0x50000 0x7b0000>;
38 };
39 };
40 };
41 };
42 };