1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
10 led-failsafe = &led_blue;
11 led-running = &led_blue;
12 led-upgrade = &led_blue;
16 compatible = "gpio-keys";
20 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_RESTART>;
26 compatible = "gpio-leds";
29 function = LED_FUNCTION_STATUS;
30 color = <LED_COLOR_ID_BLUE>;
31 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
36 function = LED_FUNCTION_STATUS;
37 color = <LED_COLOR_ID_YELLOW>;
38 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
42 function = LED_FUNCTION_STATUS;
43 color = <LED_COLOR_ID_RED>;
44 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
53 compatible = "jedec,spi-nor";
55 spi-max-frequency = <80000000>;
58 partitions: partitions {
59 compatible = "fixed-partitions";
71 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
81 compatible = "fixed-layout";
85 eeprom_factory_0: eeprom@0 {
89 eeprom_factory_8000: eeprom@8000 {
93 macaddr_factory_28: macaddr@28 {
104 groups = "i2c", "uartf";
115 reg = <0x0000 0 0 0 0>;
116 nvmem-cells = <&eeprom_factory_8000>;
117 nvmem-cell-names = "eeprom";
118 ieee80211-freq-limit = <5000000 6000000>;
123 nvmem-cells = <&macaddr_factory_28>;
124 nvmem-cell-names = "mac-address";
128 nvmem-cells = <&eeprom_factory_0>;
129 nvmem-cell-names = "eeprom";