kernel: bump 4.9 to 4.9.65
[oweals/openwrt.git] / target / linux / ramips / dts / V11STFE.dts
1 /dts-v1/;
2
3 #include "rt2880.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9         compatible = "ralink,v11st-fe", "ralink,rt2880-soc";
10         model = "Ralink V11ST-FE";
11
12         pci@440000 {
13                 status = "okay";
14
15                 host-bridge {
16                         pci-bridge@1 {
17                                 status = "okay";
18                         };
19                 };
20         };
21
22         nor-flash@1c000000 {
23                 compatible = "cfi-flash";
24                 reg = <0x1c000000 0x800000>;
25                 bank-width = <2>;
26                 #address-cells = <1>;
27                 #size-cells = <1>;
28
29                 partition@0 {
30                         reg = <0x0 0x0030000>;
31                         label = "u-boot";
32                         read-only;
33                 };
34
35                 partition@30000 {
36                         reg = <0x00030000 0x00010000>;
37                         label = "u-boot-env";
38                         read-only;
39                 };
40
41                 factory: partition@40000 {
42                         reg = <0x00040000 0x00010000>;
43                         label = "factory";
44                         read-only;
45                 };
46
47                 partition@50000 {
48                         reg = <0x00050000 0x003b0000>;
49                         label = "firmware";
50                 };
51         };
52
53         gpio-keys-polled {
54                 compatible = "gpio-keys-polled";
55                 #address-cells = <1>;
56                 #size-cells = <0>;
57                 poll-interval = <100>;
58
59                 wps {
60                         label = "wps";
61                         gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
62                         linux,code = <KEY_WPS_BUTTON>;
63                 };
64         };
65
66         gpio-leds {
67                 compatible = "gpio-leds";
68
69                 status {
70                         label = "v11st-fe:green:status";
71                         gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
72                 };
73         };
74 };
75
76 &gpio0 {
77         status = "okay";
78 };
79
80 &ethernet {
81         status = "okay";
82 };
83
84 &wmac {
85         ralink,mtd-eeprom = <&factory 0>;
86 };