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";
14 led-failsafe = &led_wps;
15 led-running = &led_wps;
16 led-upgrade = &led_wps;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
27 label = "cf-wr800n:white:ethernet";
28 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
32 label = "cf-wr800n:white:wifi";
33 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
37 label = "cf-wr800n:white:wps";
38 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys";
47 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <10000000>;
78 compatible = "fixed-partitions";
90 reg = <0x30000 0x10000>;
94 factory: partition@40000 {
96 reg = <0x40000 0x10000>;
101 compatible = "denx,uimage";
103 reg = <0x50000 0x7b0000>;
110 mtd-mac-address = <&factory 0x4>;
114 ralink,mtd-eeprom = <&factory 0>;
118 state_default: pinctrl0 {
120 ralink,group = "ephy", "wled", "spi refclk", "i2c";
121 ralink,function = "gpio";