rpcd: iwinfo plugin fixes
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / M2M.dts
1 /dts-v1/;
2
3 #include "rt5350.dtsi"
4
5 / {
6 compatible = "M2M", "ralink,rt5350-soc";
7 model = "Intenso Memory 2 Move";
8
9 chosen {
10 bootargs = "console=ttyS0,57600n8 root=/dev/mtdblock5";
11 };
12
13 palmbus@10000000 {
14 spi@b00 {
15 status = "okay";
16
17 m25p80@0 {
18 #address-cells = <1>;
19 #size-cells = <1>;
20 compatible = "jedec,spi-nor";
21 reg = <0 0>;
22 linux,modalias = "m25p80", "mx25l6405d";
23 spi-max-frequency = <10000000>;
24
25 partition@0 {
26 label = "Bootloader";
27 reg = <0x0 0x30000>;
28 read-only;
29 };
30
31 partition@30000 {
32 label = "Config";
33 reg = <0x30000 0x10000>;
34 read-only;
35 };
36
37 factory: partition@40000 {
38 label = "Factory";
39 reg = <0x40000 0x10000>;
40 read-only;
41 };
42
43 partition@50000 {
44 label = "firmware";
45 reg = <0x50000 0x7b0000>;
46 };
47 };
48 };
49 };
50
51 pinctrl {
52 state_default: pinctrl0 {
53 gpio {
54 ralink,group = "i2c", "uartf";
55 ralink,function = "gpio";
56 };
57 };
58 };
59
60 gpio-leds {
61 compatible = "gpio-leds";
62
63 wifi {
64 label = "m2m:blue:wifi";
65 gpios = <&gpio0 7 1>;
66 };
67
68 wan {
69 label = "m2m:green:wan";
70 gpios = <&gpio0 12 1>;
71 };
72 };
73
74 gpio-keys-polled {
75 compatible = "gpio-keys-polled";
76 #address-cells = <1>;
77 #size-cells = <0>;
78 poll-interval = <20>;
79
80 power {
81 label = "power";
82 gpios = <&gpio0 1 1>;
83 linux,code = <0x116>;
84 };
85
86 reset {
87 label = "reset";
88 gpios = <&gpio0 10 1>;
89 linux,code = <0x198>;
90 };
91 };
92
93 ethernet@10100000 {
94 mtd-mac-address = <&factory 0x28>;
95 };
96
97 esw@10110000 {
98 mediatek,portmap = <0x2f>;
99 };
100
101 ehci@101c0000 {
102 status = "okay";
103 };
104
105 ohci@101c1000 {
106 status = "okay";
107 };
108
109 wmac@10180000 {
110 ralink,mtd-eeprom = <&factory 0x0>;
111 };
112 };