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";
38 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <10000000>;
61 compatible = "fixed-partitions";
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
79 reg = <0x40000 0x10000>;
84 compatible = "denx,uimage";
86 reg = <0x50000 0x7b0000>;
94 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled";
95 ralink,function = "gpio";
100 mtd-mac-address = <&factory 0x4>;
101 mediatek,portmap = "wllll";
105 ralink,mtd-eeprom = <&factory 0>;
121 mediatek,port4 = "ephy";