ath79: Add GL.iNet AR-300M-Lite
[openwrt/.git] / target / linux / ath79 / dts / qca9531_glinet_gl-ar300m-nand.dts
1 /dts-v1/;
2
3 #include "qca9531_glinet_gl-ar300m.dtsi"
4
5 / {
6         compatible = "glinet,gl-ar300m-nand", "qca,qca9531";
7         model = "GL.iNet GL-AR300M (NAND)";
8 };
9
10 &spi {
11         num-cs = <1>;
12
13         flash@1 {
14                 compatible = "spinand,mt29f";
15                 reg = <1>;
16                 spi-max-frequency = <25000000>;
17
18                 partitions {
19                         compatible = "fixed-partitions";
20                         #address-cells = <1>;
21                         #size-cells = <1>;
22
23                         partition@0 {
24                                 label = "kernel";
25                                 reg = <0x000000 0x0200000>;
26                         };
27
28                         partition@1 {
29                                 label = "ubi";
30                                 reg = <0x200000 0x7e00000>;
31                         };
32                 };
33         };
34 };