[ramips] move memory detect node to dtsi files
[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         palmbus@10000000 {
10                 sysc@0 {
11                         ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
12                         ralink,uartmux = "gpio";
13                         ralink,wdtmux = <1>;
14                 };
15
16                 gpio0: gpio@600 {
17                         status = "okay";
18                 };
19
20         };
21
22         cfi@1f000000 {
23                 compatible = "cfi-flash";
24                 reg = <0x1f000000 0x800000>;
25
26                 bank-width = <2>;
27                 device-width = <2>;
28                 #address-cells = <1>;
29                 #size-cells = <1>;
30         };
31
32         ethernet@10100000 {
33                 status = "okay";
34         };
35
36         esw@10110000 {
37                 status = "okay";
38                 ralink,portmap = <0x2f>;
39         };
40
41         gpio-leds {
42                 compatible = "gpio-leds";
43                 power {
44                         label = "edimax:green:power";
45                         gpios = <&gpio0 9 1>;
46                 };
47                 wlan {
48                         label = "edimax: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                 reset_wps {
59                         label = "reset_wps";
60                         gpios = <&gpio0 12 1>;
61                         linux,code = <0x198>;
62                 };
63                 rfkill {
64                         label = "RFKILL switch";
65                         gpios = <&gpio0 13 1>;
66                         linux,code = <0xf7>;
67                 };
68         };
69
70         wmac@10180000 {
71                 status = "okay";
72         };
73 };