3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "firefly,firewrt", "mediatek,mt7621-soc";
8 model = "Firefly FireWRT";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
21 label = "green:power";
22 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys";
31 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_WPS_BUTTON>;
37 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_POWER>;
51 compatible = "jedec,spi-nor";
53 spi-max-frequency = <10000000>;
56 compatible = "fixed-partitions";
68 reg = <0x30000 0x10000>;
72 factory: partition@40000 {
74 reg = <0x40000 0x10000>;
78 compatible = "fixed-layout";
82 eeprom_factory_0: eeprom@0 {
86 eeprom_factory_8000: eeprom@8000 {
90 macaddr_factory_e000: macaddr@e000 {
97 compatible = "denx,uimage";
99 reg = <0x50000 0xfb0000>;
111 reg = <0x0000 0 0 0 0>;
112 nvmem-cells = <&eeprom_factory_8000>;
113 nvmem-cell-names = "eeprom";
114 ieee80211-freq-limit = <5000000 6000000>;
120 reg = <0x0000 0 0 0 0>;
121 nvmem-cells = <&eeprom_factory_0>;
122 nvmem-cell-names = "eeprom";
123 ieee80211-freq-limit = <2400000 2500000>;
128 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
132 nvmem-cells = <&macaddr_factory_e000>;
133 nvmem-cell-names = "mac-address";
161 nvmem-cells = <&macaddr_factory_e000>;
162 nvmem-cell-names = "mac-address";
163 mac-address-increment = <1>;
170 groups = "wdt", "rgmii2";