ramips: select kmod-rt2800-soc by default (if available)
[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
22                 bank-width = <2>;
23                 device-width = <2>;
24                 #address-cells = <1>;
25                 #size-cells = <1>;
26         };
27
28         esw@10110000 {
29                 ralink,portmap = <0x2f>;
30         };
31
32         gpio-leds {
33                 compatible = "gpio-leds";
34                 power {
35                         label = "edimax:green:power";
36                         gpios = <&gpio0 9 1>;
37                 };
38                 wlan {
39                         label = "edimax:orange:wlan";
40                         gpios = <&gpio0 14 1>;
41                 };
42         };
43
44         gpio-keys-polled {
45                 compatible = "gpio-keys-polled";
46                 #address-cells = <1>;
47                 #size-cells = <0>;
48                 poll-interval = <20>;
49                 reset_wps {
50                         label = "reset_wps";
51                         gpios = <&gpio0 12 1>;
52                         linux,code = <0x198>;
53                 };
54                 rfkill {
55                         label = "RFKILL switch";
56                         gpios = <&gpio0 13 1>;
57                         linux,code = <0xf7>;
58                 };
59         };
60 };