3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zte,q7", "ralink,mt7620a-soc";
13 led-boot = &led_status_blue;
14 led-failsafe = &led_status_blue;
15 led-running = &led_status_blue;
16 led-upgrade = &led_status_blue;
20 compatible = "gpio-leds";
23 label = "zte-q7:red:status";
24 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
27 led_status_blue: statblue {
28 label = "zte-q7:blue:status";
29 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-keys-polled";
39 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
62 compatible = "fixed-partitions";
74 reg = <0x30000 0x10000>;
78 factory: partition@40000 {
80 reg = <0x40000 0x10000>;
85 compatible = "denx,uimage";
87 reg = <0x50000 0x7b0000>;
94 state_default: pinctrl0 {
96 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled";
97 ralink,function = "gpio";
103 mtd-mac-address = <&factory 0x4>;
104 mediatek,portmap = "wllll";
108 ralink,mtd-eeprom = <&factory 0>;
124 mediatek,port4 = "ephy";