ath79: ag71xx: replace ag71xx_get_phy_if_mode_name() with phy_modes()
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9531_glinet_gl-ar300m-nor.dts
1 /dts-v1/;
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 #include "qca9531_glinet_gl-ar300m.dtsi"
7
8 / {
9         compatible = "glinet,gl-ar300m-nor", "qca,qca9531";
10         model = "GL.iNet GL-AR300M (NOR)";
11 };
12
13 &spi {
14         status = "okay";
15         num-cs = <0>;
16
17         flash@0 {
18                 compatible = "winbond,w25q128", "jedec,spi-nor";
19                 reg = <0>;
20                 spi-max-frequency = <25000000>;
21
22                 partitions {
23                         compatible = "fixed-partitions";
24                         #address-cells = <1>;
25                         #size-cells = <1>;
26
27                         partition@0 {
28                                 label = "u-boot";
29                                 reg = <0x000000 0x040000>;
30                                 read-only;
31                         };
32
33                         partition@1 {
34                                 label = "u-boot-env";
35                                 reg = <0x040000 0x010000>;
36                         };
37
38                         partition@2 {
39                                 compatible = "denx,uimage";
40                                 label = "firmware";
41                                 reg = <0x050000 0xfa0000>;
42                         };
43
44                         art: partition@3 {
45                                 label = "art";
46                                 reg = <0xff0000 0x010000>;
47                         };
48                 };
49         };
50 };