ac65264c5cf3d09b7379078b6f9ba0f5f2c6dfd4
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt2880_ralink_v11st-fe.dts
1 #include "rt2880.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
6
7 / {
8 compatible = "ralink,v11st-fe", "ralink,rt2880-soc";
9 model = "Ralink V11ST-FE";
10
11 aliases {
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
16 };
17
18 flash@1c000000 {
19 compatible = "cfi-flash";
20 reg = <0x1c000000 0x800000>;
21 bank-width = <2>;
22
23 partitions {
24 compatible = "fixed-partitions";
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 nvmem-layout {
46 compatible = "fixed-layout";
47 #address-cells = <1>;
48 #size-cells = <1>;
49
50 eeprom_factory_0: eeprom@0 {
51 reg = <0x0 0x200>;
52 };
53 };
54 };
55
56 partition@50000 {
57 compatible = "denx,uimage";
58 reg = <0x00050000 0x003b0000>;
59 label = "firmware";
60 };
61 };
62 };
63
64 keys {
65 compatible = "gpio-keys-polled";
66 poll-interval = <100>;
67
68 wps {
69 label = "wps";
70 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
71 linux,code = <KEY_WPS_BUTTON>;
72 };
73 };
74
75 leds {
76 compatible = "gpio-leds";
77
78 led_status: status {
79 function = LED_FUNCTION_STATUS;
80 color = <LED_COLOR_ID_GREEN>;
81 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
82 };
83 };
84 };
85
86 &ethernet {
87 status = "okay";
88 };
89
90 &pci {
91 status = "okay";
92 };
93
94 &wmac {
95 nvmem-cells = <&eeprom_factory_0>;
96 nvmem-cell-names = "eeprom";
97 };