3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "elecom,wrh-300cr", "ralink,mt7620n-soc";
10 model = "ELECOM WRH-300CR";
14 led-failsafe = &led_wps;
15 led-running = &led_wps;
16 led-upgrade = &led_wps;
20 compatible = "gpio-leds";
23 label = "wrh-300cr:green:wps";
24 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
28 label = "wrh-300cr:green:ethernet";
29 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
33 label = "wrh-300cr:green:wlan";
34 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_WPS_BUTTON>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <10000000>;
76 compatible = "fixed-partitions";
88 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
99 reg = <0x50000 0x1c0000>;
104 compatible = "denx,uimage";
106 reg = <0x210000 0xdf0000>;
121 mtd-mac-address = <&factory 0x2e>;
123 mediatek,portmap = "llllw";
127 ralink,mtd-eeprom = <&factory 0x0>;
132 groups = "i2c", "ephy", "wled";