1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "buffalo,wmr-300", "ralink,mt7620n-soc";
8 model = "Buffalo WMR-300";
11 led-boot = &led_status;
12 led-failsafe = &led_status;
13 led-running = &led_status;
14 led-upgrade = &led_status;
18 compatible = "gpio-leds";
22 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
31 label = "green:status";
32 gpios = <&gpio2 4 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>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
66 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
84 reg = <0x40000 0x10000>;
89 compatible = "denx,uimage";
91 reg = <0x50000 0x7b0000>;
98 nvmem-cells = <&macaddr_factory_4>;
99 nvmem-cell-names = "mac-address";
101 mediatek,portmap = "wllll";
105 ralink,mtd-eeprom = <&factory 0x0>;
110 groups = "i2c", "ephy";
116 compatible = "nvmem-cells";
117 #address-cells = <1>;
120 macaddr_factory_4: macaddr@4 {