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";
42 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_WPS_BUTTON>;
48 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_POWER>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <10000000>;
67 m25p,chunked-io = <32>;
77 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
89 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";