3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "kimax,u35wf","ralink,mt7620n-soc";
10 model = "Kimax U35WF";
13 compatible = "gpio-keys-polled";
20 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_RESTART>;
26 compatible = "gpio-leds";
29 label = "u35wf:blue:wifi";
30 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
34 label = "u35wf:green:eth";
35 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
66 reg = <0x30000 0x10000>;
70 factory: partition@40000 {
72 reg = <0x40000 0x10000>;
78 reg = <0x50000 0xfb0000>;
92 mtd-mac-address = <&factory 0x4>;
96 ralink,mtd-eeprom = <&factory 0>;
100 state_default: pinctrl0 {
102 ralink,group = "ephy", "wled";
103 ralink,function = "gpio";