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>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
59 compatible = "fixed-partitions";
71 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
83 reg = <0x50000 0xfb0000>;
98 mtd-mac-address = <&factory 0x4>;
102 ralink,mtd-eeprom = <&factory 0>;
106 state_default: pinctrl0 {
108 ralink,group = "ephy", "wled";
109 ralink,function = "gpio";