procd: fix seccomp build on some architectures
[openwrt/staging/lynxis/omap.git] / target / linux / ramips / dts / WSR-600.dts
1 /dts-v1/;
2
3 /include/ "mt7621.dtsi"
4
5 / {
6 compatible = "ralink,mt7621-eval-board", "ralink,mt7621-soc";
7 model = "Buffalo WSR-600DHP";
8
9 memory@0 {
10 device_type = "memory";
11 reg = <0x0 0x4000000>;
12 };
13
14 chosen {
15 bootargs = "console=ttyS0,57600";
16 };
17
18 palmbus@1E000000 {
19 spi@b00 {
20 status = "okay";
21
22 m25p80@0 {
23 #address-cells = <1>;
24 #size-cells = <1>;
25 compatible = "mx25l12805d";
26 reg = <0 0>;
27 linux,modalias = "m25p80";
28 spi-max-frequency = <10000000>;
29
30 partition@0 {
31 label = "u-boot";
32 reg = <0x0 0x30000>;
33 read-only;
34 };
35
36 partition@30000 {
37 label = "u-boot-env";
38 reg = <0x30000 0x10000>;
39 read-only;
40 };
41
42 factory: partition@40000 {
43 label = "factory";
44 reg = <0x40000 0x10000>;
45 read-only;
46 };
47
48 partition@50000 {
49 label = "firmware";
50 reg = <0x50000 0xfb0000>;
51 };
52 };
53 };
54 };
55
56 pinctrl {
57 state_default: pinctrl0 {
58 gpio {
59 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
60 ralink,function = "gpio";
61 };
62 };
63 };
64
65 gpio-leds {
66 compatible = "gpio-leds";
67 power {
68 label = "buffalo:green:power";
69 gpios = <&gpio0 12 1>;
70 };
71 wifi_o {
72 label = "buffalo:orange:wifi";
73 gpios = <&gpio1 9 1>;
74 };
75 diag {
76 label = "buffalo:orange:diag";
77 gpios = <&gpio1 10 1>;
78 };
79 wifi_g {
80 label = "buffalo:green:wifi";
81 gpios = <&gpio1 12 1>;
82 };
83 router_o {
84 label = "buffalo:orange:router";
85 gpios = <&gpio1 13 1>;
86 };
87 router_g {
88 label = "buffalo:green:router";
89 gpios = <&gpio1 14 1>;
90 };
91 internet_o {
92 label = "buffalo:orange:internet";
93 gpios = <&gpio1 15 1>;
94 };
95 internet_g {
96 label = "buffalo:green:internet";
97 gpios = <&gpio1 16 1>;
98 };
99 };
100
101 gpio-keys-polled {
102 compatible = "gpio-keys-polled";
103 #address-cells = <1>;
104 #size-cells = <0>;
105 poll-interval = <20>;
106 power {
107 label = "power";
108 gpios = <&gpio0 8 1>;
109 linux,code = <0x74>;
110 };
111 reset {
112 label = "reset";
113 gpios = <&gpio0 11 1>;
114 linux,code = <0x198>;
115 };
116 aoss {
117 label = "aoss";
118 gpios = <&gpio0 18 1>;
119 linux,code = <0x211>;
120 };
121 auto {
122 label = "mode";
123 gpios = <&gpio0 7 0>;
124 linux,code = <0x100>;
125 linux,input-type = <5>; /* EV_SW */
126 };
127 ap {
128 label = "ap";
129 gpios = <&gpio0 6 0>;
130 linux,code = <0x100>;
131 linux,input-type = <5>; /* EV_SW */
132 };
133 router {
134 label = "router";
135 gpios = <&gpio0 10 0>;
136 linux,code = <0x100>;
137 linux,input-type = <5>; /* EV_SW */
138 };
139 };
140 gpio_poweroff {
141 compatible = "gpio-poweroff";
142 gpios = <&gpio1 11 1>;
143 };
144 };