ralink: add support for the mt7530 eval board
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / WNCE2001.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "WNCE2001", "ralink,rt3052-soc";
7 model = "Netgear WNCE2001";
8
9 chosen {
10 bootargs = "console=ttyS0,115200";
11 };
12
13 palmbus@10000000 {
14 spi@b00 {
15 status = "okay";
16 m25p80@0 {
17 #address-cells = <1>;
18 #size-cells = <1>;
19 compatible = "mx25l3205d";
20 reg = <0 0>;
21 linux,modalias = "m25p80", "mx25l3205d";
22 spi-max-frequency = <10000000>;
23
24 partition@0 {
25 label = "u-boot";
26 reg = <0x0 0x30000>;
27 read-only;
28 };
29
30 factory: partition@30000 {
31 label = "factory";
32 reg = <0x30000 0x10000>;
33 read-only;
34 };
35
36 partition@40000 {
37 label = "config";
38 reg = <0x40000 0x20000>;
39 read-only;
40 };
41
42 partition@60000 {
43 label = "language";
44 reg = <0x60000 0x30000>;
45 read-only;
46 };
47
48 partition@90000 {
49 label = "pot";
50 reg = <0x90000 0x10000>;
51 read-only;
52 };
53
54 partition@a0000 {
55 label = "checksum";
56 reg = <0xa0000 0x10000>;
57 };
58
59 partition@b0000 {
60 label = "firmware";
61 reg = <0xb0000 0x350000>;
62 };
63 };
64 };
65 };
66
67 pinctrl {
68 state_default: pinctrl0 {
69 gpio {
70 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
71 ralink,function = "gpio";
72 };
73 };
74 };
75
76 gpio-leds {
77 compatible = "gpio-leds";
78 power-green {
79 label = "netgear:green:power";
80 gpios = <&gpio0 8 1>;
81 };
82 power-red {
83 label = "netgear:red:power";
84 gpios = <&gpio0 9 1>;
85 };
86 wlan-green {
87 label = "netgear:green:wlan";
88 gpios = <&gpio0 12 0>;
89 };
90 wlan-red {
91 label = "netgear:red:wlan";
92 gpios = <&gpio0 13 0>;
93 };
94 };
95
96 gpio-keys-polled {
97 compatible = "gpio-keys-polled";
98 #address-cells = <1>;
99 #size-cells = <0>;
100 poll-interval = <20>;
101 reset {
102 label = "reset";
103 gpios = <&gpio0 10 1>;
104 linux,code = <0x198>;
105 };
106 wps {
107 label = "wps";
108 gpios = <&gpio0 0 1>;
109 linux,code = <0x211>;
110 };
111 rt {
112 label = "rt";
113 gpios = <&gpio0 11 1>;
114 linux,code = <0x100>;
115 };
116 ap {
117 label = "ap";
118 gpios = <&gpio0 7 1>;
119 linux,code = <0x101>;
120 };
121 };
122 };