1757a70c319715e653559b54a6549e1337e33327
[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         memorydetect {
10                 ralink,memory = <0x0 0x200000 0x4000000>;
11         };
12
13         chosen {
14                 bootargs = "console=ttyS0,57600";
15         };
16
17         palmbus@10000000 {
18                 sysc@0 {
19                         ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
20                         ralink,uartmux = "gpio";
21                         ralink,wdtmux = <1>;
22                 };
23
24                 gpio0: gpio@600 {
25                         status = "okay";
26                 };
27
28         };
29
30         cfi@1f000000 {
31                 compatible = "cfi-flash";
32                 reg = <0x1f000000 0x800000>;
33
34                 bank-width = <2>;
35                 device-width = <2>;
36                 #address-cells = <1>;
37                 #size-cells = <1>;
38         };
39
40         ethernet@10100000 {
41                 status = "okay";
42         };
43
44         esw@10110000 {
45                 status = "okay";
46                 ralink,portmap = <0x2f>;
47         };
48
49         gpio-leds {
50                 compatible = "gpio-leds";
51                 power {
52                         label = "edimax:green:power";
53                         gpios = <&gpio0 9 1>;
54                 };
55                 wlan {
56                         label = "edimax:orange:wlan";
57                         gpios = <&gpio0 14 1>;
58                 };
59         };
60
61         gpio-keys-polled {
62                 compatible = "gpio-keys-polled";
63                 #address-cells = <1>;
64                 #size-cells = <0>;
65                 poll-interval = <20>;
66                 reset_wps {
67                         label = "reset_wps";
68                         gpios = <&gpio0 12 1>;
69                         linux,code = <0x198>;
70                 };
71                 rfkill {
72                         label = "RFKILL switch";
73                         gpios = <&gpio0 13 1>;
74                         linux,code = <0xf7>;
75                 };
76         };
77
78         wmac@10180000 {
79                 status = "okay";
80         };
81 };