3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "firefly,firewrt", "mediatek,mt7621-soc";
9 model = "Firefly FireWRT";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_POWER;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys";
33 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_WPS_BUTTON>;
39 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_POWER>;
53 compatible = "jedec,spi-nor";
55 spi-max-frequency = <10000000>;
58 compatible = "fixed-partitions";
70 reg = <0x30000 0x10000>;
74 factory: partition@40000 {
76 reg = <0x40000 0x10000>;
80 compatible = "fixed-layout";
84 eeprom_factory_0: eeprom@0 {
88 eeprom_factory_8000: eeprom@8000 {
92 macaddr_factory_e000: macaddr@e000 {
93 compatible = "mac-base";
95 #nvmem-cell-cells = <1>;
101 compatible = "denx,uimage";
103 reg = <0x50000 0xfb0000>;
115 reg = <0x0000 0 0 0 0>;
116 nvmem-cells = <&eeprom_factory_8000>;
117 nvmem-cell-names = "eeprom";
118 ieee80211-freq-limit = <5000000 6000000>;
124 reg = <0x0000 0 0 0 0>;
125 nvmem-cells = <&eeprom_factory_0>;
126 nvmem-cell-names = "eeprom";
127 ieee80211-freq-limit = <2400000 2500000>;
132 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
136 nvmem-cells = <&macaddr_factory_e000 0>;
137 nvmem-cell-names = "mac-address";
165 nvmem-cells = <&macaddr_factory_e000 1>;
166 nvmem-cell-names = "mac-address";
173 groups = "wdt", "rgmii2";