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 led-status = &led_wifi;
17 compatible = "gpio-keys-polled";
22 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 compatible = "gpio-leds";
31 label = "u35wf:blue:wifi";
32 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
36 label = "u35wf:green:eth";
37 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <10000000>;
68 reg = <0x30000 0x10000>;
72 factory: partition@40000 {
74 reg = <0x40000 0x10000>;
80 reg = <0x50000 0xfb0000>;
94 mtd-mac-address = <&factory 0x4>;
98 ralink,mtd-eeprom = <&factory 0>;
102 state_default: pinctrl0 {
104 ralink,group = "ephy", "wled";
105 ralink,function = "gpio";