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 {
81 compatible = "nvmem-cells";
83 reg = <0x40000 0x10000>;
88 eeprom_factory_0: eeprom@0 {
92 eeprom_factory_8000: eeprom@8000 {
96 macaddr_factory_4: macaddr@4 {
102 compatible = "denx,uimage";
104 reg = <0x50000 0xfa0000>;
108 label = "Second_Config";
109 reg = <0xff0000 0x10000>;
117 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
121 nvmem-cells = <&macaddr_factory_4>;
122 nvmem-cell-names = "mac-address";
150 nvmem-cells = <&macaddr_factory_4>;
151 nvmem-cell-names = "mac-address";
152 mac-address-increment = <1>;
167 reg = <0x0000 0 0 0 0>;
168 ieee80211-freq-limit = <5000000 6000000>;
169 nvmem-cells = <&eeprom_factory_8000>;
170 nvmem-cell-names = "eeprom";
181 reg = <0x0000 0 0 0 0>;
182 ieee80211-freq-limit = <2400000 2500000>;
183 nvmem-cells = <&eeprom_factory_0>;
184 nvmem-cell-names = "eeprom";