ath79: add support for ON Networks N150R
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9533_glinet_ar300m_nor.dts
1 /dts-v1/;
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 #include "qca9533_glinet_ar300m.dtsi"
7
8 &spi {
9         status = "okay";
10         num-cs = <0>;
11
12         flash@0 {
13                 #address-cells = <1>;
14                 #size-cells = <1>;
15                 compatible = "winbond,w25q128", "jedec,spi-nor";
16                 reg = <0>;
17                 spi-max-frequency = <25000000>;
18
19                 partitions {
20                         compatible = "fixed-partitions";
21                         #address-cells = <1>;
22                         #size-cells = <1>;
23
24                         partition@0 {
25                                 label = "u-boot";
26                                 reg = <0x000000 0x040000>;
27                                 read-only;
28                         };
29
30                         partition@1 {
31                                 label = "u-boot-env";
32                                 reg = <0x040000 0x010000>;
33                         };
34
35                         partition@2 {
36                                 label = "firmware";
37                                 reg = <0x050000 0xfa0000>;
38                         };
39
40                         art: partition@3 {
41                                 label = "art";
42                                 reg = <0xff0000 0x010000>;
43                         };
44                 };
45         };
46 };