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 bootargs = "console=ttyS0,57600";
17 compatible = "gpio-leds";
20 label = "tiny-ac:green:usb";
21 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
22 trigger-sources = <&ohci_port1>, <&ehci_port1>;
23 linux,default-trigger = "usbport";
27 label = "tiny-ac:orange:wifi";
28 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
33 compatible = "gpio-keys";
37 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
43 compatible = "gpio-export";
47 gpio-export,name = "usbpower";
48 gpio-export,output = <1>;
49 gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <10000000>;
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
98 compatible = "denx,uimage";
100 reg = <0x50000 0x7b0000>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
118 mediatek,portmap = "llllw";
123 phy-handle = <&phy4>;
129 phy-handle = <&phy5>;
135 phy4: ethernet-phy@4 {
140 phy5: ethernet-phy@5 {
148 mediatek,port4 = "gmac";
157 groups = "uartf", "nd_sd", "wled";
164 reg = <0x0000 0 0 0 0>;
165 mediatek,mtd-eeprom = <&factory 0x8000>;
166 ieee80211-freq-limit = <5000000 6000000>;