[ramips] move memory detect node to dtsi files
[openwrt.git] / target / linux / ramips / dts / UR-336UN.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "UR-336UN", "ralink,rt3052-soc";
7         model = "UR-336UN Wireless N router";
8
9         palmbus@10000000 {
10                 sysc@0 {
11                         ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
12                         ralink,gpiomux = "mdio";
13                         ralink,uartmux = "gpio";
14                         ralink,wdtmux = <1>;
15                 };
16
17                 gpio0: gpio@600 {
18                         status = "okay";
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                 3g {
44                         label = "ur336:green:3g";
45                         gpios = <&gpio0 9 1>;
46                 };
47                 gateway {
48                         label = "ur336:green:gateway";
49                         gpios = <&gpio0 11 1>;
50                 };
51                 ap {
52                         label = "ur336:green:ap";
53                         gpios = <&gpio0 12 1>;
54                 };
55                 wps {
56                         label = "ur336:green:wps";
57                         gpios = <&gpio0 14 1>;
58                 };
59                 station {
60                         label = "ur336:green:station";
61                         gpios = <&gpio0 13 1>;
62                 };
63         };
64
65         gpio-keys-polled {
66                 compatible = "gpio-keys-polled";
67                 #address-cells = <1>;
68                 #size-cells = <0>;
69                 poll-interval = <20>;
70                 reset_wps {
71                         label = "reset_wps";
72                         gpios = <&gpio0 10 1>;
73                         linux,code = <0x198>;
74                 };
75                 mode {
76                         label = "mode";
77                         gpios = <&gpio0 7 1>;
78                         linux,code = <0x32>;
79                 };
80         };
81
82         wmac@10180000 {
83                 status = "okay";
84         };
85
86         otg@101c0000 {
87                 status = "okay";
88         };
89 };