44657ac073f343948f8de726a36333f41fec1896
[openwrt/staging/wigyori.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 aliases {
13 led-status = &led_status;
14 };
15
16 pci@440000 {
17 status = "okay";
18
19 host-bridge {
20 pci-bridge@1 {
21 status = "okay";
22 };
23 };
24 };
25
26 nor-flash@1c000000 {
27 compatible = "cfi-flash";
28 reg = <0x1c000000 0x800000>;
29 bank-width = <2>;
30 #address-cells = <1>;
31 #size-cells = <1>;
32
33 partition@0 {
34 reg = <0x0 0x0030000>;
35 label = "u-boot";
36 read-only;
37 };
38
39 partition@30000 {
40 reg = <0x00030000 0x00010000>;
41 label = "u-boot-env";
42 read-only;
43 };
44
45 factory: partition@40000 {
46 reg = <0x00040000 0x00010000>;
47 label = "factory";
48 read-only;
49 };
50
51 partition@50000 {
52 reg = <0x00050000 0x003b0000>;
53 label = "firmware";
54 };
55 };
56
57 gpio-keys-polled {
58 compatible = "gpio-keys-polled";
59 #address-cells = <1>;
60 #size-cells = <0>;
61 poll-interval = <100>;
62
63 wps {
64 label = "wps";
65 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
66 linux,code = <KEY_WPS_BUTTON>;
67 };
68 };
69
70 gpio-leds {
71 compatible = "gpio-leds";
72
73 led_status: status {
74 label = "v11st-fe:green:status";
75 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
76 };
77 };
78 };
79
80 &gpio0 {
81 status = "okay";
82 };
83
84 &ethernet {
85 status = "okay";
86 };
87
88 &wmac {
89 ralink,mtd-eeprom = <&factory 0>;
90 };