5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "firefly,firewrt", "mediatek,mt7621-soc";
10 model = "Firefly FireWRT";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 bootargs = "console=ttyS0,57600";
24 compatible = "gpio-leds";
27 label = "firewrt:green:power";
28 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
33 compatible = "gpio-keys";
37 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_WPS_BUTTON>;
43 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_POWER>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
62 compatible = "fixed-partitions";
74 reg = <0x30000 0x10000>;
78 factory: partition@40000 {
80 reg = <0x40000 0x10000>;
85 compatible = "denx,uimage";
87 reg = <0x50000 0xfb0000>;
99 reg = <0x0000 0 0 0 0>;
100 mediatek,mtd-eeprom = <&factory 0x8000>;
101 ieee80211-freq-limit = <5000000 6000000>;
107 reg = <0x0000 0 0 0 0>;
108 mediatek,mtd-eeprom = <&factory 0x0000>;
109 ieee80211-freq-limit = <2400000 2500000>;
114 mtd-mac-address = <&factory 0xe000>;
118 state_default: pinctrl0 {
120 ralink,group = "wdt", "rgmii2";
121 ralink,function = "gpio";