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-polled";
38 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
44 compatible = "gpio-export";
48 gpio-export,name = "usbpower";
49 gpio-export,output = <1>;
50 gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <10000000>;
76 compatible = "fixed-partitions";
88 reg = <0x30000 0x10000>;
92 factory: partition@40000 {
94 reg = <0x40000 0x10000>;
99 compatible = "denx,uimage";
101 reg = <0x50000 0x7b0000>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
119 mediatek,portmap = "llllw";
124 phy-handle = <&phy4>;
130 phy-handle = <&phy5>;
136 phy4: ethernet-phy@4 {
141 phy5: ethernet-phy@5 {
149 mediatek,port4 = "gmac";
157 state_default: pinctrl0 {
159 ralink,group = "uartf", "nd_sd", "wled";
160 ralink,function = "gpio";
167 reg = <0x0000 0 0 0 0>;
168 mediatek,mtd-eeprom = <&factory 0x8000>;
169 ieee80211-freq-limit = <5000000 6000000>;