1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
9 led-failsafe = &led_blue;
10 led-running = &led_blue;
11 led-upgrade = &led_blue;
15 compatible = "gpio-keys";
19 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>;
25 compatible = "gpio-leds";
28 label = "blue:status";
29 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
34 label = "yellow:status";
35 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
40 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
49 compatible = "jedec,spi-nor";
51 spi-max-frequency = <80000000>;
54 partitions: partitions {
55 compatible = "fixed-partitions";
67 reg = <0x30000 0x10000>;
71 factory: partition@40000 {
73 reg = <0x40000 0x10000>;
77 compatible = "fixed-layout";
81 eeprom_factory_0: eeprom@0 {
85 eeprom_factory_8000: eeprom@8000 {
89 macaddr_factory_28: macaddr@28 {
100 groups = "i2c", "uartf";
111 reg = <0x0000 0 0 0 0>;
112 nvmem-cells = <&eeprom_factory_8000>;
113 nvmem-cell-names = "eeprom";
114 ieee80211-freq-limit = <5000000 6000000>;
119 nvmem-cells = <&macaddr_factory_28>;
120 nvmem-cell-names = "mac-address";
124 nvmem-cells = <&eeprom_factory_0>;
125 nvmem-cell-names = "eeprom";