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 {
73 reg = <0x40000 0x10000>;
78 compatible = "denx,uimage";
80 reg = <0x50000 0x7b0000>;
88 groups = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled";
94 mtd-mac-address = <&factory 0x4>;
96 mediatek,portmap = "wllll";
100 ralink,mtd-eeprom = <&factory 0x0>;
116 mediatek,port4 = "ephy";