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";
21 label = "zte-q7:red:status";
22 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
25 led_status_blue: statblue {
26 label = "zte-q7: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>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
59 compatible = "fixed-partitions";
71 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
82 compatible = "denx,uimage";
84 reg = <0x50000 0x7b0000>;
92 groups = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled";
98 mtd-mac-address = <&factory 0x4>;
100 mediatek,portmap = "wllll";
104 ralink,mtd-eeprom = <&factory 0x0>;
120 mediatek,port4 = "ephy";