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>;
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>;
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";
156 state_default: pinctrl0 {
158 ralink,group = "uartf", "nd_sd", "wled";
159 ralink,function = "gpio";