3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "mtc,wr1201", "mediatek,mt7621-soc";
8 model = "MTC Wireless Router WR1201";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
15 label-mac-device = &gmac0;
19 compatible = "gpio-leds";
22 label = "green:power";
23 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
28 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
29 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
30 linux,default-trigger = "usbport";
34 label = "green:eth_link";
35 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
40 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys";
49 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
59 compatible = "jedec,spi-nor";
61 spi-max-frequency = <10000000>;
64 compatible = "fixed-partitions";
76 reg = <0x30000 0x10000>;
80 factory: partition@40000 {
82 reg = <0x40000 0x10000>;
87 compatible = "denx,uimage";
89 reg = <0x50000 0xfa0000>;
93 label = "Second_Config";
94 reg = <0xff0000 0x10000>;
102 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
106 nvmem-cells = <&macaddr_factory_4>;
107 nvmem-cell-names = "mac-address";
135 nvmem-cells = <&macaddr_factory_4>;
136 nvmem-cell-names = "mac-address";
137 mac-address-increment = <1>;
152 reg = <0x0000 0 0 0 0>;
153 mediatek,mtd-eeprom = <&factory 0x8000>;
154 ieee80211-freq-limit = <5000000 6000000>;
165 reg = <0x0000 0 0 0 0>;
166 mediatek,mtd-eeprom = <&factory 0x0000>;
167 ieee80211-freq-limit = <2400000 2500000>;
184 compatible = "nvmem-cells";
185 #address-cells = <1>;
188 macaddr_factory_4: macaddr@4 {