7df63c6583ea1aea7995119fa54a79b7e7b00f3f
[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         ethernet@10100000 {
29                 mtd-mac-address = <&factory 0x4>;
30         };
31
32         esw@10110000 {
33                 ralink,portmap = <0x2f>;
34         };
35
36         gpio-leds {
37                 compatible = "gpio-leds";
38                 power {
39                         label = "edimax:green:power";
40                         gpios = <&gpio0 9 1>;
41                 };
42                 wlan {
43                         label = "edimax:orange:wlan";
44                         gpios = <&gpio0 14 1>;
45                 };
46         };
47
48         gpio-keys-polled {
49                 compatible = "gpio-keys-polled";
50                 #address-cells = <1>;
51                 #size-cells = <0>;
52                 poll-interval = <20>;
53                 reset_wps {
54                         label = "reset_wps";
55                         gpios = <&gpio0 12 1>;
56                         linux,code = <0x198>;
57                 };
58                 rfkill {
59                         label = "RFKILL switch";
60                         gpios = <&gpio0 13 1>;
61                         linux,code = <0xf7>;
62                 };
63         };
64 };