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-polled";
38 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_WPS_BUTTON>;
44 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_POWER>;
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <10000000>;
63 compatible = "fixed-partitions";
75 reg = <0x30000 0x10000>;
79 factory: partition@40000 {
81 reg = <0x40000 0x10000>;
86 compatible = "denx,uimage";
88 reg = <0x50000 0xfb0000>;
100 reg = <0x0000 0 0 0 0>;
101 mediatek,mtd-eeprom = <&factory 0x8000>;
102 ieee80211-freq-limit = <5000000 6000000>;
108 reg = <0x0000 0 0 0 0>;
109 mediatek,mtd-eeprom = <&factory 0x0000>;
110 ieee80211-freq-limit = <2400000 2500000>;
115 mtd-mac-address = <&factory 0xe000>;
119 state_default: pinctrl0 {
121 ralink,group = "wdt", "rgmii2";
122 ralink,function = "gpio";