3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dovado,tiny-ac", "ralink,mt7620a-soc";
10 model = "Dovado Tiny AC";
13 compatible = "gpio-leds";
16 label = "tiny-ac:green:usb";
17 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
18 trigger-sources = <&ohci_port1>, <&ehci_port1>;
19 linux,default-trigger = "usbport";
23 label = "tiny-ac:orange:wifi";
24 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys";
33 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
39 compatible = "gpio-export";
43 gpio-export,name = "usbpower";
44 gpio-export,output = <1>;
45 gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <10000000>;
71 compatible = "fixed-partitions";
83 reg = <0x30000 0x10000>;
87 factory: partition@40000 {
89 reg = <0x40000 0x10000>;
94 compatible = "denx,uimage";
96 reg = <0x50000 0x7b0000>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
114 mediatek,portmap = "llllw";
119 phy-handle = <&phy4>;
125 phy-handle = <&phy5>;
131 phy4: ethernet-phy@4 {
136 phy5: ethernet-phy@5 {
144 mediatek,port4 = "gmac";
153 groups = "uartf", "nd_sd", "wled";
160 reg = <0x0000 0 0 0 0>;
161 mediatek,mtd-eeprom = <&factory 0x8000>;
162 ieee80211-freq-limit = <5000000 6000000>;