Bump version to v1.5 and start work on adding 4.19 kernel suppot
[librecmc/librecmc.git] / target / linux / ramips / dts / MAC1200RV2.dts
1 /dts-v1/;
2
3 #include "mt7628an.dtsi"
4
5 / {
6         compatible = "mercury,mac1200rv2", "mediatek,mt7628an-soc";
7         model = "Mercury MAC1200R v2";
8
9         chosen {
10                 bootargs = "console=ttyS0,57600";
11         };
12
13         memory@0 {
14                 device_type = "memory";
15                 reg = <0x0 0x2000000>;
16         };
17
18         gpio-leds {
19                 compatible = "gpio-leds";
20                 status {
21                         label = "mac1200rv2:green:status";
22                         gpios = <&gpio0 11 1>;
23                 };
24         };
25 };
26
27 &spi0 {
28         status = "okay";
29
30         m25p80@0 {
31                 #address-cells = <1>;
32                 #size-cells = <1>;
33                 compatible = "jedec,spi-nor";
34                 reg = <0 0>;
35                 spi-max-frequency = <10000000>;
36                 m25p,chunked-io = <32>;
37
38                 partition@0 {
39                         label = "u-boot";
40                         reg = <0x0 0x1d800>;
41                 };
42
43                 factory: partition@0x1d800 {
44                         label = "factory_info";
45                         reg = <0x1d800 0x800>;
46                         read-only;
47                 };
48
49                 art: partition@0x1e000 {
50                         label = "art";
51                         reg = <0x1e000 0x2000>;
52                         read-only;
53                 };
54
55                 partition@20000 {
56                         label = "config";
57                         reg = <0x20000 0x10000>;
58                 };
59
60                 partition@30000 {
61                         label = "u-boot2";
62                         reg = <0x30000 0x10000>;
63                 };
64
65                 partition@40000 {
66                         label = "firmware";
67                         reg = <0x40000 0x7c0000>;
68                 };
69         };
70 };
71
72 &ethernet {
73         pinctrl-names = "default";
74         mtd-mac-address = <&factory 0xd>;
75         ralink,port-map = "llllw";
76 };
77
78 &wmac {
79         status = "okay";
80         ralink,mtd-eeprom = <&art 0x0>;
81 };
82
83 &pcie {
84         status = "okay";
85         pcie-bridge {
86                 mt76@0,0 {
87                         reg = <0x0000 0 0 0 0>;
88                         device_type = "pci";
89                         mediatek,mtd-eeprom = <&art 0x1000>;
90                         mediatek,2ghz = <0>;
91                 };
92         };
93 };