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";
39 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
46 compatible = "gpio-export";
50 gpio-export,name = "usbpower";
51 gpio-export,output = <1>;
52 gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <10000000>;
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
99 reg = <0x50000 0x7b0000>;
114 pinctrl-names = "default";
115 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
116 mediatek,portmap = "llllw";
121 phy-handle = <&phy4>;
127 phy-handle = <&phy5>;
133 phy4: ethernet-phy@4 {
138 phy5: ethernet-phy@5 {
146 mediatek,port4 = "gmac";
147 mediatek,mt7530 = <1>;
155 state_default: pinctrl0 {
157 ralink,group = "uartf", "nd_sd", "wled";
158 ralink,function = "gpio";