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-status = &led_status_blue;
17 compatible = "gpio-leds";
20 label = "zte-q7:red:status";
21 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
24 led_status_blue: statblue {
25 label = "zte-q7:blue:status";
26 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys-polled";
36 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <10000000>;
68 reg = <0x30000 0x10000>;
72 factory: partition@40000 {
74 reg = <0x40000 0x10000>;
80 reg = <0x50000 0x7b0000>;
86 state_default: pinctrl0 {
88 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
89 ralink,function = "gpio";
95 mtd-mac-address = <&factory 0x4>;
96 mediatek,portmap = "wllll";
100 ralink,mtd-eeprom = <&factory 0>;
116 mediatek,port4 = "ephy";