1 #include "mt7628an.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "mercury,mac1200r-v2", "mediatek,mt7628an-soc";
9 model = "Mercury MAC1200R v2";
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_STATUS;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
33 compatible = "jedec,spi-nor";
35 spi-max-frequency = <10000000>;
38 compatible = "fixed-partitions";
48 label = "factory_info";
49 reg = <0x1d800 0x800>;
53 compatible = "fixed-layout";
57 eeprom_factory_0: eeprom@0 {
61 macaddr_factory_d: macaddr@d {
69 reg = <0x1e000 0x2000>;
73 compatible = "fixed-layout";
77 eeprom_art_1000: eeprom@1000 {
85 reg = <0x20000 0x10000>;
90 reg = <0x30000 0x10000>;
94 compatible = "denx,uimage";
96 reg = <0x40000 0x7c0000>;
103 pinctrl-names = "default";
104 nvmem-cells = <&macaddr_factory_d>;
105 nvmem-cell-names = "mac-address";
109 mediatek,portmap = <0x2f>;
115 nvmem-cells = <&eeprom_factory_0>;
116 nvmem-cell-names = "eeprom";
125 reg = <0x0000 0 0 0 0>;
126 nvmem-cells = <&eeprom_art_1000>;
127 nvmem-cell-names = "eeprom";
128 ieee80211-freq-limit = <5000000 6000000>;