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