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 device_type = "memory";
14 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
18 bootargs = "console=ttyS0,57600";
22 compatible = "gpio-leds";
25 label = "firewrt:green:power";
26 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
31 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>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <10000000>;
63 m25p,chunked-io = <32>;
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
79 reg = <0x40000 0x10000>;
85 reg = <0x50000 0xfb0000>;
95 reg = <0x0000 0 0 0 0>;
97 mediatek,mtd-eeprom = <&factory 0x8000>;
98 ieee80211-freq-limit = <5000000 6000000>;
104 reg = <0x0000 0 0 0 0>;
106 mediatek,mtd-eeprom = <&factory 0x0000>;
107 ieee80211-freq-limit = <2400000 2500000>;
113 mtd-mac-address = <&factory 0xe000>;
117 state_default: pinctrl0 {
119 ralink,group = "wdt", "rgmii2";
120 ralink,function = "gpio";