rpcd: iwinfo plugin fixes
[openwrt.git] / target / linux / ramips / dts / BR-6425.dts
1 /dts-v1/;
2
3 #include "rt3050.dtsi"
4
5 / {
6         compatible = "BR-6425", "ralink,rt3052-soc";
7         model = "Edimax BR-6425";
8
9         pinctrl {
10                 state_default: pinctrl0 {
11                         gpio {
12                                 ralink,group = "spi", "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
27         ethernet@10100000 {
28                 mtd-mac-address = <&factory 0x4>;
29         };
30
31         esw@10110000 {
32                 mediatek,portmap = <0x2f>;
33         };
34
35         wmac@10180000 {
36                 ralink,mtd-eeprom = <&factory 0>;
37         };
38
39         gpio-leds {
40                 compatible = "gpio-leds";
41
42                 power {
43                         label = "br-6425:green:power";
44                         gpios = <&gpio0 9 1>;
45                 };
46
47                 wlan {
48                         label = "br-6425:orange:wlan";
49                         gpios = <&gpio0 14 1>;
50                 };
51         };
52
53         gpio-keys-polled {
54                 compatible = "gpio-keys-polled";
55                 #address-cells = <1>;
56                 #size-cells = <0>;
57                 poll-interval = <20>;
58
59                 reset_wps {
60                         label = "reset_wps";
61                         gpios = <&gpio0 12 1>;
62                         linux,code = <0x198>;
63                 };
64
65                 rfkill {
66                         label = "RFKILL switch";
67                         gpios = <&gpio0 13 1>;
68                         linux,code = <0xf7>;
69                 };
70         };
71 };