fd1e044bdad766bfc4788e683735f298f533d417
[openwrt/staging/yousong.git] / target / linux / ramips / dts / DIR-860L-B1.dts
1 /dts-v1/;
2
3 /include/ "mt7621.dtsi"
4
5 / {
6 compatible = "ralink,mt7621-eval-board", "ralink,mt7621-soc";
7 model = "D-Link DIR-860L B1";
8
9 memory@0 {
10 reg = <0x0 0x8000000>;
11 };
12
13 chosen {
14 bootargs = "console=ttyS0,57600";
15 };
16
17 palmbus@1E000000 {
18 spi@b00 {
19 status = "okay";
20
21 m25p80@0 {
22 #address-cells = <1>;
23 #size-cells = <1>;
24 compatible = "mx25l12805d";
25 reg = <0 0>;
26 linux,modalias = "m25p80";
27 spi-max-frequency = <10000000>;
28
29 partition@0 {
30 label = "u-boot";
31 reg = <0x0 0x30000>;
32 read-only;
33 };
34
35 partition@30000 {
36 label = "u-boot-env";
37 reg = <0x30000 0x4000>;
38 read-only;
39 };
40
41 radio: partition@34000 {
42 label = "radio";
43 reg = <0x34000 0x4000>;
44 read-only;
45 };
46
47 factory: partition@38000 {
48 label = "factory";
49 reg = <0x38000 0x8000>;
50 read-only;
51 };
52
53 partition@40000 {
54 label = "defaults";
55 reg = <0x40000 0x10000>;
56 read-only;
57 };
58
59 partition@50000 {
60 label = "firmware";
61 reg = <0x50000 0xfb0000>;
62 };
63 };
64 };
65 };
66
67 pcie@1e140000 {
68 status = "okay";
69
70 pcie0 {
71 mt76@0,0 {
72 reg = <0x0000 0 0 0 0>;
73 device_type = "pci";
74 mediatek,mtd-eeprom = <&radio 0>;
75 mediatek,2ghz = <0>;
76 };
77 };
78 pcie1 {
79 mt76@1,0 {
80 reg = <0x0000 0 0 0 0>;
81 device_type = "pci";
82 mediatek,mtd-eeprom = <&radio 0x2000>;
83 mediatek,5ghz = <0>;
84 };
85 };
86 };
87
88 pinctrl {
89 state_default: pinctrl0 {
90 gpio {
91 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
92 ralink,function = "gpio";
93 };
94 };
95 };
96
97 gpio-leds {
98 compatible = "gpio-leds";
99 };
100
101 gpio-keys-polled {
102 compatible = "gpio-keys-polled";
103 #address-cells = <1>;
104 #size-cells = <0>;
105 poll-interval = <20>;
106 };
107 };