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";
22 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
26 label = "green:ethernet";
27 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
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>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <10000000>;
70 compatible = "fixed-partitions";
82 reg = <0x30000 0x10000>;
85 factory: partition@40000 {
87 reg = <0x40000 0x10000>;
93 reg = <0x50000 0x1c0000>;
98 compatible = "denx,uimage";
100 reg = <0x210000 0xdf0000>;
115 nvmem-cells = <&macaddr_factory_2e>;
116 nvmem-cell-names = "mac-address";
118 mediatek,portmap = "llllw";
122 ralink,mtd-eeprom = <&factory 0x0>;
127 groups = "i2c", "ephy", "wled";
133 compatible = "nvmem-cells";
134 #address-cells = <1>;
137 macaddr_factory_2e: macaddr@2e {