rpcd: iwinfo plugin fixes
[openwrt.git] / target / linux / ramips / dts / ASL26555-16M.dts
1 /dts-v1/;
2
3 #include "rt3050.dtsi"
4
5 / {
6         compatible = "ASL26555", "ralink,rt3050-soc";
7         model = "Alpha ASL26555";
8
9         palmbus@10000000 {
10                 gpio0: gpio@600 {
11                         status = "okay";
12                 };
13
14                 spi@b00 {
15                         status = "okay";
16
17                         m25p80@0 {
18                                 #address-cells = <1>;
19                                 #size-cells = <1>;
20                                 compatible = "jedec,spi-nor";
21                                 reg = <0 0>;
22                                 linux,modalias = "m25p80", "s25sl12801";
23                                 spi-max-frequency = <10000000>;
24
25                                 partition@0 {
26                                         label = "uboot";
27                                         reg = <0x0 0x30000>;
28                                         read-only;
29                                 };
30
31                                 partition@30000 {
32                                         label = "uboot-env";
33                                         reg = <0x30000 0x10000>;
34                                         read-only;
35                                 };
36
37                                 partition@40000 {
38                                         label = "factory";
39                                         reg = <0x40000 0x10000>;
40                                         read-only;
41                                 };
42
43                                 partition@50000 {
44                                         label = "firmware";
45                                         reg = <0x50000 0xf80000>;
46                                 };
47
48                                 partition@fd0000 {
49                                         label = "cert";
50                                         reg = <0xfd0000 0x10000>;
51                                         read-only;
52                                 };
53
54                                 partition@fe0000 {
55                                         label = "langpack";
56                                         reg = <0xfe0000 0x10000>;
57                                         read-only;
58                                 };
59
60                                 devdata: partition@ff0000 {
61                                         label = "devdata";
62                                         reg = <0xff0000 0x10000>;
63                                         read-only;
64                                 };
65                         };
66                 };
67         };
68
69         pinctrl {
70                 state_default: pinctrl0 {
71                         gpio {
72                                 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
73                                 ralink,function = "gpio";
74                         };
75                 };
76         };
77
78         ethernet@10100000 {
79                 mtd-mac-address = <&devdata 0x4004>;
80         };
81
82         esw@10110000 {
83                 mediatek,portmap = <0x1e>;
84         };
85
86         wmac@10180000 {
87                 ralink,mtd-eeprom = <&devdata 0x4000>;
88         };
89
90         otg@101c0000 {
91                 status = "okay";
92         };
93
94         gpio-keys-polled {
95                 compatible = "gpio-keys-polled";
96                 #address-cells = <1>;
97                 #size-cells = <0>;
98                 poll-interval = <20>;
99
100                 reset {
101                         label = "reset";
102                         gpios = <&gpio0 10 0>;
103                         linux,code = <0x198>;
104                 };
105
106                 wps {
107                         label = "wps";
108                         gpios = <&gpio0 12 0>;
109                         linux,code = <0x211>;
110                 };
111         };
112
113         gpio-leds {
114                 compatible = "gpio-leds";
115
116                 eth {
117                         label = "asl26555:green:eth";
118                         gpios = <&gpio0 0 1>;
119                 };
120
121                 wan-red {
122                         label = "asl26555:red:wan";
123                         gpios = <&gpio0 1 0>;
124                 };
125
126                 wan-green {
127                         label = "asl26555:green:wan";
128                         gpios = <&gpio0 2 0>;
129                 };
130
131                 wlan {
132                         label = "asl26555:green:wlan";
133                         gpios = <&gpio0 7 0>;
134                 };
135
136                 power-green {
137                         label = "asl26555:green:power";
138                         gpios = <&gpio0 8 0>;
139                 };
140
141                 power-red {
142                         label = "asl26555:red:power";
143                         gpios = <&gpio0 9 0>;
144                 };
145
146                 3g-green {
147                         label = "asl26555:green:3g";
148                         gpios = <&gpio0 14 1>;
149                 };
150
151                 3g-red {
152                         label = "asl26555:red:3g";
153                         gpios = <&gpio0 17 1>;
154                 };
155         };
156 };