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 compatible = "gpio-leds";
16 label = "zte-q7:red:status";
17 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
21 label = "zte-q7:blue:status";
22 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys-polled";
34 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
66 reg = <0x30000 0x10000>;
70 factory: partition@40000 {
72 reg = <0x40000 0x10000>;
78 reg = <0x50000 0x7b0000>;
84 state_default: pinctrl0 {
86 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
87 ralink,function = "gpio";
93 mtd-mac-address = <&factory 0x4>;
94 mediatek,portmap = "wllll";
98 ralink,mtd-eeprom = <&factory 0>;
114 mediatek,port4 = "ephy";