3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "kimax,u25awf-h1","ralink,mt7620a-soc";
10 model = "Kimax U25AWF-H1";
13 led-status = &led_wifi;
17 compatible = "gpio-keys-polled";
24 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
30 compatible = "gpio-leds";
33 label = "u25awf:red:wifi";
34 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
38 label = "u25awf:green:lan";
39 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <10000000>;
70 reg = <0x30000 0x10000>;
74 factory: partition@40000 {
76 reg = <0x40000 0x10000>;
82 reg = <0x50000 0xfb0000>;
96 mtd-mac-address = <&factory 0x4>;
100 ralink,mtd-eeprom = <&factory 0>;
104 state_default: pinctrl0 {
106 ralink,group = "uartf", "ephy", "wled";
107 ralink,function = "gpio";