ramips: drop redundant chosen/bootargs
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_mercury_mac1200r-v2.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 aliases {
13 led-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
17 };
18
19 leds {
20 compatible = "gpio-leds";
21
22 led_status: status {
23 label = "mac1200rv2:green:status";
24 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
25 };
26 };
27 };
28
29 &spi0 {
30 status = "okay";
31
32 flash@0 {
33 compatible = "jedec,spi-nor";
34 reg = <0>;
35 spi-max-frequency = <10000000>;
36
37 partitions {
38 compatible = "fixed-partitions";
39 #address-cells = <1>;
40 #size-cells = <1>;
41
42 partition@0 {
43 label = "u-boot";
44 reg = <0x0 0x1d800>;
45 };
46
47 factory: partition@1d800 {
48 label = "factory_info";
49 reg = <0x1d800 0x800>;
50 read-only;
51 };
52
53 art: partition@1e000 {
54 label = "art";
55 reg = <0x1e000 0x2000>;
56 read-only;
57 };
58
59 partition@20000 {
60 label = "config";
61 reg = <0x20000 0x10000>;
62 };
63
64 partition@30000 {
65 label = "u-boot2";
66 reg = <0x30000 0x10000>;
67 };
68
69 partition@40000 {
70 compatible = "denx,uimage";
71 label = "firmware";
72 reg = <0x40000 0x7c0000>;
73 };
74 };
75 };
76 };
77
78 &ethernet {
79 pinctrl-names = "default";
80 mtd-mac-address = <&factory 0xd>;
81 };
82
83 &esw {
84 mediatek,portmap = <0x2f>;
85 };
86
87 &wmac {
88 status = "okay";
89 ralink,mtd-eeprom = <&art 0x0>;
90 };
91
92 &pcie {
93 status = "okay";
94 };
95
96 &pcie0 {
97 mt76@0,0 {
98 reg = <0x0000 0 0 0 0>;
99 mediatek,mtd-eeprom = <&art 0x1000>;
100 ieee80211-freq-limit = <5000000 6000000>;
101 };
102 };