[ramips] move memory detect node to dtsi files
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / NW718.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "NW718", "ralink,rt3050-soc";
7 model = "Netcore NW718";
8
9 palmbus@10000000 {
10 sysc@0 {
11 ralink,pinmux = "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
12 ralink,gpiomux = "i2c";
13 ralink,uartmux = "gpio";
14 ralink,wdtmux = <1>;
15 };
16
17 gpio0: gpio@600 {
18 status = "okay";
19 };
20
21 spi@b00 {
22 status = "okay";
23 m25p80@0 {
24 #address-cells = <1>;
25 #size-cells = <1>;
26 compatible = "mx25l3205d";
27 reg = <0 0>;
28 linux,modalias = "m25p80", "mx25l3205d";
29 spi-max-frequency = <25000000>;
30
31 partition@0 {
32 label = "u-boot";
33 reg = <0x0 0x30000>;
34 read-only;
35 };
36
37 partition@30000 {
38 label = "config";
39 reg = <0x30000 0x20000>;
40 read-only;
41 };
42
43 factory: partition@50000 {
44 label = "factory";
45 reg = <0x50000 0x10000>;
46 read-only;
47 };
48
49 partition@60000 {
50 label = "firmware";
51 reg = <0x60000 0x3a0000>;
52 };
53 };
54 };
55 };
56
57 ethernet@10100000 {
58 status = "okay";
59 };
60
61 esw@10110000 {
62 status = "okay";
63 ralink,portmap = <0x2f>;
64 };
65
66 gpio-leds {
67 compatible = "gpio-leds";
68 cpu {
69 label = "nw718:amber:cpu";
70 gpios = <&gpio0 13 1>;
71 };
72 usb {
73 label = "nw718:amber:usb";
74 gpios = <&gpio0 8 1>;
75 };
76 wps {
77 label = "nw718:amber:wps";
78 gpios = <&gpio0 14 1>;
79 };
80 };
81
82 gpio-keys-polled {
83 compatible = "gpio-keys-polled";
84 #address-cells = <1>;
85 #size-cells = <0>;
86 poll-interval = <20>;
87 reset {
88 label = "reset";
89 gpios = <&gpio0 10 1>;
90 linux,code = <0x198>;
91 };
92 wps {
93 label = "wps";
94 gpios = <&gpio0 0 1>;
95 linux,code = <0x211>;
96 };
97 };
98
99 wmac@10180000 {
100 status = "okay";
101 };
102
103 otg@101c0000 {
104 status = "okay";
105 };
106 };