1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "kimax,u25awf-h1","ralink,mt7620a-soc";
9 model = "Kimax U25AWF-H1";
13 led-failsafe = &led_wifi;
14 led-running = &led_wifi;
15 led-upgrade = &led_wifi;
19 compatible = "gpio-keys";
23 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_RESTART>;
29 compatible = "gpio-leds";
33 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
37 function = LED_FUNCTION_LAN;
38 color = <LED_COLOR_ID_GREEN>;
39 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <10000000>;
61 compatible = "fixed-partitions";
73 reg = <0x30000 0x10000>;
79 reg = <0x40000 0x10000>;
83 compatible = "fixed-layout";
87 eeprom_factory_0: eeprom@0 {
91 macaddr_factory_4: macaddr@4 {
98 compatible = "denx,uimage";
100 reg = <0x50000 0xfb0000>;
115 nvmem-cells = <&macaddr_factory_4>;
116 nvmem-cell-names = "mac-address";
120 nvmem-cells = <&eeprom_factory_0>;
121 nvmem-cell-names = "eeprom";
126 groups = "uartf", "ephy", "wled";