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