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 {
73 compatible = "nvmem-cells";
75 reg = <0x40000 0x10000>;
80 eeprom_factory_0: eeprom@0 {
84 eeprom_factory_8000: eeprom@8000 {
88 macaddr_factory_e000: macaddr@e000 {
94 compatible = "denx,uimage";
96 reg = <0x50000 0xfb0000>;
108 reg = <0x0000 0 0 0 0>;
109 nvmem-cells = <&eeprom_factory_8000>;
110 nvmem-cell-names = "eeprom";
111 ieee80211-freq-limit = <5000000 6000000>;
117 reg = <0x0000 0 0 0 0>;
118 nvmem-cells = <&eeprom_factory_0>;
119 nvmem-cell-names = "eeprom";
120 ieee80211-freq-limit = <2400000 2500000>;
125 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
129 nvmem-cells = <&macaddr_factory_e000>;
130 nvmem-cell-names = "mac-address";
158 nvmem-cells = <&macaddr_factory_e000>;
159 nvmem-cell-names = "mac-address";
160 mac-address-increment = <1>;
167 groups = "wdt", "rgmii2";