3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "comfast,cf-wr800n", "ralink,mt7620n-soc";
10 model = "Comfast CF-WR800N";
13 bootargs = "console=ttyS0,115200";
17 compatible = "gpio-leds";
20 label = "cf-wr800n:white:ethernet";
21 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
25 label = "cf-wr800n:white:wifi";
26 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
30 label = "cf-wr800n:white:wps";
31 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <10000000>;
83 reg = <0x30000 0x10000>;
87 factory: partition@40000 {
89 reg = <0x40000 0x10000>;
95 reg = <0x50000 0x7b0000>;
101 mtd-mac-address = <&factory 0x4>;
105 ralink,mtd-eeprom = <&factory 0>;
109 state_default: pinctrl0 {
111 ralink,group = "ephy", "wled", "spi refclk", "i2c";
112 ralink,function = "gpio";