1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "comfast,cf-wr800n", "ralink,mt7620n-soc";
9 model = "Comfast CF-WR800N";
13 led-failsafe = &led_wps;
14 led-running = &led_wps;
15 led-upgrade = &led_wps;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-leds";
26 label = "white:ethernet";
27 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
36 function = LED_FUNCTION_WPS;
37 color = <LED_COLOR_ID_WHITE>;
38 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys";
47 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <10000000>;
74 compatible = "fixed-partitions";
86 reg = <0x30000 0x10000>;
90 factory: partition@40000 {
92 reg = <0x40000 0x10000>;
96 compatible = "fixed-layout";
100 eeprom_factory_0: eeprom@0 {
104 macaddr_factory_4: macaddr@4 {
111 compatible = "denx,uimage";
113 reg = <0x50000 0x7b0000>;
120 nvmem-cells = <&macaddr_factory_4>;
121 nvmem-cell-names = "mac-address";
125 nvmem-cells = <&eeprom_factory_0>;
126 nvmem-cell-names = "eeprom";
131 groups = "ephy", "wled", "spi refclk", "i2c";