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>;
79 compatible = "denx,uimage";
81 reg = <0x50000 0xfb0000>;
93 reg = <0x0000 0 0 0 0>;
94 mediatek,mtd-eeprom = <&factory 0x8000>;
95 ieee80211-freq-limit = <5000000 6000000>;
101 reg = <0x0000 0 0 0 0>;
102 mediatek,mtd-eeprom = <&factory 0x0000>;
103 ieee80211-freq-limit = <2400000 2500000>;
108 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
112 nvmem-cells = <&macaddr_factory_e000>;
113 nvmem-cell-names = "mac-address";
141 nvmem-cells = <&macaddr_factory_e000>;
142 nvmem-cell-names = "mac-address";
143 mac-address-increment = <1>;
150 groups = "wdt", "rgmii2";
156 compatible = "nvmem-cells";
157 #address-cells = <1>;
160 macaddr_factory_e000: macaddr@e000 {