move memory detect node to dtsi files
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / MZK-W300NH2.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "MZK-W300NH2", "ralink,rt3052-soc";
7 model = "Planex MZK-W300NH2";
8
9 palmbus@10000000 {
10 sysc@0 {
11 ralink,pinmux = "uartlite", "mdio", "sdram", "rgmii";
12 ralink,gpiomux = "i2c", "spi", "jtag";
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 partition@0 {
32 label = "u-boot";
33 reg = <0x0 0x30000>;
34 read-only;
35 };
36
37 partition@30000 {
38 label = "u-boot-env";
39 reg = <0x30000 0x10000>;
40 read-only;
41 };
42
43 factory: partition@40000 {
44 label = "factory";
45 reg = <0x40000 0x10000>;
46 read-only;
47 };
48
49 partition@3e0000 {
50 label = "cimage";
51 reg = <0x3e0000 0x20000>;
52 read-only;
53 };
54
55 partition@50000 {
56 label = "firmware";
57 reg = <0x50000 0x390000>;
58 };
59 };
60
61 ethernet@10100000 {
62 status = "okay";
63 };
64
65 esw@10110000 {
66 status = "okay";
67 ralink,portmap = <0x2f>;
68 };
69
70 gpio-leds {
71 compatible = "gpio-leds";
72 power {
73 label = "mzkw300nh2:green:power";
74 gpios = <&gpio0 9 1>;
75 };
76 wlan {
77 label = "mzkw300nh2:amber:wlan";
78 gpios = <&gpio0 14 1>;
79 };
80 wps {
81 label = "mzkw300nh2:amber:wps";
82 gpios = <&gpio0 11 1>;
83 };
84 };
85
86 gpio-keys-polled {
87 compatible = "gpio-keys-polled";
88 #address-cells = <1>;
89 #size-cells = <0>;
90 poll-interval = <20>;
91 wps {
92 label = "wps";
93 gpios = <&gpio0 12 1>;
94 linux,code = <0x211>;
95 };
96 reset {
97 label = "reset";
98 gpios = <&gpio0 0 1>;
99 linux,code = <0x198>;
100 };
101 rt {
102 label = "rt";
103 gpios = <&gpio0 13 1>;
104 linux,code = <0x100>;
105 };
106 };
107
108 wmac@10180000 {
109 status = "okay";
110 };
111 };