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>;
25 label = "tiny-ac:orange:wifi";
26 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys-polled";
37 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
38 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>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <10000000>;
85 reg = <0x30000 0x10000>;
89 factory: partition@40000 {
91 reg = <0x40000 0x10000>;
97 reg = <0x50000 0x7b0000>;
112 pinctrl-names = "default";
113 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";
145 mediatek,mt7530 = <1>;
153 state_default: pinctrl0 {
155 ralink,group = "uartf", "nd_sd", "wled";
156 ralink,function = "gpio";