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>
8 compatible = "zte,q7", "ralink,mt7620a-soc";
12 led-boot = &led_status_blue;
13 led-failsafe = &led_status_blue;
14 led-running = &led_status_blue;
15 led-upgrade = &led_status_blue;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_STATUS;
23 color = <LED_COLOR_ID_RED>;
24 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
27 led_status_blue: statblue {
28 function = LED_FUNCTION_STATUS;
29 color = <LED_COLOR_ID_BLUE>;
30 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys";
39 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
53 compatible = "jedec,spi-nor";
55 spi-max-frequency = <10000000>;
58 compatible = "fixed-partitions";
70 reg = <0x30000 0x10000>;
74 factory: partition@40000 {
76 reg = <0x40000 0x10000>;
80 compatible = "fixed-layout";
84 eeprom_factory_0: eeprom@0 {
88 macaddr_factory_4: macaddr@4 {
95 compatible = "denx,uimage";
97 reg = <0x50000 0x7b0000>;
105 groups = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled";
111 nvmem-cells = <&macaddr_factory_4>;
112 nvmem-cell-names = "mac-address";
114 mediatek,portmap = "wllll";
118 nvmem-cells = <&eeprom_factory_0>;
119 nvmem-cell-names = "eeprom";