ramips: DTS rework
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / V11STFE.dts
1 /dts-v1/;
2
3 #include "rt2880.dtsi"
4
5 / {
6 compatible = "V11ST-FE", "ralink,rt2880-soc";
7 model = "Ralink V11ST-FE";
8
9 pci@440000 {
10 status = "okay";
11
12 host-bridge {
13 pci-bridge@1 {
14 status = "okay";
15 };
16 };
17 };
18
19 nor-flash@1c000000 {
20 compatible = "cfi-flash";
21 reg = <0x1c000000 0x800000>;
22 bank-width = <2>;
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 gpio-keys-polled {
51 compatible = "gpio-keys-polled";
52 #address-cells = <1>;
53 #size-cells = <0>;
54 poll-interval = <100>;
55
56 wps {
57 label = "wps";
58 gpios = <&gpio0 0 0>;
59 linux,code = <0x211>;
60 };
61 };
62
63 gpio-leds {
64 compatible = "gpio-leds";
65
66 status {
67 label = "v11st-fe:green:status";
68 gpios = <&gpio0 12 1>;
69 };
70 };
71 };
72
73 &gpio0 {
74 status = "okay";
75 };
76
77 &ethernet {
78 status = "okay";
79 };
80
81 &wmac {
82 ralink,mtd-eeprom = <&factory 0>;
83 };