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-status = &led_power;
17 device_type = "memory";
18 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-leds";
29 label = "firewrt:green:power";
30 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_WPS_BUTTON>;
46 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_POWER>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <10000000>;
63 m25p,chunked-io = <32>;
66 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
84 reg = <0x40000 0x10000>;
90 reg = <0x50000 0xfb0000>;
102 reg = <0x0000 0 0 0 0>;
103 mediatek,mtd-eeprom = <&factory 0x8000>;
104 ieee80211-freq-limit = <5000000 6000000>;
110 reg = <0x0000 0 0 0 0>;
111 mediatek,mtd-eeprom = <&factory 0x0000>;
112 ieee80211-freq-limit = <2400000 2500000>;
117 mtd-mac-address = <&factory 0xe000>;
121 state_default: pinctrl0 {
123 ralink,group = "wdt", "rgmii2";
124 ralink,function = "gpio";