rpcd: iwinfo plugin fixes
[openwrt.git] / target / linux / ramips / dts / ATP-52B.dts
1 /dts-v1/;
2
3 #include "rt3050.dtsi"
4
5 / {
6         compatible = "ATP-52B", "ralink,rt3052-soc";
7         model = "Argus ATP-52B";
8
9         pinctrl {
10                 state_default: pinctrl0 {
11                         gpio {
12                                 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
13                                 ralink,function = "gpio";
14                         };
15                 };
16         };
17
18         cfi@1f000000 {
19                 compatible = "cfi-flash";
20                 reg = <0x1f000000 0x800000>;
21                 bank-width = <2>;
22                 device-width = <2>;
23                 #address-cells = <1>;
24                 #size-cells = <1>;
25
26                 partition@0 {
27                         label = "bootloader";
28                         reg = <0x0 0x30000>;
29                         read-only;
30                 };
31
32                 partition@30000 {
33                         label = "config";
34                         reg = <0x30000 0x10000>;
35                 };
36
37                 factory: partition@40000 {
38                         label = "factory";
39                         reg = <0x40000 0x10000>;
40                 };
41
42                 partition@50000 {
43                         label = "firmware";
44                         reg = <0x50000 0x7a0000>;
45                 };
46         };
47
48         gpio-leds {
49                 compatible = "gpio-leds";
50
51                 run {
52                         label = "atp-52b:green:run";
53                         gpios = <&gpio0 9 1>;
54                 };
55
56                 net {
57                         label = "atp-52b:amber:net";
58                         gpios = <&gpio0 13 1>;
59                 };
60         };
61
62         gpio-keys-polled {
63                 compatible = "gpio-keys-polled";
64                 #address-cells = <1>;
65                 #size-cells = <0>;
66                 poll-interval = <20>;
67
68                 wps {
69                         label = "wps";
70                         gpios = <&gpio0 0 1>;
71                         linux,code = <0x211>;
72                 };
73
74                 reset {
75                         label = "reset";
76                         gpios = <&gpio0 10 1>;
77                         linux,code = <0x198>;
78                 };
79         };
80
81         ethernet@10100000 {
82                 mtd-mac-address = <&factory 0x4>;
83         };
84
85         esw@10110000 {
86                 mediatek,portmap = <0x3e>;
87         };
88
89         wmac@10180000 {
90                 ralink,mtd-eeprom = <&factory 0>;
91         };
92
93         otg@101c0000 {
94                 status = "okay";
95         };
96 };