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