c1c4493a22fb8259246c417333053deb53755c07
[openwrt/staging/chunkeey.git] / target / linux / ath79 / dts / qca9533_glinet_ar300m_nand.dts
1 /dts-v1/;
2
3 #include "qca9533_glinet_ar300m.dtsi"
4
5 &spi {
6 status = "okay";
7 num-cs = <1>;
8
9 flash@0 {
10 #address-cells = <1>;
11 #size-cells = <1>;
12 compatible = "winbond,w25q128", "jedec,spi-nor";
13 reg = <0>;
14 spi-max-frequency = <25000000>;
15
16 partitions {
17 compatible = "fixed-partitions";
18 #address-cells = <1>;
19 #size-cells = <1>;
20
21 partition@0 {
22 label = "u-boot";
23 reg = <0x000000 0x040000>;
24 read-only;
25 };
26
27 partition@1 {
28 label = "u-boot-env";
29 reg = <0x040000 0x010000>;
30 };
31
32 partition@2 {
33 label = "reserved";
34 reg = <0x050000 0xfa0000>;
35 };
36
37 art: partition@3 {
38 label = "art";
39 reg = <0xff0000 0x010000>;
40 };
41 };
42 };
43
44 flash@1 {
45 #address-cells = <1>;
46 #size-cells = <1>;
47 compatible = "spinand,mt29f";
48 reg = <1>;
49 spi-max-frequency = <25000000>;
50
51 partitions {
52 compatible = "fixed-partitions";
53 #address-cells = <1>;
54 #size-cells = <1>;
55
56 partition@0 {
57 label = "kernel";
58 reg = <0x000000 0x0200000>;
59 };
60
61 partition@1 {
62 label = "ubi";
63 reg = <0x200000 0x7e00000>;
64 };
65 };
66 };
67 };