1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "elecom,wrh-300cr", "ralink,mt7620n-soc";
8 model = "ELECOM WRH-300CR";
12 led-failsafe = &led_wps;
13 led-running = &led_wps;
14 led-upgrade = &led_wps;
18 compatible = "gpio-leds";
21 label = "wrh-300cr:green:wps";
22 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
26 label = "wrh-300cr:green:ethernet";
27 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
31 label = "wrh-300cr:green:wlan";
32 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-keys";
41 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
47 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <10000000>;
74 compatible = "fixed-partitions";
86 reg = <0x30000 0x10000>;
89 factory: partition@40000 {
91 reg = <0x40000 0x10000>;
97 reg = <0x50000 0x1c0000>;
102 compatible = "denx,uimage";
104 reg = <0x210000 0xdf0000>;
119 mtd-mac-address = <&factory 0x2e>;
121 mediatek,portmap = "llllw";
125 ralink,mtd-eeprom = <&factory 0x0>;
130 groups = "i2c", "ephy", "wled";