ramips: add support for Tenda 3G150B
[openwrt.git] / target / linux / ramips / dts / FIREWRT.dts
1 /dts-v1/;
2
3 /include/ "mt7621.dtsi"
4
5 / {
6         compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
7         model = "Firefly FireWRT";
8
9         memory@0 {
10                 reg = <0x0 0x10000000>;
11         };
12
13         chosen {
14                 bootargs = "console=ttyS0,57600";
15         };
16
17         sdhci@10130000 {
18                 status = "okay";
19         };
20
21         palmbus@1E000000 {
22                 spi@b00 {
23                         status = "okay";
24
25                         m25p80@0 {
26                                 #address-cells = <1>;
27                                 #size-cells = <1>;
28                                 compatible = "mx25l12805d";
29                                 reg = <0 0>;
30                                 linux,modalias = "m25p80";
31                                 spi-max-frequency = <10000000>;
32
33                                 partition@0 {
34                                         label = "u-boot";
35                                         reg = <0x0 0x30000>;
36                                         read-only;
37                                 };
38
39                                 partition@30000 {
40                                         label = "u-boot-env";
41                                         reg = <0x30000 0x10000>;
42                                         read-only;
43                                 };
44
45                                 factory: partition@40000 {
46                                         label = "factory";
47                                         reg = <0x40000 0x10000>;
48                                         read-only;
49                                 };
50
51                                 partition@50000 {
52                                         label = "firmware";
53                                         reg = <0x50000 0x7b0000>;
54                                 };
55
56                         };
57                 };
58         };
59
60         pcie@1e140000 {
61                 status = "okay";
62
63                 pcie0 {
64                         mt76@0,0 {
65                                 reg = <0x0000 0 0 0 0>;
66                                 device_type = "pci";
67                                 mediatek,mtd-eeprom = <&factory 0x8000>;
68                                 mediatek,2ghz = <0>;
69                         };
70                 };
71
72                 pcie1 {
73                         mt76@1,0 {
74                                 reg = <0x0000 0 0 0 0>;
75                                 device_type = "pci";
76                                 mediatek,mtd-eeprom = <&factory 0x0000>;
77                                 mediatek,5ghz = <0>;
78                         };
79                 };
80         };
81 };