1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "dovado,tiny-ac", "ralink,mt7620a-soc";
9 model = "Dovado Tiny AC";
12 compatible = "gpio-leds";
15 function = LED_FUNCTION_USB;
16 color = <LED_COLOR_ID_GREEN>;
17 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
18 trigger-sources = <&ohci_port1>, <&ehci_port1>;
19 linux,default-trigger = "usbport";
23 label = "orange:wifi";
24 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys";
33 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
39 compatible = "gpio-export";
43 gpio-export,name = "usbpower";
44 gpio-export,output = <1>;
45 gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <10000000>;
67 compatible = "fixed-partitions";
79 reg = <0x30000 0x10000>;
85 reg = <0x40000 0x10000>;
89 compatible = "fixed-layout";
93 eeprom_factory_8000: eeprom@8000 {
100 compatible = "denx,uimage";
102 reg = <0x50000 0x7b0000>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
120 mediatek,portmap = "llllw";
125 phy-handle = <&phy4>;
131 phy-handle = <&phy5>;
137 phy4: ethernet-phy@4 {
142 phy5: ethernet-phy@5 {
151 mediatek,ephy-base = /bits/ 8 <8>;
160 groups = "uartf", "nd_sd", "wled";
167 reg = <0x0000 0 0 0 0>;
168 nvmem-cells = <&eeprom_factory_8000>;
169 nvmem-cell-names = "eeprom";
170 ieee80211-freq-limit = <5000000 6000000>;