ralink: remove partitoon map from mt7621.dtsi
[openwrt.git] / target / linux / ramips / dts / DIR-810L.dts
1 /dts-v1/;
2
3 /include/ "mt7620a.dtsi"
4
5 / {
6         compatible = "dlink,dir-810l", "ralink,mt7620a-soc";
7         model = "D-Link DIR-810L";
8
9         palmbus@10000000 {
10                 spi@b00 {
11                         status = "okay";
12
13                         m25p80@0 {
14                                 #address-cells = <1>;
15                                 #size-cells = <1>;
16                                 compatible = "mx25l6405d";
17                                 reg = <0 0>;
18                                 linux,modalias = "m25p80";
19                                 spi-max-frequency = <10000000>;
20
21                                 partition@0 {
22                                         label = "u-boot";
23                                         reg = <0x0 0x30000>;
24                                         read-only;
25                                 };
26
27                                 partition@30000 {
28                                         label = "u-boot-env";
29                                         reg = <0x30000 0x10000>;
30                                         read-only;
31                                 };
32
33                                 factory: partition@40000 {
34                                         label = "factory";
35                                         reg = <0x40000 0x10000>;
36                                         read-only;
37                                 };
38
39                                 factory5g: partition@50000 {
40                                         label = "factory5g";
41                                         reg = <0x50000 0x10000>;
42                                         read-only;
43                                 };
44
45                                 partition@60000 {
46                                         label = "Wolf_Config";
47                                         reg = <0x60000 0x10000>;
48                                         read-only;
49                                 };
50
51                                 partition@70000 {
52                                         label = "MyDlink";
53                                         reg = <0x70000 0x80000>;
54                                         read-only;
55                                 };
56
57                                 partition@e0000 {
58                                         label = "Jffs2";
59                                         reg = <0xe0000 0x80000>;
60                                         read-only;
61                                 };
62
63                                 partition@170000 {
64                                         label = "firmware";
65                                         reg = <0x170000 0x690000>;
66                                 };
67                         };
68                 };
69         };
70
71         pinctrl {
72                 state_default: pinctrl0 {
73                         gpio {
74                                 ralink,group = "mdio", "rgmii1", "i2c", "wled", "uartf";
75                                 ralink,function = "gpio";
76                         };
77                 };
78         };
79
80         ethernet@10100000 {
81                 mtd-mac-address = <&factory 0x28>;
82                 ralink,port-map = "llllw";
83         };
84
85         gsw@10110000 {
86                 ralink,port4 = "ephy";
87
88                 pinctrl-names = "default";
89                 pinctrl-0 = <&ephy_pins>;
90         };
91
92         pcie@10140000 {
93                 status = "okay";
94         };
95
96         wmac@10180000 {
97                 ralink,mtd-eeprom = <&factory 0>;
98         };
99
100         gpio-keys-polled {
101                 compatible = "gpio-keys-polled";
102                 #address-cells = <1>;
103                 #size-cells = <0>;
104                 poll-interval = <20>;
105                 reset {
106                         label = "reset";
107                         gpios = <&gpio0 1 1>;
108                         linux,code = <0x100>;
109                 };
110                 wps {
111                         label = "wps";
112                         gpios = <&gpio0 2 1>;
113                         linux,code = <0x100>;
114                 };
115         };
116
117         gpio-leds {
118                 compatible = "gpio-leds";
119                 power {
120                         label = "d-link:green:power";
121                         gpios = <&gpio0 9 0>;
122                 };
123                 wan {
124                         label = "d-link:orange:wan";
125                         gpios = <&gpio0 12 0>;
126                 };
127                 status {
128                         label = "d-link:orange:power";
129                         gpios = <&gpio0 13 0>;
130                 };
131         };
132 };