5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "mtc,wr1201", "mediatek,mt7621-soc";
10 model = "MTC Wireless Router WR1201";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
17 label-mac-device = &gmac0;
21 compatible = "gpio-leds";
24 label = "wr1201:green:power";
25 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
29 label = "wr1201:green:usb";
30 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
31 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
32 linux,default-trigger = "usbport";
36 label = "wr1201:green:eth_link";
37 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
41 label = "wr1201:green:wps";
42 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
47 compatible = "gpio-keys";
51 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
66 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
84 reg = <0x40000 0x10000>;
89 compatible = "denx,uimage";
91 reg = <0x50000 0xfa0000>;
95 label = "Second_Config";
96 reg = <0xff0000 0x10000>;
104 mtd-mac-address = <&factory 0x4>;
132 mtd-mac-address = <&factory 0x4>;
133 mtd-mac-address-increment = <1>;
148 reg = <0x0000 0 0 0 0>;
149 mediatek,mtd-eeprom = <&factory 0x8000>;
150 ieee80211-freq-limit = <5000000 6000000>;
161 reg = <0x0000 0 0 0 0>;
162 mediatek,mtd-eeprom = <&factory 0x0000>;
163 ieee80211-freq-limit = <2400000 2500000>;