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