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 {
72 compatible = "nvmem-cells";
74 reg = <0x40000 0x10000>;
79 eeprom_factory_0: eeprom@0 {
83 eeprom_factory_8000: eeprom@8000 {
87 macaddr_factory_28: macaddr@28 {
97 groups = "i2c", "uartf";
108 reg = <0x0000 0 0 0 0>;
109 nvmem-cells = <&eeprom_factory_8000>;
110 nvmem-cell-names = "eeprom";
111 ieee80211-freq-limit = <5000000 6000000>;
116 nvmem-cells = <&macaddr_factory_28>;
117 nvmem-cell-names = "mac-address";
121 nvmem-cells = <&eeprom_factory_0>;
122 nvmem-cell-names = "eeprom";