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>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
88 compatible = "denx,uimage";
90 reg = <0x50000 0xf60000>;
94 label = "user-config";
95 reg = <0xfb0000 0x50000>;
110 nvmem-cells = <&macaddr_factory_4>;
111 nvmem-cell-names = "mac-address";
113 mediatek,portmap = "wllll";
117 ralink,mtd-eeprom = <&factory 0x0>;
122 groups = "i2c", "ephy", "wled";
128 compatible = "nvmem-cells";
129 #address-cells = <1>;
132 macaddr_factory_4: macaddr@4 {