1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zte,q7", "ralink,mt7620a-soc";
11 led-boot = &led_status_blue;
12 led-failsafe = &led_status_blue;
13 led-running = &led_status_blue;
14 led-upgrade = &led_status_blue;
18 compatible = "gpio-leds";
22 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
25 led_status_blue: statblue {
26 label = "blue:status";
27 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys";
36 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <10000000>;
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 macaddr_factory_4: macaddr@4 {
89 compatible = "denx,uimage";
91 reg = <0x50000 0x7b0000>;
99 groups = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled";
105 nvmem-cells = <&macaddr_factory_4>;
106 nvmem-cell-names = "mac-address";
108 mediatek,portmap = "wllll";
112 nvmem-cells = <&eeprom_factory_0>;
113 nvmem-cell-names = "eeprom";