1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "kingston,mlw221", "ralink,mt7620n-soc";
8 model = "Kingston MLW221";
11 led-boot = &led_system;
12 led-failsafe = &led_system;
13 led-running = &led_system;
14 led-upgrade = &led_system;
18 compatible = "gpio-leds";
21 label = "blue:system";
22 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys";
36 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RFKILL>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <10000000>;
65 compatible = "fixed-partitions";
77 reg = <0x30000 0x10000>;
83 reg = <0x40000 0x10000>;
87 compatible = "fixed-layout";
91 eeprom_factory_0: eeprom@0 {
95 macaddr_factory_4: macaddr@4 {
102 compatible = "denx,uimage";
104 reg = <0x50000 0xf60000>;
108 label = "user-config";
109 reg = <0xfb0000 0x50000>;
124 nvmem-cells = <&macaddr_factory_4>;
125 nvmem-cell-names = "mac-address";
127 mediatek,portmap = "wllll";
131 nvmem-cells = <&eeprom_factory_0>;
132 nvmem-cell-names = "eeprom";
137 groups = "i2c", "ephy", "wled";